Skip to content

OSX: Yosemite: hw.availcpu is not defined #8

Closed

Description

@dblock
~/source/oshi/dblock (ptitvert-master)$ sysctl -n hw.physicalcpu
2
~/source/oshi/dblock (ptitvert-master)$ sysctl -n hw.logicalcpu
4
~/source/oshi/dblock (ptitvert-master)$ sysctl -n hw.availcpu
sysctl: unknown oid 'hw.availcpu'

This may be relevant: http://bugs.python.org/issue17444

Causes testGetProcessors to fail.

Activity

  1. added
    confirmed bug
    on Nov 11, 2014
  2. ptitvert commented on Nov 11, 2014

    @ptitvert
    Contributor

    Hmmm I haven't yet upgraded to Yosemite, so I haven't check it...
    I will get your advices and use "hw.logicalcpu" instead.

    Merci Daniel :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions