IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29105


Ignore:
Timestamp:
Sep 1, 2010, 4:09:20 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Whole command should be displayed now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/who_uses_the_cluster/_who_uses_the_cluster_analyze.pl

    r29103 r29105  
    2626print "<table border=\"1\">\n";
    2727# Scan each logfile
    28 $currentColumn = 0;
    2928foreach $computer (@HOSTS) {
    3029    $LOGFILE=$LOGFILE_BASE.$computer;
     
    4039                # We don't want the 'top' process to be shown
    4140                $line  =~ s/\s+/;/g;
    42                 # print "$line\n";
     41                print "$line\n";
    4342                $line =~ s/^;//g;
    4443                @values = split ';', $line;
     
    4746                $proc =$values[8];
    4847                $mem =$values[9];
    49                 $procname = join(" ", @values[11, -1]); #$values[11..-1];
     48                $size = scalar(@values);
     49                $procname = join(" ", @values[11..$size]); #$values[11..-1];
     50                #print "$size PROCNAME = [$procname]\n";
    5051                if (!defined $summary{$pid}) {
    5152                    # The pid is a new one
Note: See TracChangeset for help on using the changeset viewer.