* C API for CPU Usage for particular User Login
@ 2003-10-09 3:26 herft
2003-10-09 8:25 ` vda
0 siblings, 1 reply; 3+ messages in thread
From: herft @ 2003-10-09 3:26 UTC (permalink / raw)
To: linux-kernel
Dear Friends,
I want to read CPU Usage like top command.
What I want is read CPU usage for particular user log in.
Say x,y and z are logged in and they are running separate applications.
What I want is to get the CPU usage of each user separately.
It would be somewhat like top command, but then top gives CPU usage of the
machine as a total.
Can anyone help me with giving me any clue about C apis in Linux.
Or if I can get the source code of top command.
Thanks
Sena Seneviratne
Computer Engineering Lab
Sydney University
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C API for CPU Usage for particular User Login
2003-10-09 3:26 C API for CPU Usage for particular User Login herft
@ 2003-10-09 8:25 ` vda
2003-10-09 9:14 ` herft
0 siblings, 1 reply; 3+ messages in thread
From: vda @ 2003-10-09 8:25 UTC (permalink / raw)
To: herft, linux-kernel
On Thursday 09 October 2003 06:26, herft wrote:
> Or if I can get the source code of top command.
Google for "procps .tar.gz"
There are actually two competing packages with that name,
both under GPL AFAIK.
--
vda
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C API for CPU Usage for particular User Login
2003-10-09 8:25 ` vda
@ 2003-10-09 9:14 ` herft
0 siblings, 0 replies; 3+ messages in thread
From: herft @ 2003-10-09 9:14 UTC (permalink / raw)
To: vda; +Cc: linux-kernel
Hi Vda,
Thanks for that.
I will see, if I can get some code for "top" and write new code to suit my
requirement.
Vda, By the way IS THERE AN APPLICATION WHICH RUNS UNDER Linux to do this
work?
Thanks
Sena Seneviratne
Computer Engineering Lab
Sydney University
At 11:25 AM 10/9/2003 +0300, you wrote:
>On Thursday 09 October 2003 06:26, herft wrote:
> > Or if I can get the source code of top command.
>
>Google for "procps .tar.gz"
>There are actually two competing packages with that name,
>both under GPL AFAIK.
>--
>vda
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-09 9:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 3:26 C API for CPU Usage for particular User Login herft
2003-10-09 8:25 ` vda
2003-10-09 9:14 ` herft
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.