The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monitoring Script manoj.solaris SUN Solaris 4 07-27-2007 09:27 AM
Process Monitoring Script Help rdc69 Shell Programming and Scripting 0 08-30-2006 07:55 PM
monitoring script gfhgfnhhn UNIX for Advanced & Expert Users 1 07-14-2006 01:10 PM
Job monitoring script Love High Level Programming 1 06-13-2006 10:56 AM
CPU monitoring script alpha_manic UNIX for Advanced & Expert Users 4 08-25-2005 12:08 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 03-21-2005
legato legato is offline
Registered User
  
 

Join Date: Nov 2004
Location: singapore
Posts: 40
Unhappy monitoring script

hi

can someone help me to write a script to monitor the growth of the directory running at 5 hours interval and then pipe it to a file ?

i only know the manual command "du -sk"

and the worst i dun know anything about script.
  #2 (permalink)  
Old 03-21-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
man crontab ....

First , to start with, run the command at shell prompt
like du , df ... etc to test.

once you are comfortbale with output of above commands,
put those commands in crontab.

so you have to understand the following commands to fulfill your task.

man du
man df
man crontab

All the best ...
  #3 (permalink)  
Old 03-21-2005
legato legato is offline
Registered User
  
 

Join Date: Nov 2004
Location: singapore
Posts: 40
hi

can u help me to write a script on that?
yup i am able to do du -sk
but i don't know how to write a script.
  #4 (permalink)  
Old 03-21-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,127
Please make sure that you have read our rules. And note:
(5) Search the forums database with your keywords before asking.
Please learn how to find and examine our FAQ section. From our home page -> Answers to Frequently Asked Questions. In the FAQ section is an article Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials with a link to a tutorial that will answer your question.
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 09:52 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