projects
/
ampy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943c323
)
Added note about cgroup2 protection
master
author
Jean-Michel Vourgère
<nirgal@debian.org>
Mon, 16 Aug 2021 13:51:02 +0000
(15:51 +0200)
committer
Jean-Michel Vourgère
<nirgal@debian.org>
Mon, 16 Aug 2021 13:51:02 +0000
(15:51 +0200)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index 7a752b69139c5656d99193d6060d6dc1a9c84a78..9f37c36383a3827c9fd55dfcf91a3ded3678a7e4 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-192,3
+192,6
@@
Notes to cleanup (ignore that)
watch -n 0.5 rrdtool graphv - '-s' '1546280606' 'DEF:watts=/var/lib/rrdcached/db/power.rrd:watts:AVERAGE' 'VDEF:avg=watts,AVERAGE' 'VDEF:last=watts,LAST' 'PRINT:avg:%lf' 'PRINT:last:%lf'
Alors que ça si:
watch -n 0.5 rrdtool lastupdate --daemon /var/run/rrdcached.sock /var/lib/rrdcached/db/power.rrd
+
+ If you want to run in a cgroup2 protected container, you need to add:
+ lxc.cgroup2.devices.allow = c 116:* rwm