How to get a specific PID #
rikona
rikona at sonic.net
Thu Dec 31 03:07:49 UTC 2015
Wednesday, December 30, 2015, 12:20:28 PM, Amichai wrote:
> Just use the 't' key to switch htop to 'tree mode'.
Thanks for the tip - it was very helpful in understanding what was
going on even though it does not display all the info I need.
> Amichai
> On Dec 30, 2015 3:48 PM, "Ralf Mardorf" <silver.bullet at zoho.com> wrote:
>> On Wed, 30 Dec 2015 12:09:39 +0100, I wrote:
>> >>xkill
>> >
>> >If the OP wants to know what PID belongs to what window, then wmctrl is
>> >the way to go. There are exceptions, when wmctrl does not provide the
>> >PID, but usually it does provide it. However, I doubt that xkill would
>> >work, if a program doesn't provide a real window anymore, but wmctrl
>> >usually allows to at least determine the PID of the instances that
>> >still work as expected, so the OP just needs to kill the remaining PID
>> >by htop, kill or another command line tool.
>>
>> Assumed somebody wants to know an exceptional case when wmctrl doesn't
>> show the PID:
>>
>>
>> https://lists.archlinux.org/pipermail/arch-general/2015-December/040347.html
>>
>> I can't reboot to my Ubuntu install now, so I only could test it with
>> the Linux I'm currently running.
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
--
rikona
More information about the ubuntu-users
mailing list