[asterisk-bugs] [JIRA] (ASTERISK-30143) manager: Read and Write output from "manager show connected" is not well documented/useful

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Jul 19 05:46:08 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259748#comment-259748 ] 

George Joseph commented on ASTERISK-30143:
------------------------------------------

Just to be clear,  read/write is a bitmask of the user's permissions.  In this case, it's all ones (all permissions) which is -1 or 2147483647.
I too thought it was packets or bytes.


> manager: Read and Write output from "manager show connected" is not well documented/useful
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30143
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30143
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 18.9.0, 18.12.0
>         Environment: Debian 10, Debian 11
>            Reporter: N A
>
> Something weird that I've been noticing for a while,  that I just looked a little bit more closely at.
> If you run manager show connected, you get something like this:
> {noformat}
> pbxdev*CLI> manager show connected
>   Username         IP Address                                               Start       Elapsed     FileDes   HttpCnt   Read   Write
>   test             127.0.0.1                                                1658188400  128         59        0         2147483647  2147483647
> {noformat}
> The Read and Write values are always 2147483647. (This is -1, but this is the unsigned version of that.) These are initialized to -1 in the code I believe, but can be set to other things.
> I'm not 100% sure what's supposed to be printed out in these columns, but I don't think it's that. I could've sworn it was packets sent and received at some point, I seem to recall, but I seem to always get these values, before and after a reload.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list