[hobbit] Host Notes
Francesco Duranti
fduranti at q8.it
Tue Aug 15 00:46:17 CEST 2006
The -m will generate really much data but i think that 1 or 2 more "w"
can be good to get all the process names ... (last update on the first
client where i was checking for process names I had 30 minutes trying to
understand why one of my qmail process was not running :D)
It could be nice to have them as some kind of configuration that can be
done at configuration time or for example with the logfetch method (like
the filenames or log files to check).... Can be also nice to have to
choose to do network disk check with df or only local disks...
This is the difference on a machine with some javavm running of the ps
[bb at ITROMAS27 bb]$ ps -Aw -o
pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd |wc
183 2789 20249
[bb at ITROMAS27 bb]$ ps -Awww -o
pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd |wc
183 2801 20981
[bb at ITROMAS27 bb]$ ps -Awwwm -o
pid,ppid,user,start,state,pri,pcpu,time,pmem,rsz,vsz,cmd |wc
981 20468 289819
So i think for 700 bytes we can put 2 more "w" the "m" can be
problematic ....
> -----Original Message-----
> From: Charles Jones [mailto:jonescr at cisco.com]
> Sent: Tuesday, August 15, 2006 12:28 AM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Host Notes
>
>
> > 9) .... It's possible to have some more "w" directly on the
> ps command
> > in the hobbit client? Something like ps -www ... Some long java
> > commands are not displaying and the check on them is a bit
> difficult to do ...
> >
> I needed this as well, I changed the client ps command in
> hobbitclient-linux.sh to "ps -Awwm". The extra w gave me the
> width I needed, and the m allows me to make a "TRACK" graph
> of how many java threads are spawned.
>
> I don't think this should be the default though, as I also
> ended up having to increase my MAXMSG_STATUS and MAXMSG_DATA
> lengths because of the increased output generated by ps with
> those options.
>
> -Charles
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
More information about the Xymon
mailing list