IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42049


Ignore:
Timestamp:
Feb 17, 2022, 2:07:53 PM (4 years ago)
Author:
mhuber
Message:

recommit changes to show active labels (cclin33, IPP-1001) since those were removed by r41584

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_server_status

    r41584 r42049  
    5353my $now = `date -u`;
    5454
    55 print "<b>Status updated: &nbsp;&nbsp;&nbsp;</b> $now<br /><br />\n";
     55print "<b>Status updated: &nbsp;&nbsp;&nbsp;</b> $now<br />\n";
    5656
    5757my $down = 0;
     
    121121
    122122    if ($scheduler_state) {
    123         print "Pantasks Scheduler $scheduler_state.\n";
     123        print $br . "Pantasks Scheduler $scheduler_state.\n";
    124124        if ($controller_state) {
    125125            print $br . "Pantasks Controller $controller_state.\n";
     126            # loading active labels
     127            my $runlabels = `echo \"show.labels; quit\" \| pantasks_client -c ~ippitc/pstamp/ptolemy.rc \| tail -n +7`;
     128            print $br . "Current Labels: \n" . $runlabels . "\n";
    126129        } else {
    127130            print STDERR "Controller state not found";
Note: See TracChangeset for help on using the changeset viewer.