Skip to content

Upgrade psutil to 5.2.0#6585

Merged
pvizeli merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-psutil
Mar 13, 2017
Merged

Upgrade psutil to 5.2.0#6585
pvizeli merged 1 commit into
home-assistant:devfrom
fabaff:upgrade-psutil

Conversation

@fabaff
Copy link
Copy Markdown
Member

@fabaff fabaff commented Mar 13, 2017

5.2.0

Enhancements

  • [Linux] Add psutil.sensors_fans() function. (patch by Nicolas Hennion)
  • [Windows] Process.io_counters() has 2 new fields: other_count and other_bytes.
  • [Linux] Process.io_counters() has 2 new fields: read_chars and write_chars.

Bug fixes

  • [Linux] can now compile on Linux by using MUSL C library.
  • [Windows] Fix a crash in Process.open_files when the worker thread for NtQueryObject times out.
  • [Linux] Process.cwd() may raise NoSuchProcess instead of ZombieProcess.

Tested with the following configuration:

sensor:
  - platform: systemmonitor
    resources:
      - type: load_1m
      - type: 'disk_use_percent'
        arg: '/'
      - type: 'disk_use'
        arg: '/home'
      - type: 'disk_free'
        arg: '/'

@mention-bot
Copy link
Copy Markdown

@fabaff, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jjmontesl, @balloob and @rmkraus to be potential reviewers.

@pvizeli pvizeli merged commit 4a08067 into home-assistant:dev Mar 13, 2017
@balloob balloob mentioned this pull request Mar 24, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jun 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants