[comp.unix.questions] Long "rwho"s

ccs013@castor.ucdavis.edu (Jason) (05/17/89)

Just thought I'd thow in an idea. If you have any other or better one, please
respond:

Have you ever done an "rwho"  and there are so many people on you network that
it scrolls your screen?  Isn't it a real pain!?  Well, heres a solution I
thought up:

alias rwho 'rwho | chop 16 | chop 13 14 | pr -4 -t -l1'
or
alias rwh 'rwh | chop 16 | chop 13 14 | pr -4 -t -l1'

it will give you an output like this (the "rwho" of course):

e5as051	     c	  e5as067      c    operator	 u    s142007	   d
s142015	     c	  s142023      c    s142023	 d    u381349596ea d
u555370847ea d	  u558813523ea d    u562299989ea d    u571719246ea d

etc..... there were many more...

The single letters are the first letter of the machines that I may "rwho" to/at.

Good Luck...ideas? ideas!? .....
-----------------------------------------

Long religious sig, type 'n' now  ;)

   ___    ___   __    ___  )___    __________________________________
  (   |  '__|  (__   /  /  /  /    |          Matthew 16:25         |
   \  |  (__)\  __) /__/  /  /     |"For whoever wishes to save his |
    \_| Internet: jygabler@ucdavis |life shall lose it; but whoever |
      | BITNET:   jygabler@ucdavis |loses his life for My sake shall|
      | UUCP:     ucdavis!jygabler |find it."                       |
                                   ----------------------------------
   

ghe@nucthy.physics.orst.edu (Guangliang He) (05/17/89)

In article <4321@ucdavis.ucdavis.edu> ccs013@castor.ucdavis.edu (Jason) writes:
=Just thought I'd thow in an idea. If you have any other or better one, please
=respond:
=
=Have you ever done an "rwho"  and there are so many people on you network that
=it scrolls your screen?  Isn't it a real pain!?  Well, heres a solution I
=thought up:
=
=alias rwho 'rwho | chop 16 | chop 13 14 | pr -4 -t -l1'
=or
=alias rwh 'rwh | chop 16 | chop 13 14 | pr -4 -t -l1'
=
=it will give you an output like this (the "rwho" of course):
=
=e5as051	     c	  e5as067      c    operator	 u    s142007	   d
=s142015	     c	  s142023      c    s142023	 d    u381349596ea d
=u555370847ea d	  u558813523ea d    u562299989ea d    u571719246ea d
=
=etc..... there were many more...
=
=The single letters are the first letter of the machines that I may "rwho" to/at.
=
=Good Luck...ideas? ideas!? .....
=-----------------------------------------
=

I don't understand why I should be interested on those irrelevant users on
other machines. Particularly when the # of users is big. If I want to see
the users on some particular machine 'rwho | fgrep machine' does the fine
job. If I want to see a particular user, I do 'rwho | fgrep user'
-----------------------------------------------------------------------
                                   |
USMAIL:   Guangliang He            |  INTERNET: ghe@PHYSICS.ORST.EDU
          Department of Physics    |            ghe@jacobs.CS.ORST.EDU
          Oregon State University  |  BITNET:   hegl@orstvm.bitnet
          Corvallis, OR 97331      |  PHONE:    (503) 754-4631
                                   |
-----------------------------------------------------------------------