%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/modules/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/modules/sensors.pyo

�
���^c@@sbdZddlmZmZmZddlZddlZeje	�Z
d�Zed�Z
dS(u-
Read lm-sensors

.. versionadded:: 2014.1.3
i(tabsolute_importtunicode_literalstprint_functionNcC@s#tjjjd�rtStdfS(Nusensorsu"sensors does not exist in the path(tsalttutilstpathtwhichtTruetFalse(((s8/usr/lib/python2.7/site-packages/salt/modules/sensors.pyt__virtual__scC@s�d}|tkrd}ntddj||�dt�j�}i}xJ|D]B}|jd�}t|�dkrP|dj�||d	<qPqPW|S(
uq
    Gather lm-sensors data from a given chip

    To determine the chip to query, use the 'sensors' command
    and see the leading line in the block.

    Example:

    /usr/bin/sensors

    coretemp-isa-0000
    Adapter: ISA adapter
    Physical id 0:  +56.0°C  (high = +87.0°C, crit = +105.0°C)
    Core 0:         +52.0°C  (high = +87.0°C, crit = +105.0°C)
    Core 1:         +50.0°C  (high = +87.0°C, crit = +105.0°C)
    Core 2:         +56.0°C  (high = +87.0°C, crit = +105.0°C)
    Core 3:         +53.0°C  (high = +87.0°C, crit = +105.0°C)

    Given the above, the chip is 'coretemp-isa-0000'.
    uu-fucmd.runu/usr/bin/sensors {0} {1}tpython_shellu:iii(Rt__salt__tformatRt
splitlinestsplittlentlstrip(tchipt
fahrenheitt
extra_argstsensorstrettsensortsensor_list((s8/usr/lib/python2.7/site-packages/salt/modules/sensors.pytsenses	(
(t__doc__t
__future__RRRtloggingtsalt.utils.pathRt	getLoggert__name__tlogR	RR(((s8/usr/lib/python2.7/site-packages/salt/modules/sensors.pyt<module>s	

Zerion Mini Shell 1.0