Changeset 29174
- Timestamp:
- Sep 17, 2010, 2:53:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_server_status (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_server_status
r27211 r29174 16 16 17 17 my ($rundir, $verbose, $save_temps); 18 my $br = '<br />'; 18 19 19 20 GetOptions( … … 99 100 print "Pantasks Scheduler $scheduler_state.\n"; 100 101 if ($controller_state) { 101 print "Pantasks Controller $controller_state.\n";102 print $br . "Pantasks Controller $controller_state.\n"; 102 103 } else { 103 104 print STDERR "Controller state not found"; 104 105 exit 1; 105 106 } 106 print " \n";107 print "$br$br\n"; 107 108 } else { 108 109 print STDERR "Scheduler state not found"; … … 116 117 117 118 if ($request_run) { 118 print "<b >Parser Status:</b> $request_run->{nrun} running. $request_run->{ngood} parsed successfully. $request_run->{nfail} failed to parse.";119 print "<br /><b>Parser Status:</b> $request_run->{nrun} running. $request_run->{ngood} parsed successfully. $request_run->{nfail} failed to parse."; 119 120 if ($request_fin) { 120 121 print " $request_fin->{ngood} Requests finished."; … … 125 126 print "\n"; 126 127 if ($job_run) { 127 print "<b >Job Status:</b> $job_run->{nrun} running. $job_run->{ngood} completed successfully. $job_run->{nfail} failed";128 print " \n";128 print "<br /><b>Job Status:</b> $job_run->{nrun} running. $job_run->{ngood} completed successfully. $job_run->{nfail} failed"; 129 print "<br />\n"; 129 130 } else { 130 print "Task pstamp.job.run not found. \n";131 print "Task pstamp.job.run not found.<br />\n"; 131 132 } 133 print "<br /><b>Unfinished Requests</b><br />\n"; 134 print "<pre>\n"; 135 system "/home/panstarrs/bills/ipp/tools/psstatus -r "; 136 print "</pre>\n"; 137 print "<br /><b>Requests completed in last 24 hours (most recently completed first)</b><br />\n"; 138 print "<pre>\n"; 139 # finished requests 140 system "/home/panstarrs/bills/ipp/tools/psstatus -f"; 141 print "</pre>\n"; 132 142 } else { 133 143 print "Task pstamp.request.run not found.\n"; … … 135 145 136 146 147 148 137 149 exit 0;
Note:
See TracChangeset
for help on using the changeset viewer.
