Memory usage display problem
Dear There,
I am new to linux, and having a problem. One of our server shows like below when i type the command
[root@host root]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 7.7G 4.6G 2.8G 63% /
/dev/hda1 76M 8.2M 64M 12% /boot
none 506M 0 506M 0% /dev/shm
/dev/hda8 84G 43G 37G 54% /home
/dev/hda7 1012M 33M 928M 4% /tmp
/dev/hda3 7.7G 1.7G 5.7G 23% /usr
/dev/hda2 7.7G 7.4G 0 100% /var
But when i connected to "/var" folder and see below, it is showing like
[root@host var]# du -ksh
224M .
By using the first command it says that 7.4 GB has been used. and the second command says that only 224 M has been used. Where is the problme...?
|