TIMFOX123
asked on
is there a substatute for df -k ?
first of all I have to admin I do not understand all this. We have a LOT of solaris, linux and aix systems. I am going to prod systems and need to know if there is 100 megs available to install an app.
df -k has been know to hang systems under very spacific instances.
Is there something safer to use to check usable disk space ?
df -k has been know to hang systems under very spacific instances.
Is there something safer to use to check usable disk space ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Others have addressed the likely cause of the hanging condition.
Setup if you do not already have a monitor system that keeps track of Disk space use and refer to that.
cacti (cacti.net) is one such simple thing to setup (relies on SNMP) to collect data.
If your system/s have been configured for SNMP, you can use snmpwalk -v 2c -c 'community_name' ip
HOST-RESOURCES-MIB::hrStor
HOST-RESOURCES-MIB::hrStor
HOST-RESOURCES-MIB::hrStor
HOST-RESOURCES-MIB::hrStor
HOST-RESOURCES-MIB::hrStor
These three tell you the index, drive, allocation units, total space, used space
ASKER
tfewster:
you are dead on what I need. what does a hung df process look like ?
you are dead on what I need. what does a hung df process look like ?
ASKER
tfewster:
let me redefine it. what can I put before a df -l that would not execute df -l there was any chance of it hanging the box ?
let me redefine it. what can I put before a df -l that would not execute df -l there was any chance of it hanging the box ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
this rocks
thanks
thanks
http://www.brandonhutchinson.com/nfs_timeouts.html