Merge lp:~jontai/openvista-gtm-integration/bug594343 into lp:openvista-gtm-integration

Proposed by Jon Tai
Status: Merged
Merged at revision: 132
Proposed branch: lp:~jontai/openvista-gtm-integration/bug594343
Merge into: lp:openvista-gtm-integration
Diff against target: 23 lines (+3/-3)
1 file modified
scripts/usr/share/munin/plugins/openvista_processes_ (+3/-3)
To merge this branch: bzr merge lp:~jontai/openvista-gtm-integration/bug594343
Reviewer Review Type Date Requested Status
jeff.apple Approve
Review via email: mp+27551@code.launchpad.net
To post a comment you must log in.
Revision history for this message
jeff.apple (jeff-apple) wrote :

Looks good to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/usr/share/munin/plugins/openvista_processes_'
2--- scripts/usr/share/munin/plugins/openvista_processes_ 2009-12-04 21:07:51 +0000
3+++ scripts/usr/share/munin/plugins/openvista_processes_ 2010-06-14 20:54:27 +0000
4@@ -4,7 +4,7 @@
5 # OpenVista instance.
6
7
8-# Copyright (C) 2009 Medsphere Systems Corporation
9+# Copyright (C) 2009-2010 Medsphere Systems Corporation
10 #
11 # This program is free software; you can redistribute it and/or modify it solely
12 # under the terms of the GNU Affero General Public License version 3 as published
13@@ -92,8 +92,8 @@
14 cd "$root/$INSTANCE/tmp"
15
16 ss=`mumps -run THIS^%SS | tail -n +7 | head -n -2`
17- terminal=`echo "$ss" | grep -v '^$' | awk '{ print $2 }' | grep '/dev/pts' | wc -l`
18- rpc=`echo "$ss" | grep -v '^$' | awk '{ print $2 }' | grep 'CONNECTED' | wc -l`
19+ terminal=`echo "$ss" | grep -v '^$' | awk '{ print $2 " " $3 }' | grep '/dev/pts' | wc -l`
20+ rpc=`echo "$ss" | grep -v '^$' | awk '{ print $2 " " $3 }' | grep 'CONNECTED' | wc -l`
21 all=`echo "$ss" | grep -v '^$' | wc -l`
22 other=`expr $all - $terminal - $rpc`
23 echo "terminal.value $terminal"

Subscribers

People subscribed via source and target branches