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)