NETUSERS authors: Andrew W Potter ! network object stuff Terry Peploski ! REGIS graphics Rochester Institute of Technology 20 April 1984 permission is hereby granted to copy, distribute, modify, repair (but not sell) this software provided that some mention of the original authors remains. (if anyone makes it better then we would like to see it) This program generates a graphic display of the user and batch job count on up to 5 decnet systems. currently this program looks at decnet nodes named vaxa,vaxb,vaxc,vaxd, and vaxe. (this can be changed by assigning logical names for these names) The display runs continiously updating itself every 5 seconds until a ctrl /c is hit (which attempts to get you out of graphics mode) This program will run on either a GIGI (VK-100) or a VT-125 If you have a vt-241 then issue the following command before running $ SET TERM/DEV=VT125 to run this program the following environment must be set up: 1) On the system that this program will be run the following logical names must be defined. (if you want to make it available to all users then place the logical names in the system table.) $ define vaxa _node1:: $ define vaxb _node2:: $ define vaxc _node3:: $ define vaxd _node4:: $ define vaxe _node5:: Do this for each of your nodes (up to 5 max) Where "_node1::" thru "_node5::" are the decnet names for your nodes. The program will run if there is at least one node name logically defined. 2) Place the following files in the default DECnet account on each system that will be monitored by netusers SYS$SYSDEVICE::[DECNET]NETUSE.COM;1 which contains: $ define/user sys$output sys$net $ run sys$login:usecont and: USER:[DECNET]USECONT.EXE;1 this program (supplied in this directory) reads the system values for IJOBCNT and BJOBCNT and dumps them into standard output (which is defined to be SYS$NET) If you are running vms v3.4 or later then protect the default DECNET account from owner access (W:E) and make the directory and the above files belong to SYSTEM. (this will keep the NETSERVER.LOG files out of the default directory.) If you want, you can make NETUSE a known decnet object and place the above files in SYS$SYSTEM. (i didn't bother) If have non-VMS decnet nodes that you wish NETUSERS to report from, then a network object similar to USECONT must be developed for that node. Currently only a VMS version of the USECONT object is supplied. NOTE: While netusers is running, there will be one link established to each of the nodes that it is monitoring (2 to the local node if it is included in the list)