Help - Search - Members - Calendar
Full Version: Bash Programming For Cpu Usage
Linuxhelp > Support > Technical Support
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.
cat /proc/stat & grep till you are blue in the face =)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.