Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-05-10 20:00:43

johnywhy
Member
Registered: 2011-10-09
Posts: 288

How To Kill or Get PID of Panel Lib?

Hi

looking for a simpler way to find a process ID of a panel widget library. The process is libbattery.so, which is the battery monitor applet.

i know i can get the process id with:

ps -ef | grep libbattery.so | grep -v grep | awk '{ print $2 }'

but this seems a bit verbose. i would like to simplify.

trying to use these commands, but getting no output. What am i doing wrong?

pidof libbattery.so
pidof /usr/lib/xfce4/panel/plugins/libbattery.so

the ultimate goal is to kill the process, so it would be preferable to use pkill. But these are not working either:

pkill libbattery.so
pkill /usr/lib/xfce4/panel/plugins/libbattery.so

thx!


arch xfce x86_64

Offline

#2 2015-05-10 20:17:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: How To Kill or Get PID of Panel Lib?

This is a duplicate of on-going thread located here.

@johnywhy, please stop creating multiple threads for the same issue. Lets focus on the original one. Closing this one.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 534.13 KiB (Peak: 544.38 KiB) ]