kernel/Documentation/ABI/stable/sysfs-bus-usb
.. .. @@ -50,8 +50,10 @@ 50 50 51 51 Tools can use this file and the connected_duration file to 52 52 compute the percentage of time that a device has been active. 53 - For example,54 - echo $((100 * `cat active_duration` / `cat connected_duration`))53 + For example::54 +55 + echo $((100 * `cat active_duration` / `cat connected_duration`))56 +55 57 will give an integer percentage. Note that this does not 56 58 account for counter wrap. 57 59 Users: