home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / vms / 13694 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.1 KB

  1. Path: sparky!uunet!nntp1.radiomail.net!portal!apple!agate!ucbvax!ko.hhs.dk!ARNE
  2. From: ARNE@ko.hhs.dk (Arne Vajhxj)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Number of users logged on a cluster member
  5. Message-ID: <0CF3FB7C117FC08D8E@sb.hhs.dk>
  6. Date: 16 Aug 92 14:47:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 21
  11.  
  12. > Is there a way to extract the number of users currently logged on a cluster
  13. > member from a DCL script (The number given by a show user command) ?
  14. > I apologize if this is a trivial question, but I was not able to find it among
  15. > the lexicals.
  16.  
  17. You could try:
  18.  
  19. $ SYS$GW_IJOBCNT=%X800044C0
  20. $ ijob=f$cvui(0,16,f$fao("!AD",4,SYS$GW_IJOBCNT))
  21. $ write sys$output ijob," Interactive jobs"
  22. $ exit
  23.  
  24. It will show the number og interactive jobs on the current node.
  25.  
  26.                                                           Arne
  27.  
  28. Arne Vajhxj                             local DECNET:  KO::ARNE
  29. Computer Department                     PSI:           PSI%23831001304030::ARNE
  30. Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
  31.  
  32.  
  33.