Os administradores de ambientes linux e unix sabem da importância do comando df -k. É ele que demonstra as estatísticas dos filesystems montandos em seus servidores. Mas convenhamos que ele é muito básico.
Que tal utilizarmos algo mais gráfico ? Lhes apresento o dfc. Um utilitário que dá uma boa repaginada no df.
Eis um exemplo dele:
A instalação no Ubuntu é bem simples, basta rodar o comando sudo apt-get install dfc
Vejam a lista de parâmetros com que ele trabalha:
-a print all fs from mtab
-i info about inodes
-T show filesystem type
-u choose the unit in which to show the values. UNIT can take one of the following value:
“h”: Human readable (default when not using “-u” option).
“b”: Show bytes.
“k”: Show size using Kio.
“m”: Show size using Mio.
“g”: Show size using Gio.
“t”: Show size using Tio.
Vejam esta outra tela de exemplo:
Well, então se vocês gostaram, é só adicionar no /etc/profile a seguinte linha:
alias df=”dfc”
RT @gustcol: DFC – um df -k com estilo #dfc #linux http://t.co/Q0iIORrArj
Edvan Barros liked this on Facebook.
Dennis Martins liked this on Facebook.
RT @gustcol: DFC – um df -k com estilo #dfc #linux http://t.co/Q0iIORrArj
Fulvio de Freitas liked this on Facebook.
Nice! tem o ‘pydf’ também : )
RT @gustcol: DFC – um df -k com estilo #dfc #linux http://t.co/Q0iIORrArj
Cornélio Petersen Junior liked this on Facebook.