Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

why the result of df a partition is different from du so much



10:09 am on Feb 23, 2009 (gmt 0)

5+ Year Member

[@4.54 ~]# df -k /var
Filesystem 1K-blocks Used Available Use% Mounted on
4062912 3424616 428584 89% /var
[@4.54 ~]# du -sh /var
120M /var
[@4.54 ~]# lsof /var
[@4.54 ~]#

but after remount /var
the result of df -k /var is almost as same as du

btw:sorry for my poor english:)


2:36 am on Feb 25, 2009 (gmt 0)

5+ Year Member

This problem has been solved
I just execute "/etc/rc.d/init.d/psacct start" once
then "df -h"
the result is as same as du

Featured Threads

Hot Threads This Week

Hot Threads This Month