Re: Findnig user load...



In article <fkgkk2$p18$1@xxxxxxxxxxxxxxxx>,
Guillaume Dargaud <use_the_form_on_my_contact_page@xxxxxxxxxxxxxxxx> wrote:
Hello all,
I'm not sure if this is a question can can be delt with using shell
commands, but here goes: how can you determine the complete 'load' of a
specific user on a system.
How much CPU in a day for instance. How much bandwidth, I/O bytes, disk
accesses, memory use, etc...

Including cron jobs, multiple remote sessions, etc...

Important note: I'm not an admin on the system, but a lowly user who doesn't
even have the privilege required to run 'top'. But the admins complain that
I use too many resources, without specifying _what_ those resources are. So
I'd like to figure out for myself.

This may not be useful to you since it would likely require cooperation from
the admins, but it is worth noting that the ideal way of gathering some of this
information is via process accounting, if the OS you're using supports it.
This records the CPU usage, character and block IO transfer counts, and
approximate average memory use for every process run. It is a very low
overhead facility, particularly as compared to polling constantly for this
information through ps/etc. (and will produce far higher-quality data than
that!)

Start with: apropos "process accounting"; if the OS supports it, that will get
you the command you'd use to extract information from it, if it is currently
enabled. If it isn't, you could at least ask the admins if they'll enable it;
it would give *them* a much better idea of what's going on, too. It is
certainly how I, acting as an admin, would get an idea of the resources
consumed by a user.

John
--
John DuBois spcecdt@xxxxxxxxxx KC6QKZ/AE http://www.armory.com/~spcecdt/
.



Relevant Pages

  • logging command line activity
    ... I have a situation where I need to log the activities of one of our admins as ... it seems every now and then he does something incorrect and causes problems ... I need to log all commands and arguments that are ... serial console, and generally log directly in as root, so this needs to be ...
    (SunManagers)
  • Re: Top 10 command line tools for programmers to master
    ... Not programming, but here's a quick start list of commands for sys ... admins. ...
    (comp.os.linux.misc)
  • Re: AD Design Question
    ... HR Computers ... Delegate Authority (to junior or local admins) ... Groups are used primarily for granting access to resources. ... of handling outside contacts as well as contacts for our parent company. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Logon difference in Workgroup and domain
    ... given such access DIRECTLY (Guest access might ... access to domain resources. ... two admins create users with same name and password on their PC, ... Local administrator VS domain administrator ...
    (microsoft.public.windows.server.active_directory)
  • semaphores on AIX
    ... I have some debates going on with the database ... database people says that it is a AIX problem where as the ... OS Admins says the against. ... When i do a DLPAR to the CPU;s even after adding the resources the ...
    (comp.unix.aix)

Loading