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.

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 ...

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.

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 [thread=13774]Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials[/thread] with a link to a tutorial that will answer your question.