[Cialug] Cygwin process control
Jeffrey Ollie
jeff at ocjtech.us
Thu Feb 23 08:19:14 CST 2012
On Thu, Feb 23, 2012 at 12:07 AM, L. V. Lammert <lvl at omnitec.net> wrote:
> We have had no success keeping AutoSSH running, .. so I am trying a bash
> script that works on Linux. Unfortunately, I cannot seem to find any way
> to *get* process information when a link is up!
>
> All ps returns is the main command with no parameters - the only process
> data returned is '/usr/bin/bash'. Not that there would be more than one
> active connection, but has anyone seen a way to get more detail?
What exactly are you looking for? There's a lot of information in
/proc/<pid> for every process. If you want to know what files a
process has open (including network connections) use "lsof".
--
Jeff Ollie
More information about the Cialug
mailing list