[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] CPU usage of each node



Hi Leo,

Leo Cristobal C. Ambolode II wrote:
> Hi all,
> 
> How can I know, probably (cout or stdout) the CPU usage of each node of
> each job that is being executed?

Are you asking how to determine how much CPU time a particular job
is using on a machine, or what the load average is for the node
on which a job is running?

If you're asking for CPU time usage for a particular process, then
you can pull this out of /proc/<pid>/stat (see the proc(5) man page
for details). If you're looking for the load average for the machine,
then /proc/loadavg is the place to check.

Best,

---Steve

-- 
Steve Barnet
UW IceCube