IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 20, 2026, 1:10:08 PM (7 weeks ago)
Author:
mhuber
Message:

comment out df to avoid stalling with NFS issues until properly fixed (IPP-2444)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_server_status

    r42049 r42974  
    164164if ($workdir) {
    165165    # get the space available in the working directory file system
    166     my $df_output = `df -h $workdir`;
    167     my @lines = split "\n", $df_output;
    168     foreach my $line (@lines) {
    169         next unless $line =~ /data/;
    170         my ($total, $used, $free, $percent, $part) = split " ", $line;
    171         print "<br><b>Server Working Directory:</b>&nbsp;&nbsp;$percent full. $free free out of $total total.<br>\n";
    172     }
     166    ## df can stall with NFS issues, need to code better, but not really used anymore so comment out for now
     167    print "<br>Server Working Directory -- status missing/broken for while and can have NFS issues, removed in pstamp_server_status <br>\n";
     168    #my $df_output = `df -h $workdir`;
     169    #my @lines = split "\n", $df_output;
     170    #foreach my $line (@lines) {
     171    #    next unless $line =~ /data/;
     172    #    my ($total, $used, $free, $percent, $part) = split " ", $line;
     173    #    print "<br><b>Server Working Directory:</b>&nbsp;&nbsp;$percent full. $free free out of $total total.<br>\n";
     174    #}
    173175
    174176}
Note: See TracChangeset for help on using the changeset viewer.