Rpc

Hello,

I would like to do a program (in C) on which I would have to call 3 or more executables using execl command. But if the executables are situated on another machine say Y and I do a programe on the machine X, is it possible to invoke those executables (binaries) from the other machine (machine Y). I am wondering if the RPC does this, but I don't know how it works?

Thank you in advance

With rpc you have daemon running on a server system that offers procedures that called be invoked remotely. Like nfsd which had read and write procedures that can be called from other systems. This is not really what you want.

All users can use rexec() which uses the rexecd daemon on the remote system. Root can use rcmd() which uses the rshd daemon on the other system. There are man pages for these functions and daemons.