Sunday, December 02, 2007

Humanise the output of FreeBSD's root mail

FreeBSD Quick Tip
The output of the root mail, daily run: disk status is in bytes, which is not quick and easy to read. To humanise this output and to show you the inodes being used do the following:
# vi /etc/periodic/daily/400.status-disks
change:df $daily_status_disks_df_flags && rc=1 || rc=3todf -hi $daily_status_disks_df_flags && rc=1 || rc=3

0 comments: