robbarry
Mar 11 2003, 08:21 AM
I was wondering would anybody be able to help me. I am currently doing a college project in which using bash programming I have to retrieve a value for the overall usage of the cpu by a group of processes or else the idle time of the cpu.If any one knows code on how to measure these and retrieve this measurement so it can be used in further code , I'd really appreciate it.
ted
Mar 13 2003, 12:05 PM
cat /proc/stat & grep till you are blue in the face =)