1.PURPOSE AND SCOPE
At this artichle i am going to explain how to check disk capacity and usage while using external table option.
Ps: I just test it on HP-UX and Linux servers.
2.PRACTICE
2.1. First of all we need to play output of df command. Our purpose is to eliminate space and tab on out and we will change them to comma.And also at script we are not going to take first line of output and we need to eliminate % character.After we eliminate % character we can save this coloum as a number at table and create some alert metrics for ourself. On the below i am going to provide normal df -Pk output and new version of it to save our table as like i talked about it.And i am going to save this output to df.log for other steps. [Read more…]