Allen Chen(deleted)
|
Questions about background process
|
Allen Chen(deleted)
10/16/2013 4:47 AM
post105944
|
Questions about background process
Hi,
My process ied_device deals with UPnP protocol, it contains networking and multithreaded status processing. And my box
is configured to be started into text mode via /etc/system/config/nophoton. Now a line of script is added into /etc/rc.d
/rc.local to run ied_device when startup:
/usr/local/bin/ied_device -ip 192.168.60.1 -port 49152
The problem is that when the line is written as /usr/local/bin/ied_device -ip 192.168.60.1 -port 49152, login cannot run
and the screen is filled with a lot of output printing messages of ied_device, while the line is written as /usr/local/
bin/ied_device -ip 192.168.60.1 -port 49152 > /dev/null & to run the process in background, login is ok but CPU average
load will be 50% or higher as shown by top command.
How to configure the script to run ied_device with normal CPU load and login running ok?
Allen
|
|
|