Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ whodo(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ps(1)

who(1)

whodo(1M)                                                         whodo(1M)

NAME
     whodo - who is doing what

SYNOPSIS
     /usr/sbin/whodo [-h] [-l] [user]

DESCRIPTION
     whodo produces formatted and dated output from information in the
     /var/adm/utmp, /etc/psdata, and /proc/pid files.

     The display is headed by the date, time, and machine name. For each
     user logged in, device name, login-ID, and login time is shown, fol-
     lowed by a list of active processes associated with the login-ID. The
     list includes the device name, process-ID, CPU minutes and seconds
     used, and process name.

     If user is specified, output is restricted to all sessions pertaining
     to that user.

OPTIONS
     -h   Suppresses the heading.

     -l   Produces a long form of output. The fields displayed are: the
          user's login name, the name of the tty the user is on, the time
          of day the user logged in (in hours:minutes), the idle time -
          that is, the time since the user last typed anything (in
          hours:minutes), the CPU time used by all processes and their
          children on that terminal (in minutes:seconds), the CPU time used
          by the currently active processes (in minutes:seconds), and the
          name and arguments of the current process.

EXAMPLES
     The command:

          whodo

     produces a display like this:

          Tue Mar 12 15:48:03 1993
          SINIX-P

          tty09    hofu      8:51
              tty09   28158    0:29 ksh

          tty52    jjb      15:23
              tty52   21688    0:05 sh
              tty52   22788    0:01 whodo
              tty52   22017    0:03 vi
              tty52   22549    0:01 sh






Page 1                       Reliant UNIX 5.44                Printed 11/98

whodo(1M)                                                         whodo(1M)

          xt162    kneba    10:20
              tty08    6748    0:01 layers
              xt162    6751    0:01 sh
              xt163    6761    0:05 sh
              tty08    6536    0:05 sh

DIAGNOSTICS
     If the PROC driver is not installed or configured or if /proc is not
     mounted, a message to that effect is issued and whodo will fail.

     The exit status is zero on success, non-zero on failure.

FILES
     /etc/passwd

     /etc/psdata

     /var/adm/utmp

     /proc/pid

SEE ALSO
     ps(1), who(1).































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026