This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: PID & WINPID
- From: Steven Penny <svnpenn at gmail dot com>
- To: Andrey Repin <cygwin at cygwin dot com>
- Date: Sun, 9 Feb 2014 09:17:22 -0600
- Subject: Re: PID & WINPID
- Authentication-results: sourceware.org; auth=none
- References: <52F796A3 dot 5090400 at mail dot com>
On Sun, Feb 9, 2014 at 8:54 AM, Todd Poole wrote:
> What is a simple straight forward way I can code the script to obtain the
> process cygwin pid by the process name and perform dumper?
This should get you started
set calc
dumper $1 $(ps -W | awk "/$1/,NF=1")
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple