How to get a specific PID #
rikona
rikona at sonic.net
Thu Dec 31 03:07:32 UTC 2015
Tuesday, December 29, 2015, 9:02:30 PM, Keith wrote:
> On 12/29/2015 02:43 PM, rikona wrote:
>> Running 12.04 updated. I often have several instances of Kate open in
>> various desktops, and occasionally one of them becomes unresponsive,
>> but could be closed without losing something important. [Can move
>> window, no menus come up, no keys seem to do anything, can't close]
>> How can I find out which PID # is associated with a particular
>> instance of Kate [or any other pgm] on a particular desktop, so I can
>> close just THAT instance? I can see them all in htop, but which is
>> which?
> You can use the command: xkill
> to kill any window on the desktop. It is in the X11-UTILS package.
> Using ALT-F2 key combination you run it then an 'X' mouse pointer will
> appear on the desktop. You press the Left mouse button in the window you
> want to kill.
Thanks! Does this work at a 'window' level? I ask because I can still
move the window, but can do nothing inside the window.
The kate window may be running multiple PIDs in a parent/child
way. If I do kill the 'parent' kate PID, would that also kill the
children kate PIDs? If it would, is there a way to keep AND access the
children, and just kill the parent?
--
rikona
More information about the ubuntu-users
mailing list