Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!jpradley!jpr From: jpr@jpradley.jpr.com (Jean-Pierre Radley) Newsgroups: comp.unix.shell Subject: Re: Help w/Disk usage utility Message-ID: <1991Mar03.193008.18110@jpradley.jpr.com> Date: 3 Mar 91 19:30:08 GMT References: <44966@ut-emx.uucp> Distribution: na Organization: NYC Public Unix Lines: 13 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. It exists. It's called /usr/bin/quot. > 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. Try piping the ouput of quot into awk to pick out the violators. Jean-Pierre Radley NYC Public Unix jpr@jpradley.jpr.com CIS: 72160,1341