Bug 2596 - Use os.getloadavg()
Summary: Use os.getloadavg()
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Enhancement
Target Milestone: 4.19.0
Assignee: Samuel Mannehed
URL:
Keywords: interesting_210
Depends on: 2574
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-07 13:55 CET by Erik Forsberg
Modified: 2025-05-13 10:30 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Erik Forsberg cendio 2007-12-07 13:55:48 CET
Python 2.3's os module has a getloadavg() function. Verify that it works on both Linux and Solaris and us it instead of 'cat /proc/loadavg'/parsing output from 'uptime'.
Comment 1 Tobias cendio 2025-05-13 10:30:06 CEST
All instances of parsing /proc/loadavg were removed in bug 4429 in the process of simplifying the load balancer. Closing.

Note You need to log in before you can comment on or make changes to this bug.