Learn Everything Using the Terminal
This is a historical Linux command collection. nmon and the traffic monitors use terminal interfaces, not a desktop GUI. acpi -V shows available device information; acpi -v prints the version. PCI-register writes such as the backlight example are specific to particular old hardware and are not a general brightness command.
All utilities work in terminal mode.
nmon - utility with terminal interface for monitoring CPU, memory, disk i/o and other attributes
hdparm -t -T /dev/sda1 - disk performance
stat -f / - number of used/free blocks/inodes
iostat -m -x sda 2 6 - watch load of specified disk (sysstat package)
vmstat -S M 2 50 - watch resource statistics/consumption
free -m (cache column - memory occupied by FS cache)
cat /proc/meminfo - information about RAM
cat /proc/cpuinfo - information about CPU
cat /proc/interrupts - who generates more interrupts
cat /proc/net/dev - transferred via interface in bytes
cat /proc/sys/fs/file-max - max allowed number of open files (sysctl -w fs.file-max=16384)
cat /proc/sys/fs/file-nr
nload - graphical traffic monitoring
bmon - graphical monitoring of interface load
iftop - graphical monitoring of interface load
tcptrack - graphical monitoring of interface load
fdisk -l - information about disks and partitions
top, 1 - load distribution across cores
netstat -s # network statistics. For example, netstat -s |grep establish current number of established connections
ethtool eth0 # information about operating modes supported by network card, current modes and parameters
sensors - shows CPU temperature (lm-sensors package must be installed)
hddtemp /dev/sda - shows hard drive temperature
acpi -V - shows temperature and additional info about coolers, etc. (acpi package must be installed)
setpci -s 00:02.0 F4.B=20 - Adjust backlight brightness.
nmon - utility with terminal interface for monitoring CPU, memory, disk i/o and other attributes
hdparm -t -T /dev/sda1 - disk performance
stat -f / - number of used/free blocks/inodes
iostat -m -x sda 2 6 - watch load of specified disk (sysstat package)
vmstat -S M 2 50 - watch resource statistics/consumption
free -m (cache column - memory occupied by FS cache)
cat /proc/meminfo - information about RAM
cat /proc/cpuinfo - information about CPU
cat /proc/interrupts - who generates more interrupts
cat /proc/net/dev - transferred via interface in bytes
cat /proc/sys/fs/file-max - max allowed number of open files (sysctl -w fs.file-max=16384)
cat /proc/sys/fs/file-nr
nload - graphical traffic monitoring
bmon - graphical monitoring of interface load
iftop - graphical monitoring of interface load
tcptrack - graphical monitoring of interface load
fdisk -l - information about disks and partitions
top, 1 - load distribution across cores
netstat -s # network statistics. For example, netstat -s |grep establish current number of established connections
ethtool eth0 # information about operating modes supported by network card, current modes and parameters
sensors - shows CPU temperature (lm-sensors package must be installed)
hddtemp /dev/sda - shows hard drive temperature
acpi -V - shows temperature and additional info about coolers, etc. (acpi package must be installed)
setpci -s 00:02.0 F4.B=20 - Adjust backlight brightness.
