ATI Temperature Monitoring

816

Solution 1

export DISPLAY=:0
aticonfig --odgt --adapter=0
aticonfig --odgt --adapter=1
...


Root permissions may be necessary, try it out.

Solution 2

I've run into a similar problem trying to run aticonfig as user www-data for Cacti.

By doing a visudo and adding the following to the sudoers file. (You will want to change beast to your hostname and www-data to munin in your case.)

www-data        beast = NOPASSWD: /usr/bin/aticonfig

With this I've been able to run

sudo /usr/bin/aticonfig

as user www-data however I'm still running into some issue with Cacti.

Hope this helps.

Share:
816

Related videos on Youtube

Carlos Mosquera
Author by

Carlos Mosquera

Updated on September 17, 2022

Comments

  • Carlos Mosquera
    Carlos Mosquera over 1 year

    Already have experience using bootstrap popovers with separate div's... also have expience with ko.validation with native and custom validation rules but in input group text have unspected apereance:

    <div class="input-group">
       <div class="input-group-btn clearfix">
          <button type="button" class="btn btn-default" data-bind="text: SupplierName" tabindex="-1"></button>
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" tabindex="-1">
             <span class="caret"></span>
          </button>
          <ul class="dropdown-menu" role="menu" data-bind="foreach: SupplierList, valueAllowUnset: true">
             <li><a href="#" data-bind="click: $parent.SupplierSelection"><span data-bind="text: text"></span></a></li>
          </ul>
       </div>
       <input type="text" class="form-control"
              data-bind="value: Product, validationOptions: { errorElementClass: 'error' }">
    </div>
    

    Error menssage is showed under Product input text. It's posible get error span in a popover?

  • Lekensteyn
    Lekensteyn about 13 years
    Explain what the command and arguments do?
  • earcam
    earcam over 11 years
    aticonfig --help lists the available options. For --odgt aka --od-gettemperature it states Returns the temperature reported by any thermal sensors available on the adapter. I didn't need export DISPLAY=:0 nor superuser privileges YMMV. +1 thanks =)
  • cdecker
    cdecker over 11 years
    As a little extra: to get the temperature of all adapters at once just use DISPLAY=:0 aticonfig --adapter=all --odgt. That will get all the adapters attached to X instance 0.