View Single Post
Old 04-08-12, 10:44 AM   #1
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.

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

My Unix benchmark results
uOpt is offline   Reply With Quote