Link to home
Start Free TrialLog in
Avatar of TIMFOX123
TIMFOX123Flag for United States of America

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 ?





SOLUTION
Avatar of jgiordano
jgiordano
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jason987
jason987

If you are indeed hanging because of network mounts:

http://www.brandonhutchinson.com/nfs_timeouts.html
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arnold

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::hrStorageIndex
HOST-RESOURCES-MIB::hrStorageDescr
HOST-RESOURCES-MIB::hrStorageAllocationUnits
HOST-RESOURCES-MIB::hrStorageSize
HOST-RESOURCES-MIB::hrStorageUsed
These three tell you the index, drive, allocation units, total space, used space
Avatar of TIMFOX123

ASKER

tfewster:

you are dead on what I need. what does a hung df process look like ?

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 ?  
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
this rocks

thanks