The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
shell script to send email with usage of space in the directory as description : sakthifire Shell Programming and Scripting 3 04-18-2008 05:27 AM
High memory usage in AIX 5.1 jayakumarrt AIX 5 02-14-2008 07:17 PM
need help: how to send email with HIGH priority in shell scripts? _joshua_ Shell Programming and Scripting 2 03-13-2007 01:34 AM
Sun: High kernel usage & very high load averages lorrainenineill UNIX for Advanced & Expert Users 4 02-06-2006 12:32 PM
High kernel usage using sleep handak9 UNIX for Advanced & Expert Users 4 09-19-2005 02:29 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2006
csaha's Avatar
csaha csaha is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 81
Arrow Need to send email on HIGH Disk usage

Hi Guys

I am looking for a python / PERL script which will send me email when ever my disk becomes more than 90% full.

By the way my OS is Win XP.

If anybody have already has written same type of script or something very similar kind of script, that will also be very helpful.

Thanks a lot to all in advance

====================
Thanks & Regards
CSaha
  #2 (permalink)  
Old 05-07-2006
Santi Santi is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 23
Hello,

I use this shell script for Linux boxes,you can try to execute it with "cygwin" in you Windows Box[1]:

Quote:
santi@midori:~$ df -hT | grep -vE "^Filesystem|shm" | awk '{ print $6 }'
62%
20%
1%
The entire script is avaliable at:

http://www.codecomments.com/Unix_She...e851010-2.html

Regards,

[1] http://www.cygwin.com/

--
Santi Saez
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:17 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0