[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  Debug Summary additions

Debug Summary additions

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Bast   (78 posts)  [Biography] bio
Date Sat 27 Aug 2011 10:14 PM (UTC)
Message
Can we get a couple of things added to the Debug summary.

The total time that mushclient has been running
If you can get to it, how much memory MUSH thinks it is using
Also, how much memory each plugin is using

Anyone else want to add something?

Bast

Scripts: http://github.com/endavis
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sat 27 Aug 2011 11:07 PM (UTC)
Message
The memory stuff is quite hard to do. However I added some durations to the next version.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #2 on Sun 28 Aug 2011 03:14 AM (UTC)
Message
The memory stuff per plugin could be gotten from Lua...uhh...maybe. Depending on how accurate the garbage collector's memory report is.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Bast   (78 posts)  [Biography] bio
Date Reply #3 on Sun 28 Aug 2011 01:52 PM (UTC)

Amended on Sun 28 Aug 2011 05:24 PM (UTC) by Bast

Message
Yeah. All my plugins report it. Type 'plugins' if you are using any of my stuff.

If you want memory usage for any other plugin to appear, just add this function:


function getmemoryusage()
  return collectgarbage('count')
end

Bast

Scripts: http://github.com/endavis
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,493 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]