logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

i8kctl - Utility to get information, and set fans states

Authors

       2013-2017 Vitor Augusto <vitorafsr@gmail.com>
       2001-2009 Massimo Dal Zotto <dz@debian.org>

Description

       The  i8kctl  can  be used to retrieve the information listed below. It does that by means of querying the
       system through the dell-smm-hwmon kernel module. When  invoked  without  arguments  it  reports  all  the
       information at once in one line of text.  The information is the same as the file /proc/i8k.

              1.  i8k output format version
              2.  Dell bios version
              3.  service tag (later 'machine id')
              4.  cpu temperature
              5.  left fan status
              6.  right fan status
              7.  left fan speed
              8.  right fan speed
              9.  ac power status
              10. fn buttons status

       The following parameters select one of the information: version, bios, id, temp, fan, speed, ac and fn.

       Some examples of usage and output are below.

              $ i8kctl
              1.0 A17 B5W123K 52 2 1 8040 6420 1 2

              $ i8kctl temp
              52

              $ i8kctl fan
              2 1

       The fan parameter accepts two optional arguments for the fans states. The state arguments can be:

              0  turn the fan off
              1  set low speed
              2  set high speed
              -  don't change the state of this fan

       And the following is an example of usage:

              $ i8kctl fan - 2

       This  sets  the  right  fan  to high speed and leaves the left unchanged.  It should be noted that if the
       i8kmon(1) daemon is used to control the fans, setting the speed with i8kctlfan is  pointless  since  the
       daemon override regularly the speed with its own value.

       If  i8kctlfan  is  invoked without the optional arguments, the states of the fans are returned, and the
       output may contains a -1 which indicates that the corresponding fan does not exist.

Files

/proc/i8k

Name

       i8kctl - Utility to get information, and set fans states

See Also

i8kmon(1)

Vitor Augusto                                      2017-02-26                                          i8kctl(1)

Synopsis

i8kctl [<param> [<args>]]

See Also