Tagged Questions
4
votes
4answers
439 views
script for logging all the stats for a particular process
I want to monitor CPU usage, disk read/write usage for a particular process, say ./myprocess.
To monitor CPU top command seems to be a nice option and for read and write iotop seems to be a handy ...
5
votes
1answer
313 views
How to find out how many cores (including emulated via HT and such) are avaliable to user?
I wonder how to get how many cores (including emulated via HT and such) are avaliable to user via bash shell-script command?
8
votes
3answers
2k views
How can I receive top-like CPU statistics from the shell?
I'm trying to get an accurate read of my used CPU (in percent) from top. This is the command I'm running for testing:
top -n1 | awk '/Cpu\(s\):/ {print $2}'
This returns:
10.7%us,
Which is the ...
5
votes
2answers
408 views
How enable safeguards for CPU temperature
My desktop has a nasty habit. When I have several high intensity applications running and my CPU is at maximum usage for a period of time, the core temperature rises and my computer auto-shuts off.
...