Project

General

Profile

Actions

Bash tricks » History » Revision 3

« Previous | Revision 3/14 (diff) | Next »
Alexis Jeandet, 06/11/2013 09:35 PM


Bash tricks

Get disk usage

df -h

Will give you something like this:

Sys. de fichiers       Taille Utilisé Dispo Uti% Monté sur
/dev/sde1                110G    8,1G   97G   8% /
devtmpfs                 126G       0  126G   0% /dev
tmpfs                    126G       0  126G   0% /dev/shm
tmpfs                    126G    920K  126G   1% /run
tmpfs                    126G       0  126G   0% /sys/fs/cgroup
tmpfs                    126G    4,0K  126G   1% /tmp
/dev/mapper/ddf1_DATA2    15T    7,7G   14T   1% /home

Get CPU and RAM usage

htop

Will give you something like this:

htop screenshot example

To get more information about htop see here

Updated by Alexis Jeandet about 11 years ago · 3 revisions

Also available in: PDF HTML TXT