You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change Linux Sysmon to use "/proc/stat" instead of "/proc/schedstat" #506
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
Fix nasa#506, update linux sysmon to use /proc/stat
Fix nasa#506, update linux sysmon to use /proc/stat
Fix nasa#506, update loop limit
Fix nasa#506, update loop limit
Merge pull request nasa#509 from jphickey/fix-506-procstat