Matt Diez wrote:

> There is currently no way to retrieve the number
> of users from an Info/Query. No one has yet
> written the code to do this.
>
> You will have to write it yourself.
>
> Matthew D. Diez
> Systems Engineer
> Vedalabs, Inc.
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Dillip Kumar Swain [ mailto:[EMAIL PROTECTED] ]
> Sent: Thursday, August 30, 2001 12:19 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [JDEV] Help: jabber server Admin
>
>
> Hi
> Thanx for your immidiate response.
> Yes already I have gone thru. record.log.
> but I need a query/info from which I will extract the
> data and show some where else..
> pl. can you send that query again....
>
> Sorry for disturbing.
> Thanx & regards
> Dillip
>
>
> Message: 9
> Date: Wed, 29 Aug 2001 17:41:06 +0100
> From: DJ Adams <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [JDEV] Help: jabber server Admin
> Reply-To: [EMAIL PROTECTED]
>
> On Wed, Aug 29, 2001 at 10:51:26AM -0500, Dustin
> Puryear wrote:
> > > I want to know ..is there any tools from which I
> can
> > > extract below :
> > > 1> no. of users connected  to jabber server
> > > 2> Time & Date of Login  etc.....
> >
> > How did I get pulled into this? :) Anyway, when
> running jabberd in
> debug
> > mode I know it will show you the number of connected
> users. Also, you
> > could write a script to watch the jabberd log files
> since they are
> > pretty darn detailed for this stuff.
>
> the record.log file shows this sort of stuff too, e.g.
>
>
> 20010829T14:53:25 [EMAIL PROTECTED] login ok
> 217.228.41.186 winjab
> ...
> and I think I already posted something on getting the
> online
> users with an info/query request (as admin).
>
> dj
> (breaking his rule of blurting in before he's caught
> up with the
> list)
>
>
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> http://mailman.jabber.org/listinfo/jdev
>
Sure there is... it's in mod_admin =)  jabber:iq:admin.

<iq type='get'>
  <query xmlns='jabber:iq:admin'>
    <who/>
  </query>
</iq>

If I remember correctly.  You have to count the  results, but the info 
is there.

--temas




_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to