home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!rwa.urc.tue.nl!tgtcmv
- From: tgtcmv@rwa.urc.tue.nl (Martien Verbruggen)
- Newsgroups: comp.unix.admin
- Subject: Re: Help Needed: How to send mail to "e
- Message-ID: <tgtcmv.712224441@rwa.urc.tue.nl>
- Date: 27 Jul 92 08:07:21 GMT
- References: <1992Jul16.224234.13551@cco.calte> <1992Jul17.153708.3411@esds.mdc.c>
- Sender: root@tuegate.tue.nl
- Reply-To: tgtcmv@urc.tue.nl
- Lines: 36
-
- bonney@esds.mdc.com writes:
-
-
- >In article <1992Jul16.224234.13551@cco.caltech.edu> jafl@cco.caltech.edu (John Lindal) writes:
- >>Does anyone know how to send mail to everyone on a particular system
- >>without having to specify all the user names?
- >>
- >>Please respond by e-mail to: jafl@cco.caltech.edu
- >>
- >>P.S. I'm trying to save myself some time every time the system fills up.
- >> When it's full, I have to mail everybody to get them to clean up.
- >>
- >>Thanks
- >>
-
- >I suggest you get a book called "UNIX System Administration", by Nemeth, Snyder,
- >and Seebass, published by Prentice Hall. This is the classic book that every
- >Unix Admin should have. Among other things, it has a script called "spacegripe"
- >which you can call from your cron. It looks for partitions that are getting
- >full, and automatically sends messages to disk-hogs. Unfortunately, the real
- >problem arises when people choose to ignore these messages. What can you do
- >then?
-
- Not much, relying on quota doesn't solve all the problems. I wrote a few
- scripts, that count used space per user, and takes appropriate actions.
- Spacegripe only looks for full file systems, it sometimes is necessary to
- just mail all users at a time about something important concerning the system.
- It then is handy to have a script that outputs all current user names, for
- example by reading the passwd file.
-
- Martien Verbruggen.
- --
- Martien Verbruggen (tgtcmv@chem.tue.nl) | Give every man thine ear,
- | but few thy voice.
- Eindhoven University of technology | - Shakespeare
- Department of Chemical Engineering |===================================
-