os.loadavg()
- 返回次数:编号[]
返回包含 1、5 和 15 分钟平均负载的数组。
【Returns an array containing the 1, 5, and 15 minute load averages.】
负载平均值是操作系统计算的系统活动的度量,并以小数形式表示。
【The load average is a measure of system activity calculated by the operating system and expressed as a fractional number.】
负载平均值是 Unix 特有的概念。在 Windows 上,返回值始终是 [0, 0, 0]。
【The load average is a Unix-specific concept. On Windows, the return value is
always [0, 0, 0].】