[jadmin] Jabberd2 stats?

Tomasz Sterna tomek at xiaoka.com
Mon May 5 03:16:39 CDT 2008


Dnia 2008-05-05, pon o godzinie 03:41 -0400, rek2 pisze:
> I am looking for a way to know howmany people is online(using my 
> jabberd2 servers) at that moment..

For jabberd 2.1.x it is:
SELECT COUNT(*) FROM status WHERE "last-login" > "last-logout";


(jabberd 2.0 does not have status table)

-- 
  /\_./o__ Tomasz Sterna
 (/^/(_^^' http://www.xiaoka.com/
._.(_.)_   im:smoku at xiaoka.com



More information about the JAdmin mailing list