Results 1 to 1 of 1
Hello,
I would like some help to achieve the following:
I would like to display (eventually on a webpage, but for now a text file is fine) a list of ...
- 11-16-2010 #1Just Joined!
- Join Date
- Nov 2010
- Posts
- 1
Display active users across several Fedora machines.
Hello,
I would like some help to achieve the following:
I would like to display (eventually on a webpage, but for now a text file is fine) a list of active users across a range of several fedora machines. (For example node01 through node10)
I was using a script involving
Code:for i in {1..9} do ssh rootATnode0$i 'who >> /storagespace/setup/whoisonnow.txt' done
This script however only show users that are LOGGED IN.
It appears that several users log in, run a job and log out while the job is running.
I can manually log into these nodes and run the "top" command to see this.
But i would like to automate this work.
I would be grateful for your help


Reply With Quote