Difference between pages "Package:APC UPS Daemon" and "CPU FLAGS"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m
 
 
Line 1: Line 1:
{{Ebuild
This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the {{c|CPU_FLAGS_*}} variables.
|Summary=APC UPS daemon with integrated network-based remote shutdown
|CatPkg=sys-power/apcupsd
|Repository=Gentoo Portage Tree
}}


"Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines. Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates. Apcupsd is licensed under the GPL version 2." [http://www.apcupsd.org/]
==CPU_FLAGS_X86 ==


==Installation==
{{TableStart}}
First, emerge {{Package|sys-power/acpupsd}}:
<tr><th>Flag</th><th>Introduced</th><th>Name</th><th></th></tr>
<console>
<tr><td>{{c|mmx}}</td><td>1997 (Pentium MMX)</td><td>MMX</td><td>See [[Wikipedia:MMX (instruction set)]] </td></tr>
###i## emerge apcupsd
<tr><td>{{c|mmxext}}</td><td>1999</td><td>AMD MMX Extensions</td><td>See [[Wikipedia:Extended MMX]]</td></tr>
###i## equery f apcupsd
<tr><td>{{c|sse}}</td><td>1999 (Pentium III)</td><td>Streaming SIMD Extensions (SSE)</td><td>See [[Wikipedia:Streaming SIMD Extensions]]</td></tr>
</console>
<tr><td>{{c|sse2}}</td><td>2001 (Pentium 4)</td><td>Streaming SIMD Extensions 2 (SSE2)</td><td>See [[Wikipedia:SSE2]]</td></tr>
 
<tr><td>{{c|sse3}}</td><td>2004 (Pentium 4 Prescott)</td><td>Streaming SIMD Extensions 3 (SSE3/PNI)</td><td>See [[Wikipedia:SSE3]]</td></tr>
==Configuration and Runlevel Registration==
<tr><td>{{c|ssse3}}</td><td>2006 (Core 2 Woodcrest)</td><td>Supplemental Streaming SIMD Extensions 3 (SSSE3)</td><td>See [[Wikipedia:SSSE3]]</td></tr>
Edit your <tt>/etc/apcupsd/apcupsd.conf</tt> properly.
<tr><td>{{c|popcnt}}</td><td>2007</td><td>POPCNT and LZCNT</td><td>See [[Wikipedia:SSE4#POPCNT_and_LZCNT]]</td></tr>
 
{{TableEnd}}
To start <tt>apcupsd</tt>, run the following:
<console>
###i## /etc/init.d/apcupsd start
</console>
To add <tt>apcupsd</tt> to the appropriate runlevels, execute the following commands:
<console>
###i## rc-update add apcupsd default
* service apcupsd added to runlevel default
###i## rc-update add apcupsd.powerfail shutdown
* service apcupsd added to runlevel shutdown
</console>
 
==Check UPS status==
Finally, to check on the status of <tt>acpupsd</tt>, run the following:
<console>
###i## apcaccess status
###i## tail -f /var/log/apcupsd.events
</console>
 
[[Category:System]]
[[Category:First Steps]]
{{EbuildFooter}}

Revision as of 18:55, March 26, 2015

This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the CPU_FLAGS_* variables.

CPU_FLAGS_X86

FlagIntroducedName
mmx1997 (Pentium MMX)MMXSee Wikipedia:MMX (instruction set)
mmxext1999AMD MMX ExtensionsSee Wikipedia:Extended MMX
sse1999 (Pentium III)Streaming SIMD Extensions (SSE)See Wikipedia:Streaming SIMD Extensions
sse22001 (Pentium 4)Streaming SIMD Extensions 2 (SSE2)See Wikipedia:SSE2
sse32004 (Pentium 4 Prescott)Streaming SIMD Extensions 3 (SSE3/PNI)See Wikipedia:SSE3
ssse32006 (Core 2 Woodcrest)Supplemental Streaming SIMD Extensions 3 (SSSE3)See Wikipedia:SSSE3
popcnt2007POPCNT and LZCNTSee Wikipedia:SSE4#POPCNT_and_LZCNT