Currently connected users list

Hello,

I am running RT 3.6.1 on CentOS 4.4.

From time to time, I may need to contact each of our users logged on the Web interface - for maintenance reasons.

Is there a command allowing to list every currently logged user ?

Regards

Robert GRASSO
System Engineer

CEDRAT
15, Chemin de Malacher - Inovall�e - 38246 MEYLAN Cedex - FRANCE
Tel: +33 (0)4 76 90 50 45 Fax: +33 (0)4 76 90 16 09
mailto:Robert.Grasso@cedrat.com
Support service : mailto:support@cedrat.com
Commercial service : mailto:cedrat@cedrat.com
Web site : http://www.cedrat.com

From time to time, I may need to contact each of our users
logged on the Web interface - for maintenance reasons.

Is there a command allowing to list every currently logged user ?

No, and there really isn’t a good way to tell, either, unless you are
agressive about harvesting stale sessions. That is, the simplest way to
tell who is logged on from the application perspective would be to do a
select on the session table from the database. Problem is, though,
people rarely logout, and so their old session hangs around. I’m not
even sure a session row is removed on logout.

A simpler solution may be to have a maintenance message displayed at the
top of the page when you wish to perform maintenance. It would have to
be in a file that is checked every time the home page is loaded, to
avoid Mason’s caching. I believe someone else recently did something
similar on this list? Only they actually replaced the entire page with
a “sorry, we’re doing maintenance now” page, IIRC.

Eric Schultz
United Online