vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Nov 13, 3:56 pm, "Regine dessoubret" <grdess...@noos.fr> wrote: > I have a / that is full and I want to find what files are fulling the > mountpoint / . > > the server is HPUX 11.23 itanium How about this (as root): find / -size +100000 -xdev | xargs du | sort -n | tail -n 500 | more Adjust size (+100000) as necessary. This will list the 500 biggest files on the filesystem / - and will not scan any other filesystems. Adjust the tail (500) count as desired as well. |
| |||
| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRzpiEREFessvS4HoAQKVCwgAjg0Jr/Ng7s/IR23Hi3TO3qEMmBX61rNc MdabvCAPv55uqkuOnt59/fmPEKw5/mjYuBLJsxkkxTTcHdF6EERqNk8YSzD5RAnS vAfpXlGxiLXiJsxpnjR6ltrcylyKiOW4nJSysmg0uiygmoihr7 4/AufW/g7UQTXJ KmuOCR8/3gTIbxo4u2sVdCbwCagTY3DIGqn+yVblr7nfeIhQfnmj+SXG5c z6hxqQ kK/BQaltqCnUGnARLjKP2Gr8QZGzRXEkfgU/Ho9x8hC3Jwe54mvUCwD3vuXI5wXE nNXpMWCGt78gpX3i5vfr8ujMZ8K0JTtpHQa9i4yI3wBMkMbcoz N6IQ== =5iEO -----END PGP SIGNATURE----- |
| ||||
| "Regine dessoubret" <grdessoub@noos.fr> wrote: >Hello, > >I have a / that is full and I want to find what files are fulling the >mountpoint / . > >the server is HPUX 11.23 itanium > >Can somebody help me ? > >Thanks in advance. > >Gilles > Could try cd /;du -kx|sort -nr|more will show sizes of directories sorted in size order, as you could be looking for not just large files , but also directories containing lots of small files. the x switch restricts the du to just the / file system, ignores mount points. Ted. ================================================== ============ | Ted Linnell <edlinnell@acslink.net.au> | | | | Nunawading, Victoria , Australia | ================================================== ============ |
| Thread Tools | |
| Display Modes | |
|
|