Tuesday, October 8, 2013

VIO Server - df command

www.unixbabuforum.inI have many VIO servers that have filesystem(s) low in space 95% 98%. i am unable to run df command remotely using ssh from one LPAR 
ioscli df 
df is not allowed in restricted shell ? or the ssh settings is not allowing this ? 
i could run the ioscli iosversion command in the remote script on all VIO's from one server but running the script with ioscli df or just df fails with rksh:df not found. 

www.unixbabuforum.inLog in to vios server and run oem_setup_env 

Then 

#lln -s /usr/bin/df /usr/ios/utils/df 

This will put link to /usr/bin/df in /usr/ios/utils directory. You 
should be all set.

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM