From: CSBVAX::CSBVAX::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 9-FEB-1989 06:49 To: MRGATE::"ARISIA::EVERHART" Subj: Cluster-wide show users (CLUSTER_WHO). Received: From KL.SRI.COM by CRVAX.SRI.COM with TCP; Wed, 8 FEB 89 16:25:17 PDT Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Wed, 8 Feb 89 15:54:47 PST Received: by ucbvax.Berkeley.EDU (5.61/1.33) id AA16084; Wed, 8 Feb 89 15:31:10 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 8 Feb 89 23:13:45 GMT From: quanta.eng.ohio-state.edu!kcgl1.eng.ohio-state.edu!JONESD@tut.cis.ohio-state.edu (David Jones) Organization: Ohio State University Subject: Cluster-wide show users (CLUSTER_WHO). Message-Id: <1729@quanta.eng.ohio-state.edu> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com I wrote a cluster-wide show user utility that displays all users logged in on all nodes of a cluster. It works by having a detached process periodically (2 min.) poll the system and pass that information via DECnet and the distributed lock manager to the daemons on the other nodes. When the user runs the same image as a client, CLUSTER_WHO queries the local daemon for the latest information, formats it, and writes it to sys$output. The utility has three major features: > Low system overhead. CPU utilization is below 1% for a 5 node cluster with 20-50 concurrent users. > Quick response to client requests. Obtaining the list of cluster-wide users takes the same amount of time as a normal SHOW USER command. > The utility is self configuring. The node list is built up using the lock manager and DECnet transactions. The source is written in FORTRAN and will be posted in 3 parts as encoded data. Concatenate the 3 pieces together and invoke as a command procedure. Decoding of the data is done entirely in DCL, so it is very slow (2 hrs on a microvax). Once decoded, however, you'll have a compressed text library containing the source and a command procedure to build the image from the source. David L. Jones | Phone: (614) 292-6929 Ohio State Unviversity | Internet: 1971 Neil Ave. Rm. 406 | jonesd@kcgl1.eng.ohio-state.edu Columbus, OH 43210 | jones-d@eng.ohio-state.edu Disclaimer: A repudiation of a claim.