xref: /titanic_52/usr/src/man/man1/rusers.1 (revision fca4268092e9961ebb9b5e0098dcebc545023586)
te
Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
Copyright 1989 AT&T
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.
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.
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]
RUSERS 1 "Mar 7, 2003"
NAME
rusers - who is logged in on remote machines
SYNOPSIS

rusers [-ahilu] host...
DESCRIPTION

The rusers command produces output similar to who(1), but for remote machines. The listing is in the order that responses are received, but this order can be changed by specifying one of the options listed below.

The default is to print out the names of the users logged in. When the -l flag is given, additional information is printed for each user:

userid hostname:terminal login_date login_time idle_time login_host

If hostname and login host are the same value, the login_host field is not displayed. Likewise, if hostname is not idle, the idle_time is not displayed.

A remote host will only respond if it is running the rusersd daemon, which may be started up from inetd(1M) or listen(1M).

In the absence of a name service, such as LDAP or NIS, rusers displays host names as numeric IP addresses.

OPTIONS
-a

Give a report for a machine even if no users are logged on.

-h

Sort alphabetically by host name.

-i

Sort by idle time.

-l

Give a longer listing in the style of who(1).

-u

Sort by number of users.

SEE ALSO

who(1), inetd(1M), listen(1M), pmadm(1M), sacadm(1M), attributes(5)