Expand description
定期ヘルスチェック機能。
Structs§
- CpuInfo
- CPU 情報。
- Disk
Info - ディスク使用率。
- Health
- ヘルスチェックシステムモジュール。
- Health
Config - ヘルスチェック設定データ。toml 設定に対応する。
- History
Entry 🔒 - 履歴データのエントリ。
- MemInfo
- メモリ使用率。
- Throttle
Flags - vcgencmd get_throttled bit flags
Constants§
- HISTORY_
QUEUE_ 🔒SIZE - Health::history の最大サイズ。
Functions§
- get_
cpu_ cores - CPU 論理コア数を取得する。
- get_
cpu_ info - CpuInfo を計測する。
- get_
cpu_ temp - CPU 温度 (正確には違うかもしれない。ボード上の何らかの温度センサの値。) を取得する。
- get_
current_ freq - CPU クロック周波数を取得する。
- get_
disk_ info - DiskInfo を計測する。
- get_
freq_ conf - CPU クロック周波数の設定値を取得する。 実際の周波数は発熱によるスロットリングによりこれより低くなる可能性がある。
- get_
mem_ info - MemInfo を計測する。
- get_
throttle_ status - CPU スロットリング状態を取得する。