programing:linux-programing:linux-cpu-core-shield
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
programing:linux-programing:linux-cpu-core-shield [2022/10/21 15:45] – yoko | programing:linux-programing:linux-cpu-core-shield [2022/10/21 16:06] – yoko | ||
---|---|---|---|
行 73: | 行 73: | ||
<code bash> | <code bash> | ||
$ cat / | $ cat / | ||
+ | CPU0 | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | ... | ||
</ | </ | ||
行 147: | 行 153: | ||
その他 | その他 | ||
----- | ----- | ||
- | 下記コマンドでCPUの負荷状況を確認できる。 | + | |
+ | ### CPUに負荷をかける | ||
+ | stressコマンドで、CPUのコア# | ||
+ | |||
+ | <code bash> | ||
+ | $ taskset -c 2 stress -c 1 | ||
+ | </ | ||
+ | |||
+ | ### CPU負荷状況の確認 | ||
+ | 下記コマンドでCPUの負荷状況を表示。 | ||
<code bash> | <code bash> |
programing/linux-programing/linux-cpu-core-shield.txt · 最終更新: 2022/10/25 13:09 by yoko