[CentOS] script
Marcelo Roccasalva
marcelo-centos at irrigacion.gov.arWed Jul 30 16:39:11 UTC 2008
- Previous message: [CentOS] script
- Next message: [CentOS] Shell script - ping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Jul 28, 2008 at 3:33 AM, Mad Unix <madunix at gmail.com> wrote: > > > Hi ALL > > > #!/bin/sh > # Shell script to monitor or watch the disk space I use this one-liner: df -P| awk '$5+0>90{print $0|"mutt -s df-k@`hostname` user at domain.com"}' Probably, you should add -t ext3 to avoid reporting nfs or other special filesystems... -- Marcelo "¿No será acaso que ésta vida moderna está teniendo más de moderna que de vida?" (Mafalda)
- Previous message: [CentOS] script
- Next message: [CentOS] Shell script - ping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list