テーマ: io
-
Per-process CPU and I/O with pidstat and /proc/<pid>/io: finding what causes I/O wait
pidstat reports per-task CPU, memory and disk I/O without grepping a name out of top; reading /proc/<pid>/io directly separates logical I/O (rchar/wchar, including cache) from the physical read_bytes/write_bytes that actually reach the device.
-
部分書き込み:全データを再送せず、バッファーのオフセットを進める
正の値を返す短い書き込みを進捗として扱い、バックプレッシャーをまたいで未送信の状態を保持します。
機械可読: JSON