Re: Socket drop count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 24.09.20 um 11:53 schrieb Marc Kleine-Budde:
> On 9/24/20 11:41 AM, Wolfgang Grandegger wrote:
>> Hello,
>>
>> candump can monitor the count of dropped RX messages if the socket
>> buffer if full with the option "-d". Is there also a command to list
>> that drop count of a certain socket, e.g. "ss"?
> 
> I haven't tested it, but what about "ss -m"
> 
>>        -m, --memory
>>               Show socket memory usage. The output format is:
>>
>>               skmem:(r<rmem_alloc>,rb<rcv_buf>,t<wmem_alloc>,tb<snd_buf>,
>>                             f<fwd_alloc>,w<wmem_queued>,o<opt_mem>,
>>                             bl<back_log>,d<sock_drop>)

Hm, the TCP sockets report such a line but I cannot find my CAN socket
in there opened by "candump":

  # ss -p| grep candump

"ss" seams not (yet) to support "AF_CAN" sockets :(.

Wolfgang



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux