Show Table of Contents
function::get_loadavg_index
名前
function::get_loadavg_index — 指定された間隔の負荷平均値を取得します。
概要
get_loadavg_index:long(indx:long)
引数
indx- 取得する負荷平均間隔。
説明
この関数は、指定された間隔で負荷平均値を返します。3 つの負荷平均値 1 分、5 分、および 15 分は avenrun アレイのインデックス 0、1、および 2 に対応します (linux/sched.h を参照)。負荷平均値の切り捨て整数部分が返されることに注意してください。指定されたインデックスが範囲外の場合は、エラーメッセージと例外が発生します。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.