Jul 192011
 

terminalThis is a small collection of commands that can give you information on a Linux computer.
Most of this commands can be run as non-privileged user, but more information can be obtained if (and should be) run as root:
General system information:

# uname -a

List all hardware

 lshw |less

Alternative with Gtk frontend

 lshw-gtk

Process information:

# top

(Shift-M to order the list by memory use)


Memory information:

# free -m

Alternative

 cat /proc/meminfo



Swap information

swapon -s

Alternative

cat /proc/swaps

BIOS information:

# dmidecode | less

Show information about the distribution:

cat /etc/issue

Alternative

cat /proc/version

Alternativa

lsb_release -a

Show information about all PCI

lspci (or -v for verbose)

Show information about all usb devices.

lsusb (or -v for verbose)

Show information about partitions

cat /proc/partitions

Alternative

fdisk -l


Popular Posts:

Flattr this!

  2 Responses to “Linux system info, cheat sheet”

  1. Many of those commands and their parsed output collected in this bash script.
    http://sourceforge.net/projects/sysinforeport/

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*