Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 603344 Details for
Bug 847132
acpi plugin don't work with linux kernel 3.X
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
New acpi plugin that works with kernel 3.x
acpi (text/plain), 1.50 KB, created by
Jóhann B. Guðmundsson
on 2012-08-09 20:05:57 UTC
(
hide
)
Description:
New acpi plugin that works with kernel 3.x
Filename:
MIME Type:
Creator:
Jóhann B. Guðmundsson
Created:
2012-08-09 20:05:57 UTC
Size:
1.50 KB
patch
obsolete
>#!/bin/sh ># -*- sh -*- > >: <<=cut > >=head1 NAME > >acpi - Munin plugin to monitor the temperature in different ACPI Thermal zones. > >=head1 APPLICABLE SYSTEMS > >Linux systems with ACPI support. > >=head1 CONFIGURATION > >Load the 'thermal_zone' kernel module and the plugin gets the thermal zones from /sys/class/thermal/thermal_zone*/temp automagically. > >=head1 USAGE > >Link this plugin to /etc/munin/plugins/ and restart the munin-node. > >=head1 INTERPRETATION > >The plugin shows the temperature from the different thermal zones. > >=head1 MAGIC MARKERS > > #%# family=auto > #%# capabilities=autoconf > >=head1 BUGS > >None known. > >=head1 VERSION > >$Id:$ > >=head1 AUTHOR > >Nicolai Langfeldt (janl@linpro.no) 2006-11-13 > >=head1 LICENSE > >GPLv2 > >=cut > >ATZ="$(echo /sys/class/thermal/thermal_zone*/temp)" > >do_ () { # Fetch > echo "$ATZ" | tr ' ' '\n' | awk -F'[ /\t]*' '{ > ZONE=$5 > getline < $0 > print ZONE".value "substr($1,0,2) > }' > exit 0 >} > >do_config () { > echo "graph_title ACPI Thermal zone temperatures" > echo "graph_vlabel Celcius" > echo "graph_category sensors" > echo "graph_info This graph shows the temperature in different ACPI Thermal zones. If there is only one it will usually be the case temperature." > echo "$ATZ" | > awk -F'[ /]' '{ > print $5".label "$5; > }' > >} > >do_autoconf () { > for f in $ATZ; do > test -r $f || { > echo "no (cannot read $f)" > exit 0 > } > done > echo yes > exit 0 >} > >case $1 in > config|autoconf|'') > eval do_$1 >esac > >exit $? >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 847132
: 603344