It is currently Mon, 08 Aug 2022 20:02:24 GMT



 
Author Message
 Check disk space usage for user
HALO!

Is there any shell script / simple program that can tells you how many
disk space you are using?  Better have both ~ and /usr/mail/spool/~
displayed.

Thanks!

CYA!

--
=======================================================================
From the Gardener -- Relentless pursuit for the truth and perfection!!!
Sen Sui (Computer Science at Rensselaer!!!)              <s...@rpi.edu>
=======================================================================



 Mon, 18 May 1998 03:00:00 GMT   
 Check disk space usage for user
du

Good luck,
Jim.

: HALO!

: Is there any shell script / simple program that can tells you how many
: disk space you are using?  Better have both ~ and /usr/mail/spool/~
: displayed.

: Thanks!

: CYA!

: --
: =======================================================================
: From the Gardener -- Relentless pursuit for the truth and perfection!!!
: Sen Sui (Computer Science at Rensselaer!!!)              <s...@rpi.edu>
: =======================================================================

--
--                 Dr. James V. Silverton   j...@helix.nih.gov
                   301-496-1515 (OFFICE)    301-402-3404 (FAX)
    NHLBI/LBC, 10/7N-307, 10 CENTER DR MSC 1676, BETHESDA MD 20892-1676  



 Tue, 19 May 1998 03:00:00 GMT   
 Check disk space usage for user

    Sen> HALO!  Is there any shell script / simple program that can
    Sen> tells you how many disk space you are using?  Better have
    Sen> both ~ and /usr/mail/spool/~ displayed.

How about this?

   Yes?> apropos usage
   du (1)               - summarize disk usage
   getrlimit (2)        - get/set resource limits and usage
   getrusage (2)        - get/set resource limits and usage
   nnusage (1)          - display nn usage statistics
   quota (1)            - display disk usage and limits
   quotacheck (8)       - scan a file system for disk usages
   setrlimit (2)        - get/set resource limits and usage

The first one seems promising...

   Yes?> man du
   [blahblahblah]

   Yes?> du -s ~ /usr/spool/mail/jacob
   94153   /usr/home/jacob
   0       /usr/spool/mail/jacob

Would this be what you are after?

Hope this helps.
Jacob.



 Wed, 20 May 1998 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. Checking disk space usage

2. Disk space usage per user

3. reporting disk space usage by users

4. Checking Memory (not disk) Usage

5. check the disk usage

6. checking disk usage

7. checking disk usage

8. Disk space usage!!!!

9. How to monitor disk space usage and performance

10. how to display vxvm vm disk % space usage


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software