
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.