Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!zephyr.ens.tek.com!tektronix!sequent!edw From: edw@sequent.UUCP (Ed Wright) Newsgroups: comp.unix.shell Subject: Re: Help w/Disk usage utility Message-ID: <54367@sequent.UUCP> Date: 4 Mar 91 02:12:43 GMT References: <44966@ut-emx.uucp> Reply-To: edw@sequent.UUCP (Ed Wright) Distribution: na Organization: Orygun Society For HUman Rustabillity Assessment Lines: 16 In article <44966@ut-emx.uucp> arthur@ccwf.cc.utexas.edu (Arthur Nghiem) writes: % % I want to write a script that will check the disk usage of a group %of users periodically. I want to be able to warn them when they first exceed %a limit, wait a few days and then automatically compress their files or %remove the newest files that put them over the limit. % I'm hoping that someone has already done this and will be happy %to help out. Please send mail to arthur@ccwf.ccutexas.edu. Scripting in %any shell and/or alernate solutions will be joyfully accepted. Why not just install disk quotas? -- I think I've got the hang of it now .... :w :q :wq :wq! ^d X exit X Q :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz ^[ZZ ZZZZ ^H ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d ^C ^c helpexit ?Quit ?q decwrl or uunet or tek !sequent!edw