mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2017-03-14, 16:41   #1
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

23·3·72 Posts
Default Monitoring software on Linux, i-Nex ('CPU-Z'), Psensor, top

I'm a newbie on Linux, so I just wanted to share my results while searching for monitoring software on Ubuntu. If I missed any useful ones, please let me know.

CPU
Basic CPU info by:
Code:
cat /proc/cpuinfo
Available frequencies of CPU to the OS:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Current frequency (default updates every 2,0 sec) in terminal:
Code:
watch -d "cat /proc/cpuinfo | grep -i Mhz"
or install a small program to watch and set the CPU frequency called indicator-cpufreq:
Code:
sudo apt-get install indicator-cpufreq
System Monitoring
Top; a lightweight prog that is almost always included in distros and runs in the terminal:
Code:
top
Gnome system monitor (included in Ubuntu) which has a nice interface:
Code:
gnome-system-monitor
Hardware monitoring
Psensor, on Ubuntu:
Code:
sudo apt-get install psensor
or for the latest Psensor, which includes Hard Disk temp, add these:
Code:
sudo add-apt-repository ppa:jfi/ppa
sudo apt-get update
Also found a CPU-Z like alternative for (Ubuntu 14.04+) called "i-Nex" which reports on the CPU, Motherboard, GPU and Memory:
Code:
sudo add-apt-repository ppa:i-nex-development-team/daily
sudo add-apt-repository ppa:gambas-team/gambas3
sudo apt update
sudo apt install i-nex
Licence: GNU GPL 3
Attached Thumbnails
Click image for larger version

Name:	cpu-freq-indicator_Ubuntu.png
Views:	200
Size:	58.5 KB
ID:	15760   Click image for larger version

Name:	top_Ubuntu.png
Views:	195
Size:	112.9 KB
ID:	15761   Click image for larger version

Name:	Psensor_Ubuntu.png
Views:	208
Size:	21.0 KB
ID:	15762   Click image for larger version

Name:	i-Nex 02 CPU-iD.png
Views:	226
Size:	86.3 KB
ID:	15763   Click image for larger version

Name:	i-Nex 04 Memory.png
Views:	226
Size:	55.8 KB
ID:	15764  

VictordeHolland is offline   Reply With Quote
Old 2017-03-14, 21:49   #2
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

1110111010012 Posts
Default

Code:
sudo lshw
will give you a very detailed look at your system.

cat /proc/cpuinfo, unfortunately, doesn't distinguish between cores and threads.

if, of interest:
Code:
cat /proc/meminfo
will give a bit of memory info.

Code:
df -h
will give you disk(s) info in human readable (-h) form.

disk utility and gparted will allow you see very detailed information about all the media and media devices. It will also allow you to easily destroy the data, if you are not careful.

edit: gparted can actually be used to change partition sizes, but again, it must be done carefully, realizing that even then, there is a risk of data loss. Always keep off-system backups of any important data!

Last fiddled with by EdH on 2017-03-14 at 21:52
EdH is offline   Reply With Quote
Old 2017-03-15, 17:00   #3
chris2be8
 
chris2be8's Avatar
 
Sep 2009

40368 Posts
Default

I use:
Code:
 uptime
To see system load.

Code:
sensors
for system temperatures.

Code:
nvidia-smi
to see what my GPU is doing.

I'm usually SSHing onto a system to check it so command line tools are more use than GUI tools. Also most of my systems run OpenSUSE so I can't guarantee they work on Ubuntu.

I've also come across
Code:
acpi
which gives battery state for my laptop among other things.

In all cases read the man page for them to see what they do.

Chris
chris2be8 is offline   Reply With Quote
Old 2017-03-15, 20:13   #4
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

260316 Posts
Default

Quote:
Originally Posted by VictordeHolland View Post
If I missed any useful ones, please let me know.
For many kinds of work, tcpdump and/or wireshark can be invaluable.
chalsall is offline   Reply With Quote
Old 2017-03-25, 17:15   #5
chris2be8
 
chris2be8's Avatar
 
Sep 2009

81E16 Posts
Default

The latest Linux Format suggests using hardinfo, lspci, dmidecode and biosdecode to get hardware into.

Chris
chris2be8 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Factoring software for tiny Linux versions Rodrigo Software 19 2011-02-15 04:32
monitoring a Linux version Carlo Monari Software 4 2004-12-11 17:26
Little shellscript for monitoring mprime under linux Matthes Lounge 2 2003-07-11 01:13
Client monitoring? pizzaking Lounge 25 2003-06-10 08:34
GIMPS software for Sony PS/2 Linux? delta_t Software 5 2002-12-06 17:36

All times are UTC. The time now is 08:34.


Sat Jul 17 08:34:06 UTC 2021 up 50 days, 6:21, 1 user, load averages: 1.09, 1.45, 1.49

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.