On 10/9/06, Stian B. Barmen <[EMAIL PROTECTED]> wrote:
> Is there a manual explaining how to get these stats? Or did you do some
> log magic? (sorry for asking before googling or rftm ... :)

ahh, they're magic ad hoc commands.  For those with clients that don't
support ad hoc, you can generally fire up your xml console, and enter
the following:

<iq type="set" to="msn.jabber.localhost">
<command xmlns="http://jabber.org/protocol/commands"; node="stats" />
</iq>

This will spew the stats in your general direction :-P

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Oct 10 07:03:33 2006
From: [EMAIL PROTECTED] (Stian B. Barmen)
Date: Tue Oct 10 07:02:56 2006
Subject: [py-transports] Stats
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

man, 09,.10.2006 kl. 23.54 +0200, skrev Norman Rasmussen:
> On 10/9/06, Stian B. Barmen <[EMAIL PROTECTED]> wrote:
> > Is there a manual explaining how to get these stats? Or did you do some
> > log magic? (sorry for asking before googling or rftm ... :)
> 
> ahh, they're magic ad hoc commands.  For those with clients that don't
> support ad hoc, you can generally fire up your xml console, and enter
> the following:
> 
> <iq type="set" to="msn.jabber.localhost">
> <command xmlns="http://jabber.org/protocol/commands"; node="stats" />
> </iq>
> 
> This will spew the stats in your general direction :-P
> 
heh, thanks, this is interesting info. I have been grepping and "wc
-l"'ing my head off earlier. Here are the jabber.no stats (har issues
with the server this weekend so uptime is only since monday morning):

Statistics for PyMSNt
Uptime: 87720
Message Count: 15817
Failed Message Count: 64
Failed Avatar Count: 0
Total Connections: 1232
Online Users: 74
Avatar Count: 0

-stian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3381 bytes
Desc: not available
Url : 
http://modevia.com/pipermail/py-transports/attachments/20061010/e2cc8c42/smime.bin
From [EMAIL PROTECTED]  Tue Oct 10 07:11:42 2006
From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Arnaud_Ab=E9lard?=)
Date: Tue Oct 10 07:11:46 2006
Subject: [py-transports] Stats
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

MSN Transport 0.11.2-dev2+patch
Python 2.3.5 - linux

Uptime: 491880
MessageCount: 6404
FailedMessageCount: 20
FailedAvatarCount: 0
TotalUsers: 598
OnlineUsers: 23
AvatarCount:0

looks like the avatar count isn't working properly...


Arnaud

Norman Rasmussen wrote:
> It's stats time again!
> 
> Stats from my local MSN install:
> 
> Using: MSN Transport 0.11.2-dev - SVN r226 / Python2.4.4 - linux
> (vanilla svn)
> 
> Uptime    1028760
> MessageCount    6737
> FailedMessageCount    42
> FailedAvatarCount    0
> TotalUsers    567
> OnlineUsers    7
> AvatarCount    0
> 
> Here are some interesting stats from a large jabber installation I know of:
> 
> Using: MSN Transport 0.11-dev - SVN r0 / Python2.4.2 - freebsd5
> (probably slightly customised to remove avatars)
> 
> Uptime    42060
> MessageCount    84050
> FailedMessageCount    1137
> FailedAvatarCount    0
> TotalUsers    239832
> OnlineUsers    1792
> AvatarCount    0
> 
> At a rough estimation, that's an average of two messages a second, and
> more than five logins per second!  I _know_ this transport is
> suffering (jn fact not just the transport), why these guys haven't
> load balanced their msn transport yet, is beyond me.  My only guess is
> that they can't find a revenue model to support the costs.
> 


-- 
Arnaud Ab?lard (jabber: [EMAIL PROTECTED])
Administrateur Syst?me
Centre de Ressources Informatiques
Universit? de Nantes
From [EMAIL PROTECTED]  Wed Oct 11 21:12:38 2006
From: [EMAIL PROTECTED] (Les Seigneur)
Date: Wed Oct 11 21:12:52 2006
Subject: [py-transports] PyYIMt Traceback errors
Message-ID: <[EMAIL PROTECTED]>

I am using the CVS version of PyYIMt with Jabberd2.0s10 on Red Hat
Enterprise Linux 4..   I am seeing the following error messages when I
register with PyYIMT and when I try to add a Yahoo! user.  I have been
running PyYIMt for a couple of weeks and have not seen this error before.  I
was able to add a Yahoo user and chat but now I can't. It seems to have
started after the last CVS update.  Can anyone tell me what might be going
wrong?

CVS version from yahoo.py:
# $Id: yahoo.py,v 1.61 2006/10/08 21:01:51 normanr Exp $ 
version = 'CVS ' + '$Revision: 1.61 $'.split()[1]



Wed 11 Oct 2006 14:39:56 - CVS 1.61 Traceback (most recent call last):
  File "./yahoo.py", line 1303, in ?
    connection.Process(1)
  File "/usr/lib/python2.3/site-packages/xmpp/dispatcher.py", line 302, in
dispatch
    handler['func'](session,stanza)
  File "./yahoo.py", line 241, in xmpp_presence
    yid = YIDDecode(event.getTo().getNode())
  File "./yahoo.py", line 39, in YIDDecode
    return '@'.join(yid.rsplit('%',1))
AttributeError: 'str' object has no attribute 'rsplit'
Wed 11 Oct 2006 14:39:56 - CVS 1.61
Traceback (most recent call last):
  File "./yahoo.py", line 1303, in ?
    connection.Process(1)
  File "/usr/lib/python2.3/site-packages/xmpp/dispatcher.py", line 302, in
dispatch
    handler['func'](session,stanza)
  File "./yahoo.py", line 241, in xmpp_presence
    yid = YIDDecode(event.getTo().getNode())
  File "./yahoo.py", line 39, in YIDDecode
    return '@'.join(yid.rsplit('%',1))
AttributeError: 'str' object has no attribute 'rsplit'

Les Seigneur
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to