IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42050


Ignore:
Timestamp:
Feb 17, 2022, 2:08:38 PM (4 years ago)
Author:
ippitc
Message:

merge show active labels (MEH, IPP-1001)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20170121/pstamp/scripts/pstamp_server_status

    r36639 r42050  
    3939# isn't necessary if the pstamp/web stuff is configured to point at the
    4040# ipp build. But currently it's running out of Bill's build
    41 my $ipphome = "/home/panstarrs/ipp";
     41
     42# EAM 2017.03.08 : need to point at temporary ITC location:
     43# my $ipphome = "/home/panstarrs/ipp";
     44my $ipphome = "/data/ippc64.1/ippitc";
    4245my $status_cmd = "psstatus";
    4346
     
    4649chdir $rundir or die "failed to cd to $rundir";
    4750
    48 
     51# print "pantasks_client: $pantasks_client\n";
    4952
    5053my $now = `date -u`;
    5154
    52 print "<b>Status updated: &nbsp;&nbsp;&nbsp;</b> $now<br /><br />\n";
     55print "<b>Status updated: &nbsp;&nbsp;&nbsp;</b> $now<br />\n";
    5356
    5457my $down = 0;
     
    118121
    119122    if ($scheduler_state) {
    120         print "Pantasks Scheduler $scheduler_state.\n";
     123        print $br . "Pantasks Scheduler $scheduler_state.\n";
    121124        if ($controller_state) {
    122125            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";
    123129        } else {
    124130            print STDERR "Controller state not found";
Note: See TracChangeset for help on using the changeset viewer.