Changeset 35913
- Timestamp:
- Aug 8, 2013, 10:30:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130712/pstamp/scripts/pstamp_server_status
r35486 r35913 155 155 } 156 156 } 157 { 158 # get the space available in the working directory file system 159 my $df_output = `df -h .`; 160 my @lines = split "\n", $df_output; 161 if (scalar @lines == 2) { 162 my ($total, $used, $free, $percent, $part) = split " ", $lines[1]; 163 print "<br><b>Working Directory:</b> $percent $free free out of $total total<br>\n"; 164 } else { 165 print "<br>\n"; 166 print "unexpected output from df:\n$df_output\n"; 167 } 168 169 } 157 170 158 171 # now run the script psstatus to check the status of running requests and finished requests
Note:
See TracChangeset
for help on using the changeset viewer.
