From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079040315748.tru64-unix-managers.marc@archive.invalid> From: Becki Kain Date: Sun, 18 Apr 1999 23:20:14 +0000 To: tru64-unix-managers Subject: {S} quota and transfer count X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079040315748 Original question: Is there a way to count how much disk space one user (but not all users) is using on a 4.0d system, including web, mail, and ftp traffic? and does anyone have a good way to measure how much transfer per day someone has? Thanks to Roy Smith and Greg Sorensen for their responses: find / -user roy -ls will print a list of all my files, sizes, etc. Some sort of awk/perl/python/etc script should then be able to extract the file size information from that and summarize it. Keep in mind that not every file owned by me is a "file", some are directories, some are ttys, etc. Also keep in mind that much of "my" data is in files which are not owned by me -- for example, our mail system keeps *all* mailbox files owned by the mail system (user cyrus), and these would be missed by a scan such as described above. Quotas are the easy answer to the first question. You don't even have to turn them on or enforce them under advfs. Just add the quota options to the mounts in fstab, and poof - you can get the information on a per file system basis. You can write a couple of scripts to automate it on a daily basis. Becki Kain beckers@furph.com -- furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice) info@furph.com http://www.furph.com 734-513-7759 (FAX)