How to tell what users are on

Shawn Iverson shawn at nccsc.k12.in.us
Tue Sep 11 13:26:15 BST 2007


Every user logged in via a terminal will have a gnome panel.  Try this:

ps -eo user:50,cmd | grep gnome-panel | awk '{ print $1 }' | sort

-----Original Message-----
From: edubuntu-users-bounces at lists.ubuntu.com
[mailto:edubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Oliver
Grawert
Sent: Tuesday, September 11, 2007 7:41 AM
To: edubuntu-users at lists.ubuntu.com
Subject: Re: How to tell what users are on

hi,
Am Dienstag, den 11.09.2007, 07:27 -0400 schrieb Tom Misilo:
> Oh, I forgot I want a way to do it from the command line, as I am not 
> always there to go log into one of the thin clients, and I sometimes 
> need to restart/shutdown the computer, so I would like to be able to 
> do it without affecting so many people, or if I need to do it, I know 
> which users to slay. As, I am more likely to just SSH into the server 
> then have actual access through a GUI.
> 
try:
sudo scp-remote -u

(sudo scp-remote -h lists all options)

ciao
	oli

--
This message was scanned by ESVA and is believed to be clean.




More information about the edubuntu-users mailing list