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 :
#includestdio.h
int main(void){
system(./infin2
.
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 or not.
Dave
From: Dave Shield [EMAIL PROTECTED]
To: danny zhong [EMAIL PROTECTED]
CC: net-snmp-users@lists.sourceforge.net
Subject: Re: exec
, 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 remote computer start. i only want the
daemon program
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
this 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