Skip to content

Change Linux Sysmon to use "/proc/stat" instead of "/proc/schedstat" #506

Closed

Description

@jphickey

Is your feature request related to a problem? Please describe.
The "schedstat" interface is not available in many distributions, as it depends on having the respective kernel options enabled to publish this information. This contains detailed info about the internal workings of the Linux scheduler and is really intended for debugging the kernel scheduler itself.

More general-purpose status info can be obtained via /proc/stat instead. This interface should be available on all Linux kernels and it provides the necessary information.

Describe the solution you'd like
Use /proc/stat information instead of /proc/schedstat

Describe alternatives you've considered
Make a separate sysmon module, or accept that the sysmon will not work on the majority of linux systems.

Additional context
The schedstat implementation was written against an embedded system that happened to have this interface enabled.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

Activity

  1. added 2 commits that reference this issue on Sep 25, 2026
    0e86818
    bfbd8f0
  2. added 2 commits that reference this issue on Oct 8, 2026
    e231401
    f579373
  3. added a commit that references this issue on Oct 28, 2026
    73f01c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions