1 '\" te
   2 .\" Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 1989 AT&T
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH RUSERS 1 "Mar 7, 2003"
   8 .SH NAME
   9 rusers \- who is logged in on remote machines
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fBrusers\fR [\fB-ahilu\fR] \fIhost\fR...
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 .sp
  18 .LP
  19 The \fBrusers\fR command produces output similar to \fBwho\fR(1), but for
  20 remote machines. The listing is in the order that responses are received, but
  21 this order can be changed by specifying one of the options listed below.
  22 .sp
  23 .LP
  24 The default is to print out the names of the users logged in. When the \fB-l\fR
  25 flag is given, additional information is printed for each user:
  26 .sp
  27 .in +2
  28 .nf
  29 \fIuserid hostname\fR\fB:\fR\fIterminal login_date login_time idle_time login_host\fR
  30 .fi
  31 .in -2
  32 .sp
  33 
  34 .sp
  35 .LP
  36 If \fIhostname\fR and \fIlogin\fR \fIhost\fR are the same value, the
  37 \fIlogin_host\fR field is not displayed. Likewise, if \fIhostname\fR is not
  38 idle, the \fIidle_time\fR is not displayed.
  39 .sp
  40 .LP
  41 A remote host will only respond if it is running the \fBrusersd\fR daemon,
  42 which may be started up from \fBinetd\fR(1M) or \fBlisten\fR(1M).
  43 .sp
  44 .LP
  45 In the absence of a name service, such as LDAP or NIS, \fBrusers\fR displays
  46 host names as numeric IP addresses.
  47 .SH OPTIONS
  48 .sp
  49 .ne 2
  50 .na
  51 \fB\fB-a\fR\fR
  52 .ad
  53 .RS 6n
  54 Give a report for a machine even if no users are logged on.
  55 .RE
  56 
  57 .sp
  58 .ne 2
  59 .na
  60 \fB\fB-h\fR\fR
  61 .ad
  62 .RS 6n
  63 Sort alphabetically by host name.
  64 .RE
  65 
  66 .sp
  67 .ne 2
  68 .na
  69 \fB\fB-i\fR\fR
  70 .ad
  71 .RS 6n
  72 Sort by idle time.
  73 .RE
  74 
  75 .sp
  76 .ne 2
  77 .na
  78 \fB\fB-l\fR\fR
  79 .ad
  80 .RS 6n
  81 Give a longer listing in the style of \fBwho\fR(1).
  82 .RE
  83 
  84 .sp
  85 .ne 2
  86 .na
  87 \fB\fB-u\fR\fR
  88 .ad
  89 .RS 6n
  90 Sort by number of users.
  91 .RE
  92 
  93 .SH SEE ALSO
  94 .sp
  95 .LP
  96 \fBwho\fR(1), \fBinetd\fR(1M), \fBlisten\fR(1M), \fBpmadm\fR(1M),
  97 \fBsacadm\fR(1M), \fBattributes\fR(5)