Run serveral daemon using python
Posted
by
ylc
on Super User
See other posts from Super User
or by ylc
Published on 2012-09-08T07:53:08Z
Indexed on
2012/09/08
9:40 UTC
Read the original article
Hit count: 273
I noticed that serveral daemon invoked python seperately.
For example, I have both wicd and ibus daemon running on my machine. Instead of launching a single instance of python, the daemons run with two python instance at the same time in htop:
/usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
python2 /usr/share/ibus/ui/gtk/main.py
Is it a waste of doing that?
If yes, how can I improve this?
If no, why avoid putting all daemons run on a single python instance?
© Super User or respective owner