]> granicus.if.org Git - sysstat/commit
sadf -p now displays the sensor device name for temperature,
authorSebastien Godard <sysstat@orange.fr>
Tue, 24 May 2011 09:26:35 +0000 (11:26 +0200)
committerSebastien Godard <sysstat@orange.fr>
Tue, 24 May 2011 09:26:35 +0000 (11:26 +0200)
commit6b7b332d4db155993f6d8b02f81a7c054cfe5ab8
tree48936547ac877010f468c205ff9178ba735b3f3b
parent7842c5564f4636368fd54e8422ca1e2da2d30a2a
sadf -p now displays the sensor device name for temperature,
voltage inputs and fans statistics.

The render() function was not properly used in rndr_stats.c, in particular
when the DEVICE name was to be displayed by sadf for fans, voltage inputs
and temperature statistics.
A new flag has been added (PT_USESTR) enabling the render() function to
display strings. As a consequence, sadf -d and sadf -p are now able
to display the sensor device name.
The output of sadf -d has also changed (this is no longer "device;FAN;..."
but "FAN;DEVICE;...". Same thing applies for TEMP and IN statistics).
CHANGES
activity.c
rndr_stats.c
rndr_stats.h