Changeset 674 for trunk


Ignore:
Timestamp:
05/23/12 15:40:20 (12 years ago)
Author:
aclsce
Message:

"quota" command is now available on SX9 nodes : the use of ssh is not needed
anymore to check the quota of volume on the scratchdir.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_mercurex9.ksh

    r664 r674  
    16011601 
    16021602  # Check of the volume (use of RshMaster waiting for ccc_quota command available on SX9 nodes) 
    1603   volume_quota=$( IGCM_sys_RshMaster "/applications/ccc-tools/ccc_quota | grep ' scratch' | awk '{print \$2}'" ) 
    1604   volume_avail=$( IGCM_sys_RshMaster "/applications/ccc-tools/ccc_quota | grep ' scratch' | awk '{print \$3}'" ) 
    1605  
    1606   #  volume_quota=$(ccc_quota | grep ' scratch' | awk '{print $2}') 
    1607   #  volume_avail=$(ccc_quota | grep ' scratch' | awk '{print $3}') 
     1603#  volume_quota=$( IGCM_sys_RshMaster "/applications/ccc-tools/ccc_quota | grep ' scratch' | awk '{print \$2}'" ) 
     1604#  volume_avail=$( IGCM_sys_RshMaster "/applications/ccc-tools/ccc_quota | grep ' scratch' | awk '{print \$3}'" ) 
     1605 
     1606  volume_quota=$(quota -h | grep 'scratch' | awk '{print $2}') 
     1607  volume_avail=$(quota -h | grep 'scratch' | awk '{print $3}') 
    16081608 
    16091609  if ( [ ! X${volume_quota} = X ] && [ ! ${volume_quota} = "-" ] ) ; then 
Note: See TracChangeset for help on using the changeset viewer.