home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sun-barr!sh.wide!wnoc-tyo-news!ccut!s.u-tokyo!kekux!apricot.kek.jp!furukawa
- From: furukawa@apricot.kek.jp (Kazuro Furukawa)
- Newsgroups: comp.unix.ultrix
- Subject: Re: rpc.rstatd
- Message-ID: <1992Aug13.011502.14213@kekux.kek.ac.jp>
- Date: 13 Aug 92 01:15:02 GMT
- References: <19678@plains.NoDak.edu>
- Sender: news@kekux.kek.ac.jp (USENET News System)
- Distribution: comp
- Organization: National Laboratory for High Energy Physics (KEK)
- Lines: 61
- Nntp-Posting-Host: apricot
-
- Hello,
-
- In article <19678@plains.NoDak.edu> grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen) writes:
- >I recently compiled the 'xmon' utility distributed as a part of the X11R5
- >contrib software. It looks very nice but it requires 'rpc.rstatd' to work.
- >I am aware that this is supplied as a part of SunOS and was wondering if
- >there is something available to provide the same functionality for ultrix.
-
- Ultrix does not include all the functionalities of Sun-rpc. You may
- get some of them from Sun-rpc distribution. (e.g. decuac.dec.com:
- /pub/sources/rpc4.0-ultrix.tar.Z) It includes rstat.c, rstat_proc.c
- and rstat.x under the directory rpcsrc/rpcsvc/. The Makefile below
- generates rstat (client) and rstat_svc (server).
-
- However this version of rstat server cannot be invoked from inetd.
- Instead, it needs to be invoked from rc.local explicitly.
-
- Then it will respond to rstat and rup calls. We can see Ultrix machines
- in the rup lists.
-
- I have a relevant question. Are there sources for "rup", "rusers" and
- "rusersd" available?
-
- >Johannes Grosen
- >ISC Group System Administrator
- >401E Minard Hall
- >North Dakota State University
- >(701) 237-8409
-
- ----- Makefile for rstat and rstat_svc -----
- #
- # Makefile for rstat and rstat_svc
- # Kazuro Furukawa, Oct.13.1991. for peach
- #
- CC=cc
- #CFLAGS=-g -I/usr/local/include -L/usr/local/lib -lrpclib
- CFLAGS = -I/usr/local/include
- BIN = rstat rstat_svc
- GEN = rstat_clnt.c rstat_xdr.c rstat_svc.c rstat.h
- LIB = -lrpclib
-
- all: $(BIN)
-
- rstat: rstat.o rstat_xdr.o rstat_clnt.o
- ${CC} -o rstat rstat.o rstat_xdr.o rstat_clnt.o $(LIB)
-
- rstat_svc: rstat_proc.o rstat_xdr.o rstat_svc.o
- ${CC} -o rstat_svc rstat_proc.o rstat_xdr.o rstat_svc.o $(LIB)
-
- rstat.o rstat_proc.o: rstat.h
-
- $(GEN): rstat.x
- rpcgen rstat.x
-
- clean:
- rm -f $(BIN) $(GEN) *.o #* *~
- ----- End -----
- --
- Kazuro Furukawa
- KEK, National Laboratory for High Energy Physics, Japan
- furukawa@kek.jp furukawa@jpnkekvx.bitnet kekvax::furukawa (hepnet)
-