Contents

Fedora Linux – Display information about users currently logged on – whowatch

2010-09-04 237 words 2 mins read

Here is description of program/utility to display the currently logged in user in a Linux box (tried on Fedora 13 Goddard):

Whowatch is an interactive console utility that displays informations about the users currently logged on to the machine, in real time. Besides standard information (login, tty, host, user’s process) you can see type of login (ie. ssh, telnet). You can also see selected user’s processes tree or all system processes tree.  In the process tree mode there is ability to send INT or KILL signal to selected process.

First the installation:

  <td>
    <div class="bash codecolorer">
      <span class="sy0"><</span>a <span class="re2">class</span>=<span class="st0">"\&quot;zem_slink\&quot;"</span> <span class="re2">title</span>=<span class="st0">"\&quot;Sudo\&quot;"</span> <span class="re2">rel</span>=<span class="st0">"\&quot;homepage\&quot;"</span> <span class="re2">href</span>=<span class="st0">""</span><span class="sy0">></span><span class="kw2">sudo</span><span class="sy0"></</span>a<span class="sy0">></span> <span class="kw2">yum install</span> whowatch
    </div>
  </td>
</tr>
1

Here are the screenshot&#8217;s if you are interested:

\"Screenshot-whowatch\"

Press enter to see the process&#8217;s running for that user:

\"Screenshot-whowatch

Press &#8221;t&#8221; to view the init tree and try other commands listed in the menu below 🙂

\"Screenshot-whowatch

\"Enhanced
Enhanced by Zemanta

Related Articles:


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it