> That worked nicely, however, winex doesn't have a parent process :(
> I wonder what I/O it's hooked to?  Andrew M. Hoerter mentioned possibly some
> sort of I/O.  Now I'm thinking it's attached to a device driver or hardware.
>
> What's PPID and how do I get to it?
The PPID is the Parent Process ID. On a 'ps -f' listing, it's the third field:
UID        PID  PPID  C STIME TTY          TIME CMD
kwan     16374 16372  0 10:50 pts/4    00:00:00 bash
kwan     16584 16374  0 12:14 pts/4    00:00:00 ps -f
The above shows that process 16584 was started by PPID 16374, which is bash.
If you did a 'ps -ef', it would show that bash was started by an xterm, which
in turn was started by the window manager:
kwan     12988  1077  0 Mar09 ?        00:00:01 /usr/X11R6/bin/fluxbox
kwan     14363 12988  0 Mar10 ?        00:00:01 xterm
kwan     14365 14363  0 Mar10 pts/2    00:00:00 bash
> "man -k ppid" showed:
> getppid [getpid]     (2)  - get process identification
>
-- * The Digital Hermit http://www.digitalhermit.com * Unix and Linux Solutions kwan@digitalhermit.com ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:12:11 EDT