|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need a Script to monitor the File system growth..
Hi ...
please can any one help me t get script to monitor the growth of the filesystems in AIX Box...... Thanks |
|
#2
|
||||
|
||||
|
Help? Possibly. Do it for you? Probably not.
Welcome to Dev Shed. You'll need to provide more information on what you're expecting your end result to be, and you'll need to tell us what you know. Do you know how to get the information about the filesystem manually? Do you know Perl, shell scripting, etc? Do you know cron? How do you want the results?
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
I want to monitor the growth of the each mount point.
and plan for further requirement of disk for future use. |
|
#4
|
||||
|
||||
|
You didn't answer a single question.
|
|
#5
|
||||
|
||||
|
man crontab
man df To make it prettier: man grep, man awk
__________________
According to Sod's Law, buttered toast lands butter side down, when dropped. Per nature, cats always land on their feet. So, what happens when you strap buttered toast to the back of a cat and throw it out a window?. |
|
#6
|
|||
|
|||
|
df -k |awk '{print $3}'
gives me the free space but i want to awk the mount name and convert the values into MB. |
|
#7
|
|||
|
|||
|
df -k | awk '{printf("%s\t%d\n",$(NF),$3/1024)}' - assuming all data is on one line
|
|
#8
|
|||
|
|||
|
thanks simon JM
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Need a Script to monitor the File system growth.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|