Opdrachten voor systeeminformatie

df - toon vrije ruimte

The df command displays filesystem disk space usage for all partitions. (df stands for disk free).

df -h

will give information using megabytes (M) and gigabytes (G) instead of blocks (-h means human readable).

free - toon de hoeveelheid vrij en gebruikt geheugen

De free opdracht toont de hoeveelheid gebruikte en vrij geheugen van het systeem.

free -m

geeft deze informatie in megabytes, wat waarschijnlijk het nuttigste is voor de huidige computers.

top - toon de meest gebruikende processen

De top opdracht toont informatie over het Linux-systeem - actieve processen, systeemhulpbronnen zoals CPU, RAM & swap-gebruik en het totaal aantal actieve taken. Om top af te sluiten kunt u op q drukken.

uname - toon details van de huidige machine

The uname command with the -a options displays all system information, including machine name, kernel name & version, and other details. This command is useful for checking which kernel is in use. (uname is short for unix name).

lsb_release - toon details van de huidige Linux-release

The lsb_release with the -a option prints version information for the Linux release in use. For example, typing:

lsb_release -a

will display:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 11.10
Release:        11.10
Codename:       oneiric