RE [hobbit] AIX client - can someone confirm a "ps" command?
thomas.seglard.enata at cnp.fr
thomas.seglard.enata at cnp.fr
Wed May 10 10:57:19 CEST 2006
Hello,
I've done such a script with the 'ps' command. From what I see, the rss
and cmd flag is not interpreted. Here is what I'm using on my AIX 4.2 -
5.3 boxes :
psd160 /> ps -efd -o pid,ppid,user,stat,pri,pcpu,time,pmem,vsz,command
PID PPID USER ST PRI %CPU TIME %MEM VSZ COMMAND
1 0 root A 60 0,0 00:00:37 0,0 820 init
3076 1 root A 60 0,0 00:00:00 0,0 516 osilinkd
3508 1 root A 60 0,0 00:00:00 0,0 800 errdemon
4690 1 root A 60 0,2 00:03:44 0,0 660 syncd
5684 1 root A 60 0,1 00:01:05 0,0 228 x25pconfigd
6346 7778 root A 60 0,0 00:00:00 0,0 992 sendmail
I don't know if it's what you want... The 'ps' command you indicate
doesn't work on any of my boxes.
Sincerly,
Thomas Seglard
henrik at hswn.dk (Henrik Stoerner) a écrit sur 09/05/2006 23:17:21 :
> I'm modifying the client "ps" command to provide information
> about processes CPU- and memory-usage, so that sometime in
> the (not so distant) future Hobbit can track these and perhaps
> warn if a process becomes a cpu-hog.
>
> I have gotten most of the OS'es that Hobbit supports, but I
> need someone with an AIX box to confirm that this "ps" command works,
> and provides information about the ressource usage for all processes on
> the box:
>
> ps axww -o pid,ppid,user,stat,pri,pcpu,time,pmem,rss,vsz,cmd
>
> This was constructed from an AIX man-page I found on the 'net (and
> it is very much like the others). One thing that puzzled me is that AIX
> apparently does not support reporting the start-time of a process.
> It that really correct ? And if not, what is the keyword for this ?
>
> And while I have the attention of you AIX people out there: If someone
> could grab the latest snapshot and build me a Hobbit client for AIX 5.3
> I would really appreciate it - I need to install a client on such boxes,
> but I would have to get the development tools setup first.
>
>
> Thanks,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.
*****
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
More information about the Xymon
mailing list