packages icon

 LWHO(1)                                                             LWHO(1)

      lwho, luptime - show who is using local machines

      lwho [ -uuser ] [ -mmachine ] [ -x ] [ -a ] [ -i ] [ -r ]

      luptime [ -uuser ] [ -mmachine ] [ -x ] [ -a ] [ -b ] [ -l ] [ -n ] [
      -u ] [ -r ]

      a.out -p [ lwho_options ]

      a.out -h [ luptime_options ]

      Lwho and luptime are the user program for the ``low-cost rwho''
      package.  The read the text files that lwhod(8) creates in an
      NFS-mounted spool directory, and presents the information in a variety
      of useful ways.  The program is linked under two different names, and
      the output will vary depending on how it is invoked.  To find host-
      oriented information, invoke luptime or use the ``-h'' flag.  To find
      person-oriented information, invoke lwho or use the ``-p'' flag.

      By default, the programs show information about all users on all
      hosts.  To see information about a specified set of users or hosts,
      use the ``-u'' flag specify the login names of the desired users, or
      the ``-m'' flag to specify the names of the desired hosts.  These
      flags may be repeated to specify a collection of hosts or users, and
      may be used together to specify an intersection.  For example:
           lwho -u rsalz
           lwho -u root -m -m
           lwho -m -m
      The first line finds all machines where ``rsalz'' is logged in; the
      second line finds if ``root'' is logged in on ``fig'' or
      ``pineapple''; the third line shows all users logged in to either of
      those machines.

      When reporting, output is normally sorted alphabetically by the host
      or user name; this may be specified by using tyhe ``-a'' flag.  To
      sort by uptime (first machine booted first), use the ``-b'' flag.  To
      sort by the number of users (smallest number first), use the ``-n''
      flag.  To sort by the load average (most lightly-loaded machine
      first), use the ``-l'' flag.  To sort by idle time (most recently used
      terminal first), use the ``-i'' flag.  To reverse the sorting,
      regardless of the method, use the ``-r'' flag.  For lwho, only the
      ``-i'' flag makes sense, if any other flag is given it is ignored.
      For luptime, the ``-i'' flag is ignored.

      If no users (for lwho), or no hosts (for luptime), are found, no
      output is generated.  To suppress the banner (useful when feeding into
      a pipeline), use the ``-x'' flag.

                                    - 1 -          Formatted:  June 30, 2022

 LWHO(1)                                                             LWHO(1)

      There are no hueristics to tell if a host is up or down, or ignore
      users who have been idle for a long time the way rwho(1) and
      ruptime(1) can and do.

      /usr/spool/lwho/hostname  Load and user data

      Rich $alz; <>>.

      There is no copyright on this package.


                                    - 2 -          Formatted:  June 30, 2022