PDA

View Full Version : procfs like CPU loads per CPU?


iaw4
04-28-2009, 10:56 AM
I have a CPU with 8 cores in it. I would like to write a perl program that queues another job only if I see that one core has a very low load on it. I know how to get a generic "all cpu load", but I do not know how to get a load/core vector.

could someone please help me out here?


(PS: I know about xgrid, but do not want to use so much firepower.)