[Novalug] CPU SYS% per process?

Peter Larsen plarsen at famlarsen.homelinux.com
Sun Dec 20 18:22:31 EST 2009


Well, lo-and-behold you got me thinking in the right direction :)
There's a little quite utility called pidstat in the sysstat package
that breaks up the performance metrics per process instead of just
summarizing it.  Thanks for pointing out the obvious to me :)

-- 

Best Regards
  Peter Larsen

Wise words of the day:
    if (argc > 1 && strcmp(argv[1], "-advice") == 0) {
	printf("Don't Panic!\n");
	exit(42);
    }
	-- Arnold Robbins in the LJ of February '95, describing RCS


On Sun, 2009-12-20 at 17:45 -0500, Jon LaBadie wrote:

> On Sun, Dec 20, 2009 at 05:08:53PM -0500, Peter Larsen wrote:
> > Sorry if this is a repost, but I never saw it posted on the list
> > Thursday.
> > 
> > I'm on a quest to find out what/where the SYS CPU is consumed. I have a
> > few hosts where the CPU% is > 40% almost constantly but so far I've been
> > unable to locate where/why the time is consumed that way.
> > 
> > TOP, PS etc. doesn't seem to differenciate between USER CPU and SYS CPU
> > time. Well, as far as I can see that is. Does anyone here have an idea
> > of how/where to look?
> > 
> 
> Does linux still provide a process accounting package as was in UNIX?
> 
> If so, after the process is complete, acctcom with the -t option can
> show real/sys/user times of each process.
> 
> jl


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/novalug/attachments/20091220/dfaa01ee/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://calypso.tux.org/pipermail/novalug/attachments/20091220/dfaa01ee/attachment.bin 


More information about the Novalug mailing list