*BSD News Article 95036


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news-peer.gsl.net!news-penn.gsl.net!news.gsl.net!news.NetVision.net.il!not-for-mail
From: Caroline Parker <wlidir@netvision.net.il>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Help a UNIX Girl :)
Date: 9 May 1997 09:26:07 GMT
Organization: NetVision LTD.
Lines: 20
Message-ID: <5kuqjf$8ia$1@news.NetVision.net.il>
NNTP-Posting-Host: 194.90.144.252
X-Newsreader: News X1.0-34 (Win32)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6836

Hi Friends!!!

I have a little question, i have a Virtual Server in a BSDI Box, now,
i made Directories in which people can put their WEBPAGES and graphics...
The users can also create directories inside their root directories ok?

Now, i need to check that they DO NOT put more files over 3 Mega.
I need to modify this line to check if their WHOLE directory and subdirectories (if they exist)
DO NOT HAVE MORE THAN THE 3 Mega, in that case, send me an e-mail with
the directory's name and memory amount that he is taking.
I made something similar to check  e-mail box files size..... with the cronfile....

07 1 * * * find usr/mail/ -type f -size +102400c -print | mail -s 'OVER 100k Files' caroline@mydomain.com

PLEASE!.. help me to modify this line to let me check the users directories...
Thank YOU VERY MUCH!
I have NOT POSIBILITY in my system TO USE THE QUOTAs to do this...

Caroline :)