Órdenes de información del sistema

df - muestra la cantidad de espacio libre

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 - muestra la cantidad de memoria libre y usada

The free command displays the amount of free and used memory in the system.

free -m

will give the information using megabytes, which is probably the most useful for current computers.

top - muestra los procesos con más consumo

The top command displays information on the Linux system - processes that are running, system resources including CPU, RAM & swap usage, and the total number of tasks being run. To exit top, press q.

uname - imprime detalles sobre la máquina actual

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 - imprime detalles sobre la distribución actual de Linux

lsb_release con la opción -a muestra la información de la versión de Linux en uso. Por ejemplo, tecleando:

lsb_release -a

se mostrará:

No hay módulos LSB disponibles.
Distributer ID: Ubuntu
Description:    Ubuntu 10.04
Release:        10.04
Codename:       lucid