Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!hercules!fernwood!oracle!root From: wkaufman@oracle.oracle.com (William P. Kaufman) Newsgroups: comp.os.aos Subject: Re: A command like who or finger Message-ID: <1990Nov15.210828.11215@oracle.com> Date: 15 Nov 90 21:08:28 GMT References: <46007@eerie.acsu.Buffalo.EDU> <1143@dg.dg.com> Reply-To: wkaufman@oracle.com (William P. Kaufman) Organization: Oracle Corporation, Belmont CA Lines: 42 In article <1143@dg.dg.com> uunet!dg!lewine writes: >In article <46007@eerie.acsu.Buffalo.EDU>, v999rlzk@ubvmsd.cc.buffalo.edu (Murat Kincak) writes: >|> Hi !!! >|> I want to check the users who are logged on, at a remote >|> DG mainframe. I am using VMS send/command command for this. >|> If you can send me the command for this I will be very pleased. >|> The host is a node of BITNET but, not internet. >|> The only command that I was able to get an answer is >|> send/command who >|> the reply was the time and OS version and some more. >|> Please send replies to >|> V999RLZK@UBVMS.Bitnet >|> >|> Thanks in advance. > > WHO [!PIDS] > Well, actually, that gets all processes on the local machine, rather than all _users_ on a _remote_ machine. To get users, you can say, [!SONS OP:EXEC] There'll be a few bogus ones, like some of OP's daemons; to get rid of those, you'll have to re-route it to a file and search the file for "CON" (console process). To get processes on a remote machine, use [!PIDS ] assuming you've got Xodiac and RMA running. However, any process can be referred to as :, so !PIDS isn't necessary. So, all together, you want, WHO [!SONS :OP:EXEC] All of this assumes you've got Xodiac and RMA on both the local and remote machine. If you don't, I'm afraid you're stuck trying to port UNIX's rwho, or writing your own. -- Bill K. "Que es mas macho: pineapple o knife?" -- Laurie Anderson Bill Kaufman {...}!{ames,ucbvax}!hplabs!oracle!wkaufman ...in dire need of disclaimer...