DOKK / manpages / debian 12 / can-utils / canbusload.1.en
CANBUSLOAD(1) User Commands CANBUSLOAD(1)

canbusload - manual page for canbusload 2020.11.0-1

canbusload [options] <CAN interface>+

canbusload - monitor CAN bus load.

(use CTRL-C to terminate canbusload)

(show current time on the first line)
(colorize lines)
(show bargraph in 5% resolution)
(redraw the terminal - similar to top)
(ignore bitstuffing in bandwidth calculation)
(exact calculation of stuffed bits)

Up to 16 CAN interfaces with mandatory bitrate can be specified on the commandline in the form: <ifname>@<bitrate>

The bitrate is mandatory as it is needed to know the CAN bus bitrate to calculate the bus load percentage based on the received CAN frames. Due to the bitstuffing estimation the calculated busload may exceed 100%. For each given interface the data is presented in one line which contains:

(interface) (received CAN frames) (used bits total) (used bits for payload)

user$> canbusload can0@100000 can1@500000 can2@500000 can3@500000 -r -t -b -c

canbusload 2014-02-01 21:13:16 (worst case bitstuffing)

805 74491 36656 74% |XXXXXXXXXXXXXX......|
796 75140 37728 15% |XXX.................|
0 0 0 0% |....................|
47 4633 2424 0% |....................|
December 2020 canbusload 2020.11.0-1