Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I want to get the disk space usage of each user on the machine. I Have found the command -du but how can I consultate the usage per user? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    3

    Get the disk space usage per user


    Hello,

    I want to get the disk space usage of each user on the machine. I Have found the command -du but how can I consultate the usage per user?

    The only thing I can is to consultate the usage of maps...

    PS: Sorry for my poor english...

    Greetz,

    Dries

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    if you mean usage of the users in the home directories, you can do
    Code:
    cd /home
    du -h --max-depth=1

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    3
    yes but it is for a backup script that users can use ( for school job )

    One of the points that have to be implemented is :

    -possible to consultate the capacity data ( also per user )

    How can I do this? because with above command I have errors when user run this, because they don't have permission

  4. #4
    Just Joined!
    Join Date
    May 2009
    Location
    Maximum city
    Posts
    15
    well i didnt fully understand ur question............but try sudo <command>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •