I ran across this command for Terminal in the Navigatrix site and found it interesting. It reports I believe what is running in terms of useage. I need to read more but in a Terminal type this:
Code:
sudo top
I ran it on the gun using crunchbang and found this screen shot:
cpu useage
cpu useage
- Attachments
-
- Try running the code and see what pops
- top.png (670.82 KiB) Viewed 14804 times
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
- kode-niner
- Posts: 700
- Joined: Sat Jun 07, 2014 7:39 am
- Location: Canada
Re: cpu useage
It's a useful tool. I prefer htop, though. If you don't have it installed, just grab it from your repo, like "apt-get install htop" or whatever your distro uses. Also iftop for network interfaces and powertop for laptop power usage is particularly useful.
Daily drives a CF-31
Re: cpu useage
Thanks gentleman/ladies?, that was new to me.
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
- kode-niner
- Posts: 700
- Joined: Sat Jun 07, 2014 7:39 am
- Location: Canada
Re: cpu useage
powertop is especially useful when you're trying to eke out every last milliwatt from a laptop's battery and you need to find out what's using it. These days I just haul a half-dozen batteries instead.
Nick.
not a lady
Nick.
not a lady
Daily drives a CF-31
Re: cpu useage
Thank you Kode-Ninerkode-niner wrote:It's a useful tool. I prefer htop, though. If you don't have it installed, just grab it from your repo, like "apt-get install htop" or whatever your distro uses. Also iftop for network interfaces and powertop for laptop power usage is particularly useful.
I'll try out the code and let you know...cool beans as they say in Pennsylvania...
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
- kode-niner
- Posts: 700
- Joined: Sat Jun 07, 2014 7:39 am
- Location: Canada
Re: cpu useage
Assuming your system is a Debian derivative:
Powertop needs to be run as root or a superuser
Use the tab key to shuffle through powertop displays.
For iftop, it also only runs as root and you may have to supply your interface as an argument. For example:
For wifi:
For ethernet:
For WWAN:
If you get command not found and you are using sudo, you may need to supply the full path to iftop (/usr/sbin/iftop for example)
To find out what your interfaces are, just type
or
ifconfig outputs interface information when used without arguments as above, the interface name should be on the left of each paragraph. You use that name after the -i of the iftop command like the examples above.
There are other arguments for iftop that can be useful. Such as
Show port numbers:
Don't resolve IPs
Code: Select all
sudo apt-get install htop
sudo apt-get install iftop
sudo apt-get install powertop
Code: Select all
sudo powertop
For iftop, it also only runs as root and you may have to supply your interface as an argument. For example:
For wifi:
Code: Select all
sudo iftop -i wlan0
Code: Select all
sudo iftop -i eth0
Code: Select all
sudo iftop -i ppp0
To find out what your interfaces are, just type
Code: Select all
ifconfig
Code: Select all
/sbin/ifconfig
There are other arguments for iftop that can be useful. Such as
Show port numbers:
Code: Select all
iftop -i wlan0 -P
Code: Select all
iftop -i wlan0 -n
Daily drives a CF-31
Re: cpu useage
Thank you, kode....reading if not replying. Appreciate it.
J'd
J'd
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/