Revision: | 1.1 |
Committed: | Thu Aug 21 22:19:22 2003 UTC (21 years, 2 months ago) by pajs |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | Added load_average examples and documentation. |
# | User | Rev | Content |
---|---|---|---|
1 | pajs | 1.1 | Load stats a way of pulling out the load average of a system. On most systems, its |
2 | just a wrapper to getloadavg. | ||
3 | |||
4 | The call returns a static buffer of load_stat_t load_stat | ||
5 | |||
6 | load_stat_t is made up : | ||
7 | |||
8 | typedef struct{ | ||
9 | double min1; | ||
10 | double min5; | ||
11 | double min15; | ||
12 | }load_stat_t; | ||
13 | |||
14 | minX contains a double of the load average over the time X in minutes. |