How to trace file sytem size change?

I need write a script to trace filesystem size change, such as /home will increase some size and then release some space. I don't know when increase happen. I want to get the size before increase and the size after release. How to write this script?

This has been asked very often. As a hint, parse a df on the specified filesystem(s) and write it to a temp file. Then compare this with a an actual df let's say 1h later. Call this script by an appropriate crontab entry.

If you have a particular question, don't hesitate to ask. The search function of the forum will reveal you examples etc. for sure.

Also this is a shell scripting question, not AIX specific. By seeing that you have about 88 posts already, you should know that there is a special area for shell scripting. Please remember this next time, ty :wink: