on 08-26-2009 1:37 PM
HI,
Below is the output of the size file system .
If i want to know the output of the a folder inside the below ones .How do i use " du " command plz help me .Thanks in advance .
hydsapux:is2adm 35> bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 851968 846760 5208 99% /
/dev/vg00/lvol1 1835008 124816 1696936 7% /stand
/dev/vg00/lvol8 8912896 2482400 6380328 28% /var
/dev/vg00/lvol7 7536640 2523624 4973928 34% /usr
/dev/vg00/lvol052 720896 19243 657858 3% /usr/sap/trans
/dev/vg00/lvol051 8126464 8126464 0 100% /usr/sap/IS2
/dev/vg00/lvol4 524288 123464 397936 24% /tmp
/dev/vg01/lvol071 46088192 25424547 19372226 57% /systemcopy
/dev/vg00/lvol050 2031616 1365378 624602 69% /sapmnt/IS2
/dev/vg00/lvol053 262144 4524 241576 2% /oracle
/dev/vg00/lvol055 6553600 4857417 1590178 75% /oracle/stage/102_64
/dev/vg00/lvol054 262144 116756 136306 46% /oracle/client
/dev/vg00/lvol056 1048576 574357 444629 56% /oracle/IS2
/dev/vg00/lvol063 2490368 17079 2318716 1% /oracle/IS2/sapreorg
/dev/vg01/lvol058 23560192 21640365 1799841 92% /oracle/IS2/sapdata8
/dev/vg00/lvol070 15400960 10551187 4546666 70% /oracle/IS2/sapdata7
/dev/vg01/lvol069 29704192 25091530 4324435 85% /oracle/IS2/sapdata6
/dev/vg01/lvol068 28688384 24896721 3554748 88% /oracle/IS2/sapdata5
/dev/vg00/lvol067 51249152 38577335 11879887 76% /oracle/IS2/sapdata4
/dev/vg01/lvol066 51200000 28168830 21591785 57% /oracle/IS2/sapdata3
/dev/vg01/lvol065 51200000 43768575 6967023 86% /oracle/IS2/sapdata2
/dev/vg01/lvol064 51200000 39898232 10595469 79% /oracle/IS2/sapdata1
/dev/vg00/lvol059 524288 119015 379950 24% /oracle/IS2/origlogB
/dev/vg00/lvol058 524288 132535 367275 27% /oracle/IS2/origlogA
/dev/vg00/lvol062 1048576 16727 967366 2% /oracle/IS2/oraarch
/dev/vg00/lvol061 524288 221418 283947 44% /oracle/IS2/mirrlogB
/dev/vg00/lvol060 524288 221418 283947 44% /oracle/IS2/mirrlogA
/dev/vg00/lvol057 5177344 3586488 1491842 71% /oracle/IS2/102_64
/dev/vg00/lvol6 8388608 6038440 2331816 72% /opt
/dev/vg00/lvol5 131072 19704 110536 15% /home
/dev/vg00/lv0101 2883584 2613991 252797 91% /SAPTEMP
/dev/vg00/SAP 102432768 49328634 49785218 50% /SAP
/dev/vg01/vl104 2048000 534278 1419381 27% /ORATEMP
try:
du /oracle/IS2/sapdata7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
This will give you the size of the main directory including all sub directories sorted by the biggest one at the top:
du -kx <name_of_directory> | sort -rn | more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For checking the directory size
du -sg dirname
reg
sreekanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.