r3.univar(1grass) on Linux
The text 12538b0be0da, as Debian 9 (Stretch) shipped it.
Calculates univariate statistics from the non-null cells of a 3D raster map. Statistics include number of cells counted, minimum and maximum cell values, range, arithmetic mean, population variance, standard deviation, coefficient of variation, and sum.