Project

General

Profile

Actions

Bash tricks » History » Revision 2

« Previous | Revision 2/14 (diff) | Next »
Alexis Jeandet, 06/11/2013 09:33 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 over 10 years ago · 2 revisions

Also available in: PDF HTML TXT