disk usage

what are the ways to check the disc usage by users. I mean to say how to find the biggest space consumer. Regards.

One way is to go into the home directory of the users (for example /usr/home or /home) and then do a:

This will run a disk usage summary in bytes for each user directory tree.

A more complex way is to turn on an accounting system.

Will it show users in descending/ascending order of usage? bcoz as a system administrator, it is many times required to know the users of higher usage.

No, then you pipe the output to a filter (sort) and sort on the disk usage stats. Try reading the man page on sort and enjoy !

ex: du -skc /home/* | sort -nr