You are not logged in.
Pages: 1
Topic closed
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
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
Pages: 1
Topic closed
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 534.13 KiB (Peak: 544.38 KiB) ]