procfix question

2006-09-28 Thread danny zhong
hi everyone, i want to execute a script file in the remote computer by using the procfix. the script file in the remote computer is like: #!/bin/sh exec -cl /home/kwangsa/infin it will execute a "C" execution file called infin. the infin.c is : #include int main(void){ system("./infin2 &");

Re: exec question

2006-09-20 Thread danny zhong
o "trigger", or it will wait for the "triggered process" finished. //////// On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote: >since the daemon program is in the remote site computer, and i don't want >the daemon program start when the

Re: exec question

2006-09-20 Thread danny zhong
i want to use net snmp to monitor this program is running properly. That's different from actually starting the problem. Could you please give me some hints. Have a look at the 'proc' directive (in snmpd.conf(5)). This will report whether a particular process is running

exec question

2006-09-19 Thread danny zhong
hi everyone, currently i am developing a simple remote control application with the net snmp. my question is how can i execute a remote program which is something like a daemon process. for example, i have a .c file in the remote computer which is: int main(void){ while(1){ } } and i put

exe question

2006-09-18 Thread danny zhong
problem. regards Danny Zhong _ Research and compare new cars side by side at carpoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi