Multiple ps commands
list Rich Smrcina
Would is be possible for the Hobbit client to issue the ps command once? It looks as if it is done twice now, to populate the 'Client data' page and to populate the 'procs' page. I can remove the ps command from the script that populates the 'Client data' page, but then I lose the processes count and graph data. This could be better, since processes could come and go between the time the two commands are issued. Using one command could provide a more consistent view of what is going on. -- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (XXX)XXX-XXXX Ans Service: (360)715-2467 user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006
list Henrik Størner
▸
On Sun, Jul 31, 2005 at 04:59:03PM -0500, Rich Smrcina wrote:
Would is be possible for the Hobbit client to issue the ps command once? It looks as if it is done twice now, to populate the 'Client data' page and to populate the 'procs' page.
If you look at the client side script, you'll see that it only runs "ps" once. The data obtained is then used in several places. Henrik
list Rich Smrcina
Of course you are absolutely right. I see it now. Thanks.
▸
Henrik Stoerner wrote:On Sun, Jul 31, 2005 at 04:59:03PM -0500, Rich Smrcina wrote:Would is be possible for the Hobbit client to issue the ps command once? It looks as if it is done twice now, to populate the 'Client data' page and to populate the 'procs' page.If you look at the client side script, you'll see that it only runs "ps" once. The data obtained is then used in several places. Henrik
-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (XXX)XXX-XXXX Ans Service: (360)715-2467 user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2006 - Chattanooga, TN - April 7-11, 2006