[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pid_parentpid_cmd for MSWin32 missing
From: |
Ole Tange |
Subject: |
Re: pid_parentpid_cmd for MSWin32 missing |
Date: |
Wed, 25 Mar 2015 20:23:53 +0100 |
On Tue, Mar 24, 2015 at 2:39 PM, Tzafrir Poupko <tzafrir@ceemple.com> wrote:
> Hi,
> I'm getting the below error, using msys on windows 7
>
> ~/Downloads/parallel-20150322/src $ ./parallel -version
> parallel: This should not happen. You have found a bug.
> Please contact <parallel@gnu.org> and include:
> * The version number: 20150322
> * The bugid: pid_parentpid_cmd for MSWin32 missing
You are likely the first to run version 20150322 under msys. I need a
command that spits out 3 columns:
PID ParentPID COMMAND
On BSD you can use:
ps -o pid,ppid,command -ax
On SysV you can use:
ps -ef | perl -ane '1..1 and /^(.*)CO?MM?A?N?D/ and $s=length
$1;s/^.{$s}//; print "@F[1,2] $_"'
On Cygwin you can use:
perl -ne 'close STDERR; /Name/ and print"\n";
/(Name|Pid|Ppid|State):\s+(\S+)/ and print "$2\t";' /proc/*/status |
awk '{print $2,$3,$1}'
Most likely one of those will work on msys. Can you test those and get back?
/Ole
PS: If you have not already donated to protect the GPL, you can still make it:
https://sfconservancy.org/linux-compliance/vmware-lawsuit-faq.html