Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Bash Programming For Cpu Usage
robbarry
post Mar 11 2003, 08:21 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 6
Joined: 11-March 03
Member No.: 538



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.
Go to the top of the page
 
+Quote Post
ted
post Mar 13 2003, 12:05 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 14
Joined: 4-March 03
Member No.: 513



cat /proc/stat & grep till you are blue in the face =)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 10:20 PM