Author Topic: CZDC and cmd /stats  (Read 1210 times)

0 Members and 1 Guest are viewing this topic.

Offline yoonohoo

  • Forum Ace
  • *****
  • Posts: 77
  • Karma: +0/-0
CZDC and cmd /stats
« on: 10 June, 2005, 19:25:21 »
Why when i use cmd /stats in CZDC (k) it sends the following  to all users connected to the hub?

Data sent:

-=[ CZDC++ 0.666[K] ]=-
-=[ Uptime: 30 min 5 sec  ][ CPU time: 0:00:04 ]=-
-=[ Memory usage (peak): 3.49 MB (11.88 MB) ]=-
-=[ Virtual memory usage (peak): 9.17 MB (10.28 MB) ]=-
-=[ Downloaded: 58.36 kB ][ Uploaded: 2.62 kB ]=-
-=[ Total download: 740.50 MB ][ Total upload: 65.11 kB ]=-
-=[ Total Uptime: 5 days 15 hours 26 min ]=-
-=[ System Uptime: 4 days 14 min 1 sec  ]=-


instead of this (like any other client I use):

------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.3.3.1 [debug] built on Jun 10 2005 01:35:21
Uptime: 0 days, 0 hours, 9 minutes
Users (Max/Actual Peak (Max Peak)/Logged) : 30 / 2 (2) / 2
Chat messages: 2 x
Unknown commands: 0 x
PM commands: 0 x
Key commands: 1 x
Supports commands: 4 x
MyINFO commands: 8 x
ValidateNick commands: 1 x
GetINFO commands: 0 x
Password commands: 4 x
Version commands: 1 x
UserIP commands: 0 x
GetNickList commands: 4 x
Search commands: 0 x
SR commands: 0 x
CTM commands: 0 x
RevCTM commands: 0 x
BotINFO commands: 0 x
------------------------------------------------------------
CPU usage (60 sec avg): 0.07%
CPU time: 0:00:03
Mem usage (Old style): 1721 kB
Mem usage (Peak): 9.55 MB (9.55 MB)
VM size (Peak): 5.86 MB (5.86 MB)
------------------------------------------------------------
SendRests (Peak): 0 (0)
RecvRests (Peak): 0 (0)
Data sent: 9.24 kB
Data received: 1.36 kB
Tx (60 sec avg): 0 B/s (0 B/s)
Rx (60 sec avg): 0 B/s (0 B/s)


Thanks

Apologies if in the wrong forum

It might be simple for you but rocket science for me...

PtokaX forum

CZDC and cmd /stats
« on: 10 June, 2005, 19:25:21 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
(No subject)
« Reply #1 on: 10 June, 2005, 20:29:51 »
Quote
Originally posted by yoonohoo
Why when i use cmd /stats in CZDC
Because in default all commands starting with / are client commands... client check if have this command (and CZDC have stats) and if not then send it to hub :)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

(No subject)
« Reply #1 on: 10 June, 2005, 20:29:51 »