0
(0)

As a DBA, many a times we need to know what files and directories are consuming more space on our unix file system.

In this article, i will try to share to share the commands that are used to achieve the same for Linux and SUN OS platform.

[dbalyf@linux] # du -sh * |sort -rh |tail -10

2.0G file1
300M file2
10M file3

[dbalyf@linux] # du -hsx * |sort -rh |tail -10

2.0G file1
300M file2
10M file3

dbalyf@SunOS] # du -h |sort -nr |head -n10

2.0G file1
300M file2
10M file3

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.