View Single Post
Old 04-08-12, 11:44 AM   #1
uOpt
FreeBSD cheering section
 
uOpt's Avatar
 
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Interesting observation with nvidia-settings and stderr redirection

If you redirect stderr (although nothing is printed on stderr), some but not all values disappear.

Code:
nvidia-settings -c :8.0 -q all 2>&1 |  egrep "Attribute '(ThermalSensorReading|GPUCurrentFanSpeed)'" | tee l
  Attribute 'GPUCurrentFanSpeed' (wavehh.hanse.de:8[fan:0]): 40.
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:0]):
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:1]):
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:2]):
Code:
nvidia-settings -c :8.0 -q all |  egrep "Attribute '(ThermalSensorReading|GPUCurrentFanSpeed)'" | tee l
  Attribute 'GPUCurrentFanSpeed' (wavehh.hanse.de:8[fan:0]): 40.
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:0]): 74.
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:1]): 64.
  Attribute 'ThermalSensorReading' (wavehh.hanse.de:8[thermalsensor:2]): 59.
__________________

My Unix benchmark results
uOpt is offline   Reply With Quote