home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6206 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.4 KB  |  75 lines

  1. 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
  2. From: furukawa@apricot.kek.jp (Kazuro Furukawa)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: rpc.rstatd
  5. Message-ID: <1992Aug13.011502.14213@kekux.kek.ac.jp>
  6. Date: 13 Aug 92 01:15:02 GMT
  7. References: <19678@plains.NoDak.edu>
  8. Sender: news@kekux.kek.ac.jp (USENET News System)
  9. Distribution: comp
  10. Organization: National Laboratory for High Energy Physics (KEK)
  11. Lines: 61
  12. Nntp-Posting-Host: apricot
  13.  
  14. Hello,
  15.  
  16. In article <19678@plains.NoDak.edu> grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen) writes:
  17. >I recently compiled the 'xmon' utility distributed as a part of the X11R5
  18. >contrib software. It looks very nice but it requires 'rpc.rstatd' to work.
  19. >I am aware that this is supplied as a part of SunOS and was wondering if
  20. >there is something available to provide the same functionality for ultrix.
  21.  
  22. Ultrix does not include all the functionalities of Sun-rpc.  You may 
  23. get some of them from Sun-rpc distribution.  (e.g. decuac.dec.com: 
  24. /pub/sources/rpc4.0-ultrix.tar.Z)  It includes rstat.c, rstat_proc.c
  25. and rstat.x under the directory rpcsrc/rpcsvc/.  The Makefile below 
  26. generates rstat (client) and rstat_svc (server).
  27.  
  28. However this version of rstat server cannot be invoked from inetd. 
  29. Instead, it needs to be invoked from rc.local explicitly. 
  30.  
  31. Then it will respond to rstat and rup calls.  We can see Ultrix machines 
  32. in the rup lists.
  33.  
  34. I have a relevant question.  Are there sources for "rup", "rusers" and 
  35. "rusersd" available?
  36.  
  37. >Johannes Grosen
  38. >ISC Group System Administrator
  39. >401E Minard Hall
  40. >North Dakota State University
  41. >(701) 237-8409
  42.  
  43. ----- Makefile for rstat and rstat_svc -----
  44. #
  45. # Makefile for rstat and rstat_svc
  46. # Kazuro Furukawa, Oct.13.1991.  for peach
  47. #
  48. CC=cc
  49. #CFLAGS=-g -I/usr/local/include -L/usr/local/lib -lrpclib
  50. CFLAGS = -I/usr/local/include
  51. BIN = rstat rstat_svc
  52. GEN = rstat_clnt.c rstat_xdr.c rstat_svc.c rstat.h
  53. LIB = -lrpclib
  54.  
  55. all:    $(BIN)
  56.  
  57. rstat:    rstat.o rstat_xdr.o rstat_clnt.o
  58.     ${CC} -o rstat rstat.o rstat_xdr.o rstat_clnt.o $(LIB)
  59.  
  60. rstat_svc: rstat_proc.o rstat_xdr.o rstat_svc.o
  61.     ${CC} -o rstat_svc rstat_proc.o rstat_xdr.o rstat_svc.o $(LIB)
  62.  
  63. rstat.o rstat_proc.o:    rstat.h
  64.  
  65. $(GEN):    rstat.x
  66.     rpcgen rstat.x
  67.  
  68. clean:
  69.     rm -f $(BIN) $(GEN) *.o #* *~
  70. ----- End -----
  71. -- 
  72. Kazuro Furukawa
  73. KEK, National Laboratory for High Energy Physics, Japan
  74. furukawa@kek.jp   furukawa@jpnkekvx.bitnet   kekvax::furukawa (hepnet)
  75.