Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Tutorials

Tutorials Programming Tutorials - Post your tutorials here!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-11-2006, 10:05 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,127
Last Blog:
Ext JS or Ext GWT
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Perl: Disk Space

This is a perl script written to check the the disk space of a certain partion/directory.

This was written for HP-UX and has not been tested on Linux. Modify for your needs.

###########################
Description:
Detect if the $dir is over $percent full of data and
send an email if so.
Change $email to your email
Change $message to your message (below)

Usage: diskspace.pl [directory] [percent]
Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-11-2006, 01:27 PM
RobSoftware RobSoftware is offline
Programmer
 
Join Date: Nov 2005
Posts: 143
Credits: 12
Rep Power: 12
RobSoftware is on a distinguished road
Default

Thanks, I need something that does this function. Now I won't have to create it myself.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-17-2006, 08:45 PM
getlies getlies is offline
Learning Programmer
 
Join Date: Aug 2006
Posts: 55
Credits: 0
Rep Power: 9
getlies is on a distinguished road
Default

Thanl you very much

I was just looking for something like this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-07-2007, 09:13 PM
saltydog4791 saltydog4791 is offline
Newbie
 
Join Date: Feb 2007
Posts: 1
Credits: 0
Rep Power: 0
saltydog4791 is on a distinguished road
Default

thanks so much for this. was looking for something simple like this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-22-2007, 10:12 AM
rigal rigal is offline
Newbie
 
Join Date: Feb 2007
Posts: 2
Credits: 0
Rep Power: 0
rigal is on a distinguished road
Default

does not working in my case
Perl 5.006001
Solaris
It says "Can't exec 'bdf': no such file or directory...'
Eats df only.

Last edited by rigal; 02-22-2007 at 10:37 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 05-28-2007, 02:24 AM
chrys chrys is offline
Newbie
 
Join Date: May 2007
Posts: 1
Credits: 0
Rep Power: 0
chrys is on a distinguished road
Default

Thank you for sharing your codes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-20-2007, 12:49 PM
rickyg168 rickyg168 is offline
Newbie
 
Join Date: Jun 2007
Posts: 3
Credits: 0
Rep Power: 0
rickyg168 is on a distinguished road
Default

thanks for this. need it badly
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-20-2007, 12:55 PM
rickyg168 rickyg168 is offline
Newbie
 
Join Date: Jun 2007
Posts: 3
Credits: 0
Rep Power: 0
rickyg168 is on a distinguished road
Default

Quote:
Originally Posted by rigal View Post
does not working in my case
Perl 5.006001
Solaris
It says "Can't exec 'bdf': no such file or directory...'
Eats df only.
i experience the same problem. anyone who knows how to resolve this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-21-2007, 11:02 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,127
Last Blog:
Ext JS or Ext GWT
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

You are also using Solaris?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-26-2007, 05:19 AM
rickyg168 rickyg168 is offline
Newbie
 
Join Date: Jun 2007
Posts: 3
Credits: 0
Rep Power: 0
rickyg168 is on a distinguished road
Default

Quote:
Originally Posted by Jordan View Post
You are also using Solaris?
Nope. I would like to use this program in windows XP. how will i do it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl is Dead. Long live Perl. Kernel Programming News 3 08-10-2007 11:49 AM
speed up your hard disk pranky Tutorials 4 07-12-2007 05:43 PM
Perl Tutorial Course for Windows priorityone Perl 22 02-11-2007 01:57 AM
Password Reset Disk PC101 Technology Ramble 0 09-12-2006 09:42 PM
Replace any amount of space Frantic C# Programming 4 08-16-2006 10:23 PM


All times are GMT -5. The time now is 02:42 AM.

Contest Stats

WingedPanther ........ 2630.54
Xav ........ 2576.41
Brandon W ........ 1697.27
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 378.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads