hello,
i need a command like "
bdf" of HP-UX. ( report number of free disk blocks (Berkeley version) ). it should report inode and file system usage in one line like
bdf -i
manpage :
Man Page for bdf (all Section 1m) - The UNIX and Linux Forums
HP-UX command "
" report inode and file system usage in one line:
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol6 4194304 1927432 2251600 46% 12069 70811 15% /home
i didn't find in Linux a similar command ? command "
df" hasn't combinations like "
bdf -i" ,
alternative command's like "
" ? .
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg00-home 65536 1533 64003 3% /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg00-home 1032088 95356 884304 10% /home
report should print in Linux the same informations like "
"
example:
Filesystem 1K-blocks Used Available Use% Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg00-home 51032088 95356 884304 10% 65536 1533 64003 3% /home
---------- Post updated 12-24-13 at 10:58 AM ---------- Previous update was 12-23-13 at 11:09 AM ----------
hello,
do anybody use "
" ? this report inode and filesystem usage in one line.
:
301 Moved Permanently
manpage :
di Manual Page
( Example of HPUX "
" ) reports the result for Linux !
Examples
Various
equivalent format strings for System V release 4 are:
Quote:
/usr/bin/df -v di -P -f msbuf1
Quote:
/usr/bin/df -k di -dk -f sbcvpm
Quote:
/usr/ucb/df di -dk -f sbuv2m
GNU
:
Quote:
df di -dk -f SbuvpM -w 10
Quote:
df -T di -dk -f STbuvpM -w 10
AIX
:
Quote:
df di -d 512 -f Sbf1UPM -w 10
Quote:
df -I di -d 512 -f Sbuf1M
Quote:
df -I -M di -d 512 -f SMbuf1 -w 10
HP-UX
:
Quote:
bdf -i di -d k -f Sbuv2UFPM
If you like your numbers to add up/calculate the percentage correctly,
try one of the following format strings:
regards