Hi there ...

Please apply the attached patch, to suppress
the following error message on Linux:

  sh: vm_stat: command not found


Thomas
--- parallel.org
+++ parallel.new
@@ -2239,7 +2239,7 @@
        # If the (remote) machine is Mac we should use vm_stat
        # swap_in and swap_out on GNU/Linux is $7 and $8
        # swap_in and swap_out on Mac is $10 and $11
-       $swap_activity = q[ { vmstat 1 || vm_stat 1; } 2> /dev/null | ].
+       $swap_activity = q[ { vmstat 1 2> /dev/null || vm_stat 1; } | ].
            q[ awk 'NR!=4{next} NF==16{print $7*$8} NF==11{print $10*$11} 
{exit}' ];
         if($self->{'string'} ne ":") {
             $swap_activity = $self->sshcommand() . " " . $self->serverlogin() 
. " " .

Reply via email to