System Info
From Kb
How to find different basic information about your Unix|Linux system.
Contents |
General
System resource usage
- top
- ps
- ps aux
- vmstat (vmstat 5) update stats every 5 seconds, similar to top
System info
- uname
- uname -a
- cat /proc/version
- dmidecode
Memory
- cat /proc/meminfo
- free
- top -m io
Disks
Show partition information
- cat /proc/partitions
- df -h
- fdisk -l
- parted -l
- ls /sys/block/
Show disk usage
- du
- du -chd 1 . (freebsd)
- du -ch --max-depth=1 . (linux)
Show disk space in (h)uman-readable format (i.e. in k and M not bytes), then only show me the directories that contain at least one MB of data in them, sorted numerically, one page at a time. (Matt Cohen)
- du -h | grep "[0-9]M" | sort | more
Network
- netstat
- sockstat
Not Yet Organized
- iotop
- ntop
- iftop
- htop
- vmstat
- iostat
- dstat
- mytop (MySQL)
- server-status (Apache)
- lsof
- /proc/mdstat