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.
ログインしているユーザーがいないマシンに関しても報告します。
ホスト名のアルファベット順にソートします。
アイドル時間の順にソートします。
who(1) の出力のような、長い形式のリストを表示します。
ユーザー数の順にソートします。
属性についての詳細は、マニュアルページの attributes(7) を参照してください。
|
who(1), attributes(7), inetd(8), rpc.rusersd(8)
The rusers command, including support for the options –a, –h, and –i, –l, and –u, has been present since the initial release of Solaris.