Who's Connected to CMS using Supervisor? (R17 and maybe below)
If you close the program now that'll be the end of it. I will not look for you, I will not pursue you, but if you don't, I will look for you, I will find you and I will boot you.This is exactly the same content as the R18 version of this post but for CMS R17.
The linux w
command will tell you who's currently logged in.
w - display information about currently logged-in users
Run it and you'll see something like this:
$ w
11:12am up 532 day(s), 1:22, 3 users, load average: 0.22, 0.24, 0.25
User tty login@ idle JCPU PCPU what
cmsuser1 pts/2 4:58am 14 14 chip
cmsuser2 pts/3 4:59am 18 18 chip
cmsuser3 pts/4 6:35am 51 51 chip
cms pts/8 10:07am w
Those chip
entries are CMS Supervisor users. If you want to see just those entries, do the following:
$ w | grep chip
cmsuser1 pts/2 4:58am 14 14 chip
cmsuser2 pts/3 4:59am 18 18 chip
cmsuser3 pts/4 6:35am 51 51 chip
Finally, if you just want to see how many people are logged in with Supervisor, use wc
to get a line count:
$ w | grep chip | wc -l
3