|
From: | Tzafrir Poupko |
Subject: | Re: pid_parentpid_cmd for MSWin32 missing |
Date: | Sun, 29 Mar 2015 08:54:19 +0300 |
Is this what you need?~/Downloads/parallel-20150322/src $ psPID PPID PGID WINPID TTY UID STIME COMMAND5352 1 5352 5352 con 500 08:28:40 /msys/bin/bash6844 5352 6844 1136 con 500 08:32:51 /msys/bin/psOn Wed, Mar 25, 2015 at 10:23 PM, Ole Tange <tange@gnu.org> wrote: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
[Prev in Thread] | Current Thread | [Next in Thread] |