System Information
lshw - can be used to see the hardware installed on the machine.
- sudo lshw
- man lshw
- we can use the option -short to see a list of the classes
- then use $ sudo lshw -class \
- ex: $ sudo lshw -class processor
- lshw can be passed to html, xml, and json format
- ex: $ sudo lshw -html > /tmp/output.html ; firefox /tmp/output.html
- saves output in html format and then loads it into firefox
lscpu - only cpu information
lspci - anything on the pci bus
- sudo lspci -vvv - verbose
sudo lshw -short -class memory
sudo dmidecode
- sudo dmidecode -t memory
- information on memory
- free -m - free memory
- cat /proc/meminfo
lsblk - visual of drives and partitions
sudo blkid - shows UUID