Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ksh for root file system 1

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
/ was filled up 100%. The reason was that there was a filesystem that was not mounted, thus it affected / when it had many files with large size.

If there is .ksh that can get filesystems that are not mounted and give me du, that will be great. In that case, I can monitor which filesystems (that are not mounted) can cause the issues again.

Any ideas, please?

thx much
 
Annihilannic,

That is really cool!!!
One question about the size...
Can we change the size for the display from KB to MB or GB?

thx much
 
My personal preference is to use KB, but you could easily modify the script to divide the values by 1024 or 1024^2 and display MB or GB if you preferred.

I don't like df -h style format where the units are changed, I find it much easier to see at a glance when numbers are bigger if they have a lot more digits :)

Annihilannic.
 
Annihilannic,

sorry, but which line should I modify?

thx much
 
I'm working on a new version that will give you a choice... how's that for service? :)

Annihilannic.
 
Annihilannic,

That will be fantastic!

Really appraciate it.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top