Get uptime/loading/logins information remotely

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

There are two utilities available in Linux and Unix that provide information about remote user logins. These are rusers and rwho, which are backed up by corresponding daemons, rusersd and rwhod. These daemons share login information over the network allowing sysadmins to monitor login activity on different hosts.

Once the daemons are installed and running (sudo apt-get install rwho rusers -y in Ubuntu, yum install rwho rusers in Fedora and etc.) at different hosts across the network, you can use several tools to get login information about all of these hosts. One of them is rwho that is the remote and network-enabled version of the well known who tool.

viper@viper-laptop:~$ rwho
tesadmin tes1000_v203_1322_tst0:pts/1 Oct 24 10:25
viper viper-laptop:pts/0 Oct 24 10:24
viper viper-laptop:pts/1 Oct 24 10:26 :01
viper viper-laptop:pts/2 Oct 24 10:25
viper viper-laptop:tty7 Oct 24 09:11

Another one is rusers tool that broadcasts over the network for the rusersd daemon on the other hosts to return the information about the users currently logged in:

viper@viper-laptop:~$ rusers
Sending broadcast for rusersd protocol version 3...
192.168.0.1 tesadmin
viper-laptop. viper viper viper viper

Another tool available when rwhod is running is ruptime that outputs the loading and uptime information for all servers running rwhod in the LAN.

viper@viper-laptop:~$ ruptime
tes1000_v203 up 14+19:00, 1 user, load 0.59, 0.47, 0.46
viper-laptop up 1:39, 4 users, load 0.40, 0.52, 0.45

This is really nice tool to monitor status of servers without need to log in to them.

You can read more information about these tools and related ones here (IBM’s doc).

 
 
» You might also be interested in the following articles:
Get changelog information from RPM and DEB package
Get information about Linux kernel modules
FAQ: How to retreive hardware manufacturer name, serial numbers, etc. in Linux command line
Another Linux utility to investigate sockets
Ubuntu Document Storage Facility



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!


0 Responses to “Get uptime/loading/logins information remotely”


  1. No Comments

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem Nosulchik (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››