I have a directory called [msc]
I want to know how many MBs are transferred to it every 2 hours.
How can I do this?
Any ideas?
I have a simple idea but I can't translate it into shell script, the idea is:
1- get the size of the folder now, using [du -sm]
2- then get the size of the folder after 2 hours, using the same command.
3- then by subtracting the second value from the first value, I will get the increased rate in MBs.
So as a return question, what is your operating system?
If you are AIX, then have a look at filemon
I have not used it for years, but I think it may do what you want and whilst it may be easy to log growth, filemon can (I think) give you IO rates and you can consider the effect of files being deleted too. Without this, your figures may be skewed if there is someone clearing out old data and you just measure the start and end usage.
So as a return question, what is your operating system?
If you are AIX, then have a look at filemon
I have not used it for years, but I think it may do what you want and whilst it may be easy to log growth, filemon can (I think) give you IO rates and you can consider the effect of files being deleted too. Without this, your figures may be skewed if there is someone clearing out old data and you just measure the start and end usage.
I hope that this helps,
Robin
Liverpool/Blackburn
UK
Dear Sir,
Not AIX, it is Redhat Linux
---------- Post updated at 11:54 PM ---------- Previous update was at 11:53 PM ----------
Quote:
Originally Posted by clx
So where are you stuck? Did you try implementing your idea?
You probably need
Search within the forum if you need help for specific command mentioned above or ask here.
Dear Sir, I will apply your answer and tell you if anything is not ok.
Many thanks for your useful post.
Guys
I have solaris 9 and / root is 100% and there is nothing increased the space every thing normal , I think the problem related to audit
How can I stop or shutdown audit service and start it again ?
Pls advice in the reason of this increasing and is it related to audit service ? . (5 Replies)
rmt0 allows get increased .. !
I have faced this issue in my AIX server, rmt0 allows get increased and it's filled /root till 100%
There is no tape in tape drive why it's increased?
Pls advice.. (1 Reply)
Hi,
We have 200GB SAN volume mounted on Redhat EL 5. which is working fine. As my SAN supports dynamic resizing of volumes, i unmounted the volume and resized the SAN Volume to 300 GB successfully. Then i mounted again but it shows 200GB only but data is intact.
Now, my requirement is to let... (3 Replies)