Go to main content

マニュアルページ セクション 1: ユーザーコマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

rusers(1)

名前

rusers - リモートマシン上にログインしているユーザーの表示

形式

rusers [-ahilu] host...

説明

rusers コマンドは、 who(1) と似た形式の出力をリモートマシン用に作成します。通常この出力では、応答を得た順序でユーザー名がリストされますが、 後述するオプションを使って順序を変更することができます。

デフォルトではログインしているユーザーの名前だけが出力されます。–l オプションを指定すると、 それに加えて以下の情報が各ユーザーに対して出力されます。

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.同様に hostname で示すホストがアイドル状態になければ、 idle_time (アイドル時間)は表示されません。

A remote host will only respond if it is running the rpc.rusersd(8) daemon, which may be started up from inetd(8) under the service identifier svc:/network/rpc/rusers:default.This service is disabled by default on Solaris 10 systems with a secure by default configuration and on all Solaris 11 systems, and must be enabled by an administrator in order for a host to respond to rusers queries.

If no name can be found for a host via the hosts(5) name service, rusers displays a numeric IP address for the host.

オプション

–a

ログインしているユーザーがいないマシンに関しても報告します。

–h

ホスト名のアルファベット順にソートします。

–i

アイドル時間の順にソートします。

–l

who(1) の出力のような、長い形式のリストを表示します。

–u

ユーザー数の順にソートします。

属性

属性についての詳細は、マニュアルページの attributes(7) を参照してください。

属性タイプ
属性値
使用条件
network/legacy-remote-utilities
Interface Stability
Committed

関連項目

who(1), attributes(7), inetd(8), rpc.rusersd(8)

History

The rusers command, including support for the options –a, –h, and –i, –l, and –u, has been present since the initial release of Solaris.