home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!nntp1.radiomail.net!portal!apple!agate!ucbvax!ko.hhs.dk!ARNE
- From: ARNE@ko.hhs.dk (Arne Vajhxj)
- Newsgroups: comp.os.vms
- Subject: Re: Number of users logged on a cluster member
- Message-ID: <0CF3FB7C117FC08D8E@sb.hhs.dk>
- Date: 16 Aug 92 14:47:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 21
-
- > Is there a way to extract the number of users currently logged on a cluster
- > member from a DCL script (The number given by a show user command) ?
- > I apologize if this is a trivial question, but I was not able to find it among
- > the lexicals.
-
- You could try:
-
- $ SYS$GW_IJOBCNT=%X800044C0
- $ ijob=f$cvui(0,16,f$fao("!AD",4,SYS$GW_IJOBCNT))
- $ write sys$output ijob," Interactive jobs"
- $ exit
-
- It will show the number og interactive jobs on the current node.
-
- Arne
-
- Arne Vajhxj local DECNET: KO::ARNE
- Computer Department PSI: PSI%23831001304030::ARNE
- Business School of Southern Denmark Internet: ARNE@KO.HHS.DK
-
-
-