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
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
This will show more information about up running time for this user, current window manager used by this user and the load average.
06:08:23 up 4:07, 1 user, load average: 1.16, 1.12, 1.11
USER TTY FROM [email protected] 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.
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.