To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Listsockets: Difference between revisions
Jump to navigation
Jump to search
DarthGandalf (talk | contribs) Created page with "{{DISPLAYTITLE:listsockets}} {{Extra Module}} This module displays a list of all open sockets in ZNC. This feature is not directly in the ZNC core, because it was decided th..." |
>Un1matr1x mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:listsockets}} | {{DISPLAYTITLE:listsockets}} | ||
{{ | {{Core Module | version = 1.0}} | ||
This module displays a list of all open sockets in ZNC. | This module displays a list of all open sockets in ZNC. |
Latest revision as of 16:37, 7 November 2012
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod listsockets The code for this module can be found here. This module is part of ZNC since Version 1.0 |
This module displays a list of all open sockets in ZNC.
This feature is not directly in the ZNC core, because it was decided that the code is too ugly to be added to the core.
Usage
Arguments
This user module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
This module displays a list of all open sockets with the following command:
/msg *listsockets list
If you want IP addresses instead of hostnames, use this:
/msg *listsockets list -n
Example output
This is the output of /msg *listsockets list on one of my ZNCs:
<*listsockets> +----------------------+---------------------+----------+-----+----------------+---------------------------+ <*listsockets> | Name | Created | State | SSL | Local | Remote | <*listsockets> +----------------------+---------------------+----------+-----+----------------+---------------------------+ <*listsockets> | _LISTENER | 2008-12-02 21:51:16 | Listen | Yes | 0.0.0.0 1234 | | <*listsockets> | WebAdmin::Listener | 2008-12-03 12:55:26 | Listen | Yes | 10.0.1.5 1235 | | <*listsockets> | IRC::psycho-chat | 2008-11-28 19:05:07 | Outbound | Yes | 10.0.1.5 46414 | irc.chatspike.net 6668 | <*listsockets> | USR::psycho-chat | 2008-12-15 13:41:09 | Inbound | Yes | 10.0.1.5 1234 | 79.204.60.168 36636 | <*listsockets> | IRC::psycho-freenode | 2008-10-27 13:40:49 | Outbound | No | 10.0.1.5 39037 | chat.eu.freenode.net 6667 | <*listsockets> | USR::psycho-freenode | 2008-12-15 13:41:11 | Inbound | Yes | 10.0.1.5 1234 | 79.204.60.168 36635 | <*listsockets> +----------------------+---------------------+----------+-----+----------------+---------------------------+