Hi Geyang,
Under Linux (and the other host-type OSs), an IOC is a
single multi-threaded process.
So, naturally, "rebooting" an IOC means restarting the IOC
process, which is usually done by shutting down or killing
the current process and letting the wrapper (e.g. procServ)
handle the restart.
Very often, many Linux IOCs are run on a single host: 20-30
are quite common, I have seen up >300 IOCs on a
server-class Solaris machine.
I am sure you understand that allowing to reboot the server
from any of these IOCs would be a bad idea.
Also, rebooting a server usually needs root access. IOCs
should not be run as root.
Cheers,
~Ralph
On 17/04/2015 09:36, Silver
wrote:
hi,
in IOC Status and Control
(devIocStats), it has an reboot function in subroutine
record, that is ,in devIocStatsSub.c file,
it calls reboot function of linux.
Thanks a lot for your help.
Best wishes
Geyang 2015-04-17