You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
馃 ~ $ coder stat mem
0.201/0.769 GiB (26%)
馃 ~ $ coder stat cpu
running command "coder stat cpu": get total cpu:
github.com/coder/coder/cli/clistat.(*Statter).ContainerCPU
/home/runner/actions-runner/_work/coder/coder/cli/clistat/cgroup.go:62
- read cpu period:
github.com/coder/coder/cli/clistat.(*Statter).cGroupV1CPUTotal
/home/runner/actions-runner/_work/coder/coder/cli/clistat/cgroup.go:156
- read /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_period_us:
github.com/coder/coder/cli/clistat.readInt64
/home/runner/actions-runner/_work/coder/coder/cli/clistat/cgroup.go:277
- open /sys/fs/cgroup/cpu,cpuacct/cpu.cfs_period_us: no such file or directory
The text was updated successfully, but these errors were encountered:
* Attempts reading cgroupv1 quota, period, usage from /sys/fs/cgroup/cpu,cpuacct by default
* Fall back to /sys/fs/cgroup/cpu for v1 quota and period
* Fall back to /sys/fs/cgroup/cpuacct for v1 usage
Fixes#8468
Version:
v0.26.0+bf8af90
coder stat mem
works butcoder stat cpu
does notThe text was updated successfully, but these errors were encountered: