diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/diag_sockets.php | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/usr/local/www/diag_sockets.php b/src/usr/local/www/diag_sockets.php index bc4d0d5..b962674 100644 --- a/src/usr/local/www/diag_sockets.php +++ b/src/usr/local/www/diag_sockets.php @@ -104,20 +104,18 @@ $showAllOption = $showAll ? "" : "?showAll"; <div> <div class="infoblock"> <?php -print_info_box(gettext('Socket information - explanation.') . '<br /><br />' . -gettext('This page shows the output for the commands: "sockstat -4lL" and "sockstat -6lL".' . '<br />' . - 'Or in case of showing all sockets the output for: "sockstat -4" and "sockstat -6".' . '<br />' . '<br />' . -'The information listed for each socket is:' . '<br /><br />' . -' <dl class="dl-horizontal responsive">' . - '<dt>USER</dt> <dd>The user who owns the socket.</dd>' . - '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' . - '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' . - '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' . - '<dt>PROTO</dt> <dd>The transport protocol associated with the socket for Internet sockets, or the type of socket (stream or data-gram) for UNIX sockets.</dd>' . - '<dt>ADDRESS</dt> <dd>(UNIX sockets only) For bound sockets, this is the file-name of the socket. For other sockets, it is the name, PID and file descriptor number of the peer, or "(none)" if the socket is neither bound nor connected.</dd>' . - '<dt>LOCAL ADDRESS</dt> <dd>(Internet sockets only) The address the local end of the socket is bound to (see getsockname(2)).</dd>' . - '<dt>FOREIGN ADDRESS</dt><dd>(Internet sockets only) The address the foreign end of the socket is bound to (see getpeername(2)).</dd>' . - '</dl>'), 'info', false); +print_info_box(gettext('Socket Information') . '<br /><br />' . +gettext('This page shows all listening sockets by default, and shows both listening and outbound connection sockets when <strong>Show all socket connections</strong> is clicked.<br /><br />' . + 'The information listed for each socket is:' . '<br /><br />' . + '<dl class="dl-horizontal responsive">' . + '<dt>USER</dt> <dd>The user who owns the socket.</dd>' . + '<dt>COMMAND</dt> <dd>The command which holds the socket.</dd>' . + '<dt>PID</dt> <dd>The process ID of the command which holds the socket.</dd>' . + '<dt>FD</dt> <dd>The file descriptor number of the socket.</dd>' . + '<dt>PROTO</dt> <dd>The transport protocol associated with the socket.</dd>' . + '<dt>LOCAL ADDRESS</dt> <dd>The address the local end of the socket is bound to.</dd>' . + '<dt>FOREIGN ADDRESS</dt> <dd>The address the foreign end of the socket is bound to.</dd>' . + '</dl>'), 'info', false); ?> </div> </div> |