HP3000-L Archives

April 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Tue, 11 Apr 2000 14:09:07 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (87 lines)
Hi,

I've ported ruptime, rwho, and rwhod to MPE/iX.

See: http://www.allegro.com/software/#RWHO

--------------------
Sample rwho output (run on MPE/iX):

   :rwho
   BOB.GREE lisa:ldev_22     Apr 10 06:21
   MGR.EXPR lisa:ldev_19     Apr 10 05:28
   MGR.EXPR lisa:ldev_24     Apr 11 04:37
   MGR.LPST lisa:ldev_12     Apr 11 05:24
   operator lisa:ldev_20     Mar 31 08:09
   scooper  oz:ttyp5         Apr 11 11:49 :30
   sieler   oz:0             Apr 11 13:25
   sieler2  lisa:ldev_25     Apr 11 05:03

Note: rwho truncates the user name to 9 characters...sorry.

Note: See /etc/mpe_usermap note below to see why "operator"
and "sieler2" showed up the way they did on Lisa (an HP 3000).

Note: The MPE/iX rwhod does not attempt to indicate if a
user is idle.

--------------------
Sample ruptime output (run on MPE/iX (lisa)):

   :ruptime
   lisa          up  20+19:50,     6 users,  load 0.00, 0.00, 0.00
   oz            up  36+03:32,     6 users,  load 1.27, 1.27, 1.27

--------------------
Sample ruptime output (run on HP-UX (oz)):

   /ruptime
   lisa          up  20+19:50,     6 users,  load 0.00, 0.00, 0.00
   oz            up  36+03:32,     6 users,  load 1.27, 1.27, 1.27

--------------------

Note: the MPE/iX RWHOD program does not attempt to determine
a load average...so rwho will report the load as 0.00 for MPE
systems.

---------------
Note: translation of MPE user.account names to "unix" names
done via a new file: /etc/mpe_usermap

Here's my /etc/mpe_usermap:

#000----------------------------------------------------------
#001 notes: MPE->Unix lookup strategy is as follows:
#002    1) session,user,acct -> unix
#003    2)         user,acct -> unix   (blank session value)
#004    3) session,     acct -> unix   (blank user value)
#005    4)              acct -> unix   (blank session & user)
#006
#007 Duplicates of the session,user.acct are not allowed.
#008 Duplicates of Unix name are allowed, *BUT*, the "first"
#009 one found will be used!  Note that that's the first in
#010 *KSAM* order!
#011 The MPE section must be UPPERCASE!
#012 ---------------------------------------------------------
#acct...--username--session.--Unix_user_name (32 chars).......
COOPER                        smc
COOPER    STEVE               scooper
SCOTT     GAVIN               gavin
SIELER    STAN                sieler
SIELER    STAN      EM        sieler2
SYS       MANAGER             root
SYS       OPERATOR            operator
WWW       MGR                 www

The above file has 8 rules in it...lines beginning with "#"
are comments.

My hope is that we can promote a standard for mapping
a unix user <--> MPE user that we can all use (including
HP software, like FTP!)


Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

ATOM RSS1 RSS2