public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CPU Usage for particular User Login
@ 2003-10-09  9:41 herft
  2003-10-09 16:54 ` Nuno Silva
  0 siblings, 1 reply; 5+ messages in thread
From: herft @ 2003-10-09  9:41 UTC (permalink / raw)
  To: linux-kernel

Hi Vda,
Hi All.

I want to get CPU Usage for particular User Login. (Seperately for each user)

IS THERE AN APPLICATION WHICH RUNS UNDER Linux to do this work?


Thanks

Sena Seneviratne
Computer Engineering Lab
Sydney University


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CPU Usage for particular User Login
  2003-10-09  9:41 herft
@ 2003-10-09 16:54 ` Nuno Silva
  2003-10-09 20:00   ` Maciej Zenczykowski
  0 siblings, 1 reply; 5+ messages in thread
From: Nuno Silva @ 2003-10-09 16:54 UTC (permalink / raw)
  To: herft; +Cc: linux-kernel



herft wrote:
> Hi Vda,
> Hi All.
> 
> I want to get CPU Usage for particular User Login. (Seperately for each 
> user)
> 
> IS THERE AN APPLICATION WHICH RUNS UNDER Linux to do this work?

This is a bit off-topic for lkml, but...

AFAIK, no. You'll have to code your own.

You can also run a lot of top programs, each for one user (type 'u' 
while in top).

Regards,
Nuno Silva

> 
> 
> Thanks
> 
> Sena Seneviratne
> Computer Engineering Lab
> Sydney University
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CPU Usage for particular User Login
  2003-10-09 16:54 ` Nuno Silva
@ 2003-10-09 20:00   ` Maciej Zenczykowski
  2003-10-09 22:42     ` Nuno Silva
  0 siblings, 1 reply; 5+ messages in thread
From: Maciej Zenczykowski @ 2003-10-09 20:00 UTC (permalink / raw)
  To: Nuno Silva; +Cc: herft, linux-kernel

> 
> You can also run a lot of top programs, each for one user (type 'u' 
> while in top).
> 
> Regards,
> Nuno Silva

nb. is their a way to get fair 'equal time / proc percentage per user' 
queueing of the CPU(s).

i.e. not limiting the number of processes/user but limiting the total CPU 
'power' in use by a given user, something like the CBQ network 
schedulers... perhaps with some classes (like root) more priveledged 
etc... or is this something for 2.7?

Cheers,
MaZe.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CPU Usage for particular User Login
       [not found] ` <EPgT.Hl.3@gated-at.bofh.it>
@ 2003-10-09 20:30   ` Ihar 'Philips' Filipau
  0 siblings, 0 replies; 5+ messages in thread
From: Ihar 'Philips' Filipau @ 2003-10-09 20:30 UTC (permalink / raw)
  To: Maciej Zenczykowski; +Cc: Linux Kernel Mailing List

Maciej Zenczykowski wrote:
>>You can also run a lot of top programs, each for one user (type 'u' 
>>while in top).
>>
>>Regards,
>>Nuno Silva
> 
> 
> nb. is their a way to get fair 'equal time / proc percentage per user' 
> queueing of the CPU(s).
> 
> i.e. not limiting the number of processes/user but limiting the total CPU 
> 'power' in use by a given user, something like the CBQ network 
> schedulers... perhaps with some classes (like root) more priveledged 
> etc... or is this something for 2.7?
> 

   Cannot be sure - but try to google in direction of "vserver linux".
   Digging into the lkml archives on vserver can give you some pointers.
   At least some posters were hinting that vserver has capability to 
limit CPU usage of given task.

-- 
Ihar 'Philips' Filipau  / with best regards from Saarbruecken.
--
   "... and for $64000 question, could you get yourself vaguely
      familiar with the notion of on-topic posting?"
				-- Al Viro @ LKML


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CPU Usage for particular User Login
  2003-10-09 20:00   ` Maciej Zenczykowski
@ 2003-10-09 22:42     ` Nuno Silva
  0 siblings, 0 replies; 5+ messages in thread
From: Nuno Silva @ 2003-10-09 22:42 UTC (permalink / raw)
  To: Maciej Zenczykowski; +Cc: herft, linux-kernel



Maciej Zenczykowski wrote:
>>You can also run a lot of top programs, each for one user (type 'u' 
>>while in top).
>>
>>Regards,
>>Nuno Silva
> 
> 
> nb. is their a way to get fair 'equal time / proc percentage per user' 
> queueing of the CPU(s).

Yes. Rik, IIRC, has a "fair cpu scheduler". I've seen several version of 
this patch to 2.4. Not sure about 2.6, thou...

You may also want to inspect CKRM (Class-based Kernel Resource 
Management) in http://ckrm.sourceforge.net/

Regards,
Nuno Silva


> 
> i.e. not limiting the number of processes/user but limiting the total CPU 
> 'power' in use by a given user, something like the CBQ network 
> schedulers... perhaps with some classes (like root) more priveledged 
> etc... or is this something for 2.7?
> 
> Cheers,
> MaZe.
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-09 22:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EMjk.4Ok.33@gated-at.bofh.it>
     [not found] ` <EPgT.Hl.3@gated-at.bofh.it>
2003-10-09 20:30   ` CPU Usage for particular User Login Ihar 'Philips' Filipau
2003-10-09  9:41 herft
2003-10-09 16:54 ` Nuno Silva
2003-10-09 20:00   ` Maciej Zenczykowski
2003-10-09 22:42     ` Nuno Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox