[imp] Correct way to measure amount of current users

Marcelo Maraboli marcelo.maraboli at dcsc.utfsm.cl
Wed Sep 24 15:43:51 PDT 2003


Hello.

I´m trying to find out how many users are logged into IMP at
one instant and NOT using a MySQL query, so...

Is it correct to count the number of "on-line" users in IMP by
counting the session files in /tmp ??

i.e.
ls -l /tmp | grep sess | wc -l

In other words, does a single session file correspond to a single
logged in user ??

regards,
-- 
Marcelo Maraboli Rosselott
Jefe Area de Redes           (Network & UNIX Systems Administrator)
Ingeniero Civil Electronico                   (Electronic Engineer)

Direccion Central de Servicios Computacionales (DCSC)
Universidad Tecnica Federico Santa Maria, Chile.
phone: +56 32 654237
mailto:marcelo.maraboli at dcsc.utfsm.cl	http://elqui.dcsc.utfsm.cl/



More information about the imp mailing list