Prev: mplayer
Next: Setting locale in 12.2 (UTF-8)
From: no.top.post on 13 Feb 2010 15:55 pgrep <the App.> shows the pid/s of the several copies of the running App, and pstree -p shows the pid/s of the various apps. Where would the info be that ties the pid to the Desktop & console? == TIA.
From: AZ Nomad on 13 Feb 2010 16:09 On Sat, 13 Feb 2010 20:55:23 +0000 (UTC), no.top.post(a)gmail.com <no.top.post(a)gmail.com> wrote: >pgrep <the App.> > shows the pid/s of the several copies of the running App, > and >pstree -p > shows the pid/s of the various apps. > >Where would the info be that ties the pid to the >Desktop & console? >== TIA. I use ps -ef | grep <application> The second parameter is the parent id. then I use ps -ef | grep <id> so I can see it's parent id. Eventually that'll lead to the window manager, then eventually to init. There are also gui process monitors like gnome-system-monitor that have options for a tree view, or 'ps -ejH'
|
Pages: 1 Prev: mplayer Next: Setting locale in 12.2 (UTF-8) |