Xymon Mailing List Archive search

Xymon client doesn't clean up all of its children

list Japheth Cleaver
Thu, 26 Feb 2015 12:36:21 -0800
Message-Id: <user-067c0e673efb@xymon.invalid>

On Thu, February 26, 2015 12:10 pm, Mark Felder wrote:

On Thu, Feb 26, 2015, at 13:33, J.C. Cleaver wrote:

What would you folks think?
I don't have much of an opinion. On FreeBSD I just pushed an update to
"pkill -U $xymon_client_user vmstat" so it cleans up on a stop/restart.

I swear I saw the vmstat live on longer than 5 minutes, but maybe I need
to do some more formal testing. It appears that the command is:

vmstat 300 2

but on FreeBSD that means it updates/prints new output every 300 seconds
and the 2 means two intervals, so I guess the max time it will run is 10
minutes / 600 seconds?

Interesting. I guess that makes it similar to AIX in that regards.

http://lists.xymon.com/archive/2014-September/040192.html

We should clarify this on each supported OS.
On RHEL5, "vmstat 10 2" gives me:

-bash-3.2$ vmstat 10 2
procs -----------memory---------- ---swap-- -----io---- --system--
-----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id
wa st
 0  0    312 9461348 203472 84676768    0    0    34   319    0    0  4  1
94  0  0

(wait 10 seconds)

 1  0    312 9466564 203472 84677632    0    0    51  5290 3138 8928  3  2
95  0  0

(exit)


-jc