Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tnm::sunrpc(n) [suse man page]

sunrpc(n)							 Tnm Tcl Extension							 sunrpc(n)

__________________________________________________________________________________________________________________________________________________

NAME
sunrpc - Call and probe selected Sun RPC services. _________________________________________________________________ DESCRIPTION
The sunrpc command allows to call and probe selected Sun RPC (RFC 1831, RFC 1832) services. SUNRPC COMMAND
sunrpc info host The sunrpc info command returns a list of all registered Sun RPC services on host. Each list element contains the program number, the program version, the protocol name, the port number and the name of the RPC service. The command fails, if host is unknown or if the portmapper does not respond to our request. sunrcp probe host program version protocol The sunrcp probe command tests a Sun RPC service identified by program version protocol on host by calling procedure 0. This proce- dure returns a list of two elements. The first element is the time needed to complete the RPC call and the second element is a string which describes if the probe was successful. sunrpc stat host The sunrpc stat command makes an rstat RPC call to host and returns a list of name type value triples describing the status of the machine. This command fails if host is not reachable or does not support the rstat service. sunrpc mount host The sunrpc mount command retrieves a list of all NFS file systems currently mounted from host. Each element of this list includes the directory name and the host which exports the directory. sunrpc exports host The sunrpc exports command retrieves a list of all NFS file systems exported by host. Each element of this list contains the exported directory name and the list of hosts that are allowed to mount the exported directory. An empty host list means that an exported directory can be mounted by everyone. sunrpc ether host open sunrpc ether host sunrpc ether host close The sunrpc ether command allows to query an etherd daemon for ethernet statistics. You first have to register at the remote etherd using the open command option. Afterwards, you can query the etherd which will return a list of name type value triples describing the packets counted since the last query. You should unregister at the remote etherd using the close option once you are no longer interested in ethernet statistics. sunrpc pcnfs host info [array] sunrpc pcnfs host list [array] sunrpc pcnfs host queue printer [array] sunrpc pcnfs host status printer array The sunrpc pcnfs command allows to retrieve printer status information provided by the pcnfsd daemon. The first command retrieves the daemon identification. The optional array variable will be filled with details about the supported procedures. The second com- mand returns the list of all printer names known by the pcnsfd daemon on host. The optional array is indexed by printer name and contains additional information about each printer. The queue subcommand retrieves the printer queue and returns the actual queue length. Information about queued print jobs is written to the array variable if given. The array is indexed by the queue position and contains information about the print job in key value pairs. The last pcnfs command retrieves printer specific status informa- tion about the printer itself. The status is written into the array variable. SEE ALSO
scotty(1), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm sunrpc(n)

Check Out this Related Man Page

rpc(n)                                                           Tnm Tcl Extension                                                          rpc(n)

__________________________________________________________________________________________________________________________________________________

NAME
rpc - A simple RPC protocol for Tcl applications. _________________________________________________________________ DESCRIPTION
RPC COMMAND
rpc server port Set up an RPC server listening an port port. This command returns a rpc handle that be used to register Tcl procs that will be exported by a trivial RPC protocol on top of TCP. This RPC mechanism allows us to write cooperating scripts without worrying much about the communication protocol. rpc client host port Connect to the RPC server running on host with port port. The returned client handle can be used to invoke an exported proc on the server host. rpc delete handle Delete a server or a client RPC handle. All connections associated with the handle will be closed. rpc register rpchandle proc Export proc as an RPC callable proc using the server handle rpchandle. Only registered procs can be called by RPC clients. rpc unregister rpchandle proc Remove proc from the list of exported procs on server handle rpchandle. rpc info [rpchandle] Calling rpc info without any arguments returns a list of all rpc handles that have been created using the rpc server and rpc client command. Info about a specific rpc file handle rpchandle is returned by using the optional argument. The result is a list contain- ing the tcp file handle used for the communication and the list of registered commands for a rpc handle and a list of all files that represent connections to an rpc server. This list is empty if rpchandle belongs to a rpc client. rpc# [-async] proc arg1 arg2 ... To invoke a remote procedure proc, use the same syntax as used with a local invocation preceeded by a client rpchandle. The result of the remote procedure call will be returned or an error if the underlying communication channel signals errors. The -async options can be used to invoke proc without waiting for it to complete. The async option will never return a result. SEE ALSO
scotty(1), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm rpc(n)
Man Page