Page MenuHomeVyOS Platform

Rewrite the uptime script in Python to allow using it as a library
Closed, ResolvedPublic

Description

Another simple step towards API-friendly op mode would be to rewrite the uptime script.

  • Allow using its functions from Python code.
  • Provide annotated output for users not familiar with the Linux uptime output conventions (it's not obvious that the load averages are for 1, 5, and 15 minutes).
  • Ideally: normalize load averages for multi-processor machines.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)