Changeset 41 for trunk/cluster_status.php
- Timestamp:
- May 10, 2019, 1:45:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cluster_status.php
r39 r41 176 176 { 177 177 if ( preg_match( "/attlocal/", $org_domain ) ) 178 $clusters = array( "us3iab-devel" , "alamo-local", "taito-local");178 $clusters = array( "us3iab-devel" ); 179 179 else 180 $clusters = array( "us3iab-node0", "taito-local" );180 $clusters = array( "us3iab-node0", "demeler3-local", "taito-local" ); 181 181 } 182 182 else … … 224 224 break; 225 225 } 226 227 case 'demeler3-local': 228 { 229 $host = "us3@demeler3.uleth.ca"; 230 $qstat = `ssh $host '/usr/bin/qstat -B 2>&1|tail -1'`; 231 $sparts = preg_split( '/\s+/', $qstat ); 232 $que = $sparts[ 3 ]; 233 $run = $sparts[ 4 ]; 234 $sta = $sparts[ 10 ]; 235 if ( $sta == "Active" ) 236 $sta = "up"; 237 else 238 $sta = "down"; 239 break; 240 } 241 226 242 case 'jacinto': 227 243 {
Note:
See TracChangeset
for help on using the changeset viewer.