I'd like to monitor in real-time the power consumption of a RPi. (0.5A, 1A, 2A, etc.)
I know this can be done with a multimeter in ammeter mode in series, but I thought maybe there is an easier method, directly from command-line ?
After all, a RPi has many electronic features, so maybe it already has various sensors, including one for the electric current in Amperes?