Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rusers(1) [netbsd man page]

RUSERS(1)						    BSD General Commands Manual 						 RUSERS(1)

NAME
rusers -- who is logged in to machines on local network SYNOPSIS
rusers [-al] [host ...] DESCRIPTION
The rusers command produces output similar to who(1), but for the list of hosts or all machines on the local network. For each host respond- ing to the rusers query, the hostname with the names of the users currently logged on is printed on each line. The rusers command will wait for one minute to catch late responders. The following options are available: -a Print all machines responding even if no one is currently logged in. -l Print a long format listing. This includes the user name, host name, tty that the user is logged in to, the date and time the user logged in, the idle time (in minutes), and the remote host they logged in from (if applicable). DIAGNOSTICS
rusers: RPC: Program not registered The rpc.rusersd(8) daemon has not been started on the remote host. rusers: RPC: Timed out A communication error occurred. Either the network is excessively congested, or the rpc.rusersd(8) daemon has terminated on the remote host. rusers: RPC: Port mapper failure - RPC: Timed out The remote host is not running the portmapper (see rpcbind(8)), and cannot accommodate any RPC-based services. The host may be down. SEE ALSO
rwho(1), users(1), who(1), rpc.rusersd(8), rpcbind(8) HISTORY
The rusers command appeared in SunOS. BUGS
The sorting options are not implemented. BSD
April 23, 1991 BSD

Check Out this Related Man Page

RUSERS(1)						    BSD General Commands Manual 						 RUSERS(1)

NAME
rusers -- who is logged in to machines on local network SYNOPSIS
rusers [-al] [host ...] DESCRIPTION
The rusers command produces output similar to who, but for the list of hosts or all machines on the local network. For each host responding to the rusers query, the hostname with the names of the users currently logged on is printed on each line. The rusers command will wait for one minute to catch late responders. The following options are available: -a Print all machines responding even if no one is currently logged in. -l Print a long format listing. This includes the user name, host name, tty that the user is logged in to, the date and time the user logged in, the amount of time since the user typed on the keyboard, and the remote host they logged in from (if applicable). DIAGNOSTICS
rusers: RPC: Program not registered The rpc.rusersd(8) daemon has not been started on the remote host. rusers: RPC: Timed out A communication error occurred. Either the network is excessively congested, or the rpc.rusersd(8) daemon has terminated on the remote host. rusers: RPC: Port mapper failure - RPC: Timed out The remote host is not running the portmapper (see portmap(8) ), and cannot accomodate any RPC-based services. The host may be down. SEE ALSO
rwho(1) users(1), who(1), portmap(8), rpc.rusersd(8) HISTORY
The rusers command appeared in SunOS. BUGS
The sorting options are not implemented. Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)
Man Page

14 More Discussions You Might Find Interesting

1. Programming

How to Get Timed Input using cin

Hi, I am trying to get the input like option from the user using cin but if the user is not responding for some time I want to use the default value which does not need users interaction can any one help to do this in unix c++? int main() { char sex = 'M' ; cout << "Are you... (5 Replies)
Discussion started by: uxbala
5 Replies

2. Shell Programming and Scripting

Trying to get list of logged on users sorted

I'm trying to execute a single shell command that will give me a sorted list of all the users currently logged into the system, displaying the users name as it appears in /etc/passwd. I've tried awk -F: '{print $1}' /etc/passwd | xargs finger -s | cut -c11-28 | uniq This list whoever does... (7 Replies)
Discussion started by: kungfuice
7 Replies

3. Shell Programming and Scripting

to find the number of users logged in

Hi, can u say to display the number of users that logged before me. thanks (10 Replies)
Discussion started by: shanshine
10 Replies

4. Shell Programming and Scripting

Unique Result

Good day folks, I am trying to get the logged in users with the 'users' command, but I am having difficulty in making the name of users to appear only ONCE even if they are currenly logged in more than one terminal. I could not use uniq becuase that only work with lines, but the users command... (6 Replies)
Discussion started by: unibboy
6 Replies

5. Solaris

Host ID of v880

Hello All, I am not a sun expert, but in my network administration job I had to deal with SUN servers. We've to replace a faulty motherboard of SF V880. As per my understanding, host id of machines is programmed in PROM. So will host ID be changed with the replacement of V880 motherboard?... (6 Replies)
Discussion started by: Charagh
6 Replies

6. UNIX for Dummies Questions & Answers

sorting data from who by IP

Hello. I have an RS/6000 running AIX 4 and I need to be able to see if there are any users that are logged on more than once from the same terminal so I can kick them off to make room for other terminals. 64 connections is the limit. Currently I am doing this: who | more and then manually... (11 Replies)
Discussion started by: raidzero
11 Replies

7. Programming

logged in or logged out?

I have wrote a service with c++ which is always run and now I want to get with it the exact time in that the user log in or log out and then run a script. but the problem is that how could i find that the user logged in or logged out with out checking something frequently? thanks (9 Replies)
Discussion started by: mrhosseini
9 Replies

8. Programming

Check if user logged into remote machine via C++ / Java

Hi, I have a program running on HP-UX and it must checkwhether a user has already logged-in to another machine. The hostname of the other machine is known when the check has to be made. Is there a way which this can be accomplished using C++ or Java? If not I could parse the output of a... (6 Replies)
Discussion started by: johnmmcparland
6 Replies

9. UNIX for Dummies Questions & Answers

how to find top 3 users currently logged on

For the first 3 users only that are currently logged in output their effective user id. thank you. (6 Replies)
Discussion started by: whyatepies
6 Replies

10. UNIX for Dummies Questions & Answers

Find who logged in system apart from myself

Hi, I need to find the users logged in the system beside me. as uname -u gives all the user and uname -um gives the current user on system. How can i get result of uname -u minus uname -um . I want to do it in one line. tried with grep but not successful. (6 Replies)
Discussion started by: kailash19
6 Replies

11. UNIX for Dummies Questions & Answers

Need help showing which network protocol users use.

I'm having a bit of a trouble trying to figure out how to tell which network protocol users HAVE been logging in with. I know how to find this information for currently logged in users : maximillian.gardner@syccuxfs01:~> who joseph.blosser pts/0 2012-01-15 14:07 (198.107.160.185)... (5 Replies)
Discussion started by: maximillian.g
5 Replies

12. Shell Programming and Scripting

How to show a list of currently logged in and logging out users?

Hi Guys! I am sure that this question might appeared previously, but I still don't know how to show a list of logged out users. Please help with this! Thanks in advance:) (5 Replies)
Discussion started by: saloliubliu
5 Replies

13. Solaris

Loosing connection after authentication

Hi! I am having a problem when logging in on a solaris 10 server, after typing one or two commands, I lose connectivity, with the following message: server unexpectedly closed network connection I have checked the following: grep `uname -n` /etc/inet/hosts /etc/inet/ipnodes... (8 Replies)
Discussion started by: fretagi
8 Replies

14. Shell Programming and Scripting

The command last

Hello All, I would like to ask your kind help. Could you please advise how can I identify and printout all users, who has logged to our server from more than 10 different computers/machines by using the command last? Thank you in advance for your help. Janmesz (13 Replies)
Discussion started by: Janmesz7
13 Replies