2 requests ...
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

2 requests ...

Started by UwV, 04 December, 2006, 17:49:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

UwV

maybe a command that would show the memory usage of scripts (like in the gui) ?

or to show it with the !getscripts command ? ..

and still a command to change script order .. please ?
pretty please with whipped cream and with a cherry on top  ;D
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

bastya_elvtars

#1 can be achieved using a little script.
Everything could have been anything else and it would have just as much meaning.

Stormbringer

#1 Take a look to leviathan, in the hub addmessage:

? Hub Memory Usage/Carbage:   596 Kb / 606 Kb

Files:
-Messages.lua

Section of the code:
--[[Timed Hub banner message ]]--

Is this what you want?

UwV

#3
Quote from: bastya_elvtars on 07 December, 2006, 01:58:34
#1 can be achieved using a little script.

would that "little script" need to be in all scripts i want to know the mem usage of ???

since then i would need a chat arrival in all of the (las count was 30)  running scrpt now :/


Quote from: Stormbringer on 07 December, 2006, 09:25:06
#1 Take a look to leviathan, in the hub addmessage:

? Hub Memory Usage/Carbage:   596 Kb / 606 Kb

Files:
-Messages.lua

Section of the code:
--[[Timed Hub banner message ]]--

Is this what you want?

nope ..
i would like something like  ...
- [ 1 ]  usercommands_uw.lua	-	223
- [ 1 ]  Perverizer.lua  	-	2223
- [ 1 ]  antimuch.lua 	-	2213
- [ 1 ]  selfregger.lua 	-	2123
- [ 0 ]  passive_horror.lua 	-	4
- [ 1 ]  kickwarn_3.17.lua 	-	2223
- [ 1 ]  setregonly_disco_v3-=dsn=-.lua 	-	2223
- [ 1 ]  regcleaner.lua 	-	2223
- [ 1 ]  redirect.lua 	-	22223
- [ 1 ]  graphbot.lua 	-	22223
- [ 1 ]  topstats.lua 	-	22223
- [ 1 ]  userhubtime_.lua 	-	2223
- [ 1 ]  opcommandsextra-ppk.lua 	-	22223
- [ 1 ]  extra1.lua 	-	223
- [ 1 ]  topicchanger.lua 	-	223
- [ 1 ]  randomintro.lua 	-	223
- [ 1 ]  listclock_lua5.lua 	-	223
- [ 1 ]  OffllineMessage-0.4.lua 	-	223
- [ 1 ]  Change&Convert-1.6.lua 	-	223
- [ 1 ]  GeoIP-0.7c.lua 	-	223

etc. etc..

and i do know how to get it  for one single script .. look at : ...
<-=Holly=-> Whatever you say   
 	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
  	        Script Stats:        v.3.17b LUA5.1 
  	  Script Start: 12/04/06 ? 14:37:41 pm - Errors 0 
  	  Script CPU Uptime	: 2 Days, 23 Hours, and 4 Minutes (4264.3 Min.), 
 	  ---------------------------------------------------------- 
  	  Warnings send : 319 total. 
  	   - Warns: 202 
  	   - Kicks: 117	(41 max warns) 
  	   - Bans : 23	(16 max kicks) 
  	  ---------------------------------------------------------- 
  	  CPU : 
 	   - Arrivals Processed 	: 79746, 
 	   - My Processing Time	:  0 Minutes (0.50 Min.) , 
 	   - My Average Speed 	: 0.00037356 Seconds per Arrival, 
 	   - Last Arrival measured 	: 0.01000000 Seconds  
  	  Memory Usage: 
  	   - Average: 299.9Kb. Current: 251.1Kb.. 
  	   - Peak 563.5Kb   (12/06/06 ? 00:07:51am. ) 
	-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 
 


\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

bastya_elvtars

collectgarbage("count") I mean, I don't know if it is possible at all to retrieve mem usage of scripts one by one.
Everything could have been anything else and it would have just as much meaning.

UwV

#5
Quote from: bastya_elvtars on 07 December, 2006, 15:07:36
collectgarbage("count") I mean, I don't know if it is possible at all to retrieve mem usage of scripts one by one.

it shows us in the gui ..
that is why i asked in feature requests not in scripting help...  ::) ..

i thought it could  be nice to see it in the client...

i was not even thinking of asking for getting it to LUA yet..
frmHub:getScriptStats()
.. returning a nice table  with order, status on/off  and memory usage  ...

  hmm  that would be a extra portion of whipped cream and two cherry's on the top  ;)
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

SMF spam blocked by CleanTalk