Re: Socket drop count

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

 



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>)

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: OpenPGP digital signature


[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