On 12/17/24 6:24 PM, Yu Kuai wrote:
- sleep 0.1+ while ! cat $CGROUP2_DIR/$THROTL_DIR/cgroup.procs | grep $pid; do+ sleep 0.1 _throtl_issue_io "$rw" "$bs" "$count" } &
If this approach is used, please add the options -q (quiet) and -w (match whole words only) to the grep command. Thanks, Bart.