Note: forwarded message attached.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--- Begin Message ---
I have run the "hwbrowser" from the menu. Then i tried
to kill hwbrowser from terminal.
1.kill pid_of_hwbrowser
--> This command kills only binary (hwbrowser) run by
the normal user, not the main application because
there are many (3) processes running along with
hwbrowser. and they are.
[ankit@ankit ~]$ ps -aux | grep hwbrowser
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
ankit 6355 1.0 1.5 18460 8108 pts/2 S
12:38 0:00 hwbrowser
root 6356 0.0 0.2 7472 1396 pts/2 S
12:38 0:00 /usr/sbin/userhelper -w hwbrowser
root 6360 0.0 0.1 6772 952 pts/2 S
12:38 0:00 /bin/sh /usr/share/hwbrowser/hwbrowser
root 6361 8.1 3.3 28276 16976 pts/2 S
12:38 0:01 /usr/bin/python
/usr/share/hwbrowser/DeviceList.py
ankit 6370 0.0 0.1 5816 660 pts/2 R+
12:39 0:00 grep hwbrowser
[ankit@ankit ~]$
2. So, i thought i need to kill all other processes
also along with hwbrowser. So,
[ankit@ankit ~]$ killall -g hwbrowser
[1]+ Terminated hwbrowser
[ankit@ankit ~]$ ps -aux | grep hwbrowser
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
root 6360 0.0 0.1 6772 952 pts/2 S
12:38 0:00 /bin/sh /usr/share/hwbrowser/hwbrowser
root 6361 1.2 3.3 28276 16976 pts/2 S
12:38 0:01 /usr/bin/python
/usr/share/hwbrowser/DeviceList.py
ankit 6373 0.0 0.1 4652 656 pts/2 R+
12:40 0:00 grep hwbrowser
Still gui of hwbrowser running.
If you have run hwbrowser from Menu (gui) then --> All
other gui applications closed and gnome-panel
restarted.
If you have run hwbrowser from same terminal (console)
then --> Other gui applications and gnome-panel will
not get affected.
3. So, finally i thought i need to be root to kill all
the instances of hwbrowser. And,
[root@ankit ~]# ps -aux | grep hwbrowser
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.3/FAQ
root 6412 0.0 0.1 4656 668 pts/2 S+
12:47 0:00 grep hwbrowser
[root@ankit ~]#
Now hwbrowser killed fully...
If you have run hwbrowser from Menu (gui) then --> All
other gui applications closed and gnome-panel
restarted.
If you have run hwbrowser from same terminal (console)
then --> Other gui applications and gnome-panel will
not get affected.
This is not specific to hwbrowser only but most of the
applications created in python included in fedora-core
software.
So, i want to know is there any solution to kill
hwbrowser(which have been running from Menu(gui) not
from the same terminal) without affecting other
applications?
Thank You!
Ankit Patel
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--- End Message ---
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list