tools ->build system->new build system...
输入:
{ "cmd": ["C:\lua\lua53.exe","$file"] }
1. 用 killall命令,加进程名重启
[root@localhost objects]# killall -HUP nagios
2. 用kill命令,加进程号重启
[root@localhost objects]# ps -ef | grep nagios
nagios 3066 1 0 Oct11 ? 00:00:03 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 5169 2510 0 01:28 pts/0 00:00:00 grep nagios
[root@localhost objects]# kill -HUP 3066
nagios 3066 1 0 Oct11 ? 00:00:03 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 5169 2510 0 01:28 pts/0 00:00:00 grep nagios
[root@localhost objects]# kill -HUP 3066