I use df -h to list the partition size and I get:
Code:
[root@s003ap03 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_root-lv_root
3.0G 2.1G 757M 74% /
/dev/sda1 99M 17M 77M 18% /boot
none 1004M 0 1004M 0% /dev/shm
/dev/mapper/vg_root-lv_home
496M 67M 404M 15% /home
/dev/mapper/vg_root-lv_opt
2.5G 1.9G 455M 82% /opt
/dev/mapper/vg_root-lv_tmp
496M 117M 354M 25% /tmp
/dev/mapper/vg_root-lv_var
2.0G 485M 1.4G 26% /var
One can see the partiton '/opt' is 1.9 G in use.
Then I change to /opt and use 'du -h --max-depth=1' to list the detail and I get:
Code:
[root@s003ap03 opt]# du -h --max-depth=1
8.0K ./jboss
199M ./JIRA_TR
559M ./JIRA_RU
40M ./.cjournals
12M ./.BackupExpressChangeJournal
2.4M ./.BackupExpressJob
477M ./BackEx
93M ./netiq
16K ./lost+found
1.4G .
Here just show 1.4G in use. Where is the 500 MB?