LinuxNov.com

Main menu

Skip to primary content
Skip to secondary content
  • News
  • Articles
  • Reviews
    • Distributions
  • How To?
    • Tips And Tricks
  • Books
  • Mobile
    • Android
  • Screencast
  • #CLI
  • LinuxArt*
    • Themes
    • Wallpapers

Tag Archives: Monitor user accounts

[How To]: Monitor User Accounts on your system

Posted on June 13, 2010 by mhnassif
2

it’s really important to know what every logged in user doing on the system, that’s really help to know where are CPU and Memory usage going on usually.

1. How To show logged in user accounts for this system

Open Terminal and type

 who

output example

mb        tty7          2010-06-13 02:01 (:0)

This will show current logged in users to the system, also if you switching user and you didn’t logged out from the second user it will be listed.

tty7 : terminal name that connected to the stander input with 7

and time and date for logging time.

2. Showing more informations for current logged in users for this system

open Terminal and Type

 w

This will show more information about up running time for this user, current window manager used by this user and the load average.

Output example

06:08:23 up       4:07,      1 user,         load average: 1.16, 1.12, 1.11

USER      TTY       FROM               LOGIN@    IDLE    JCPU    PCPU    WHAT

mb        tty7            :0                        02:01           4:06m    23:08  0.40s     gnome-session

3. How to show accessed applications for specific user

Open terminal and type

ps -u mb

mb is the username change it with yours or any another active user account.

output example

PID TTY           TIME CMD

1572 ?         00:00:00 gnome-keyring-d

1590 ?         00:00:00 gnome-session

1624 ?         00:00:00 ssh-agent

1627 ?         00:00:00 dbus-launch

1628 ?         00:00:03 dbus-daemon

1631 ?         00:00:02 gconfd-2

1638 ?         00:00:09 gnome-settings-

1640 ?         00:00:00 gvfsd

1645 ?         00:00:00 gvfs-fuse-daemo

1649 ?         00:03:48 compiz

1650 ?         00:00:00 polkit-gnome-au

1653 ?         00:00:38 nautilus

1654 ?         00:00:12 gnome-panel

That’s it for now.

Posted in How To?, Shell CLI, Tips And Tricks | Tagged Manage user accounts for ubuntu, monitor user account for linux, Monitor user accounts, monitor user accounts files, Monitor user for ubuntu, Tracking user accounts on the system, user account tracking | 2 Replies

Add your e-mail to receive LinuxNov updates

Follow @LinuxNov

Give Us a +1 on Google

News

  • uGet 1.10.3 Download Manger Is Available to install Using PPA For Ubuntu 13.04 Raring Ringtail
  • Firefox OS Simulator 3.0 Has Been Released | Screenshots
  • What you might don’t know about Amazon Integration?! | [How To]: Get Rid of it
  • Indicator Stickynotes 0.4.0 Has Been Released | Brings Category Support
  • aTunes 3.0.4 Audio Player Brings Minor Bug Fixes | Changelog | Download
  • Wine 1.5.22 Brings Support for ARM64 platforms and Fixes to RTL Text
  • Amarok 2.7 “A Minor Tune” Has Been Released
  • What’s new in Mozilla Firefox 18 Desktop Web Browser
  • Simon 0.4.0 Brings Better Speech Recognition Accuracy
  • Install Enlightenment E17 On Ubuntu 12.10 Quantal Quetzal
  • Full Circle Ubuntu Magazine issue 68 – December 2012 Has Been Released
  • Install Ubuntu Tweak 0.8.3 For Ubuntu 12.10 Quantal Quetzal
  • Ubuntu 12.10 Quantal Quetzal Has Been Released | Download
  • Geary 0.2 Brings Support for attaching files | Email Client
  • Mozilla Firefox 15 Key Features | Download Firefox For Desktop And Mobile

How To?!

  • [How To]: Install Mozilla Firefox 21 Web Browser on Ubuntu, RHEL, CentOS, Fedora
  • [How to]: Auto-Shutdown The Computer using a Gnome Shell Extension
  • Backspace Key is not working as a Back button in Nautilus 3.6.2 File Manager | Solved
  • uGet 1.10.3 Download Manger Is Available to install Using PPA For Ubuntu 13.04 Raring Ringtail
  • [How To]: Enable Horizontal and Natural Scrolling on Ubuntu 13.04 Raring Ringtail
Proudly powered by WordPress