For Legend look here
System information
Like for every thing, there are plenty of commands to check information about the hardware of your linux system.
Some commands report only specific hardware components like cpu or memory while the rest (more advanced) cover multiple hardware units.
-
Shell commands
-
Displays Linux system information:
> uname
-
Displays Linux kernel system information a:
> uname -r
-
Displays how long the system has been running plus the average load:
> uptime
-
Displays who are you logged in:
> whoami
-
Displays information about user:
> finger user
-
Displays cpu information:
> cat /proc/cpuinfo
- Displays memory information:
> cat /proc/meminfo
- Displays manual of commands:
> man command > man option command
- Examples:
> man printf > man -f ls
- Displays the usage of the disk:
> df
- Displays the space usage of a directory:
> du
Next:
- Displays memory information:
-