SUMMARY: How to tell a processes CPU ultilization in Solaris 2.6

From: Paul G. Brol (brol@wc.eso.mc.xerox.com)
Date: Wed Jun 16 1999 - 14:26:49 CDT


The answer was simple. Use /usr/ucb/ps -aux. I'd forgotten about the
sunos stuff in /usr/ucb. Works great!

Other suggestions were:

/bin/mpstat gives info for a multi-processor machine machine.

TOP - I will pursue when I have time is the "TOP" program that can be
found at: ftp.groupsys.com:/pub/top/top-3.5beta7.tar.gz
or at www.sunfreeware.com

  ps -elo pcpu,user,pid,tty,comm
  ps -a -o pcpu,user,pid,comm
  ps -o pcpu -o comm -o args
  ps -ef -o pid -o pcpu
  ps -edf -o pcpu,pid,user,args
  /usr/bin/ps -A -o user,pid,pcpu,pmem,vsz,rss,tty,s,stime,time,args
*ALL effectively give the same info.

/usr/dt/bin/sdtprocess - This doesn't exist on my system

Thanks to the following people:
David S. Foster
Roger Leonard
Ratto Daniel
Meenakshisundaram Paramasivam
Ram Kumar
Charles Holbrook
Ray Saddler
Jeff Kennedy
Joe Morel
Doug Otto
John M. Vogtle - Nice to hear from you John.
Rich Quinn
David H. Brierley
brok3n@hotmail.com
Renny Koshy
mikejd@bnpcn.com
Ananth Ananthakrishnan
Kris <Unixboy@aol.com>
Prakash D Rebello
Yura Pismerov
Patrick Hooper
Jay Lessert

---------------------------------------------------------------------
On Fri, 11 Jun 1999, Paul G. Brol (716)422-5787 wrote:
---------
Does anyone know how I can check on how much of the cpu a process is
using in Solaris 2.6? You could do this in sunos with the ps -u
option, but I can't find one for Solaris 2.6

Thanks,

Paul



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:21 CDT