开发者

Is there any "remote console" for twisted server?

I am developing a twisted server. I need to control the memory usage. It is not a good idea to modify code, insert some memory logging command and restart the server. I think it is better to use a "remote console", so that I can type heapy command and see the response from the server directly. All I need is a remote console, I can build one by开发者_如何学C myself, but I don't like to rebuild a wheel. My question is: is there already any remote console for twisted?

Thanks.


twisted.manhole.telnet uses the deprecated module twisted.protocols.telnet. It is recommended to use twisted.conch.manhole instead.

Here are some tutorials of how to use it:

  • Writing a client with Twisted.Conch -- twisted.conch documentation
  • Network programming with the Twisted framework, Part 4 -- IBM developerWorks
  • Twisted Network Programming Essentials - Chapter 10 -- Online book preview


Take a look at twisted.manhole

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜