]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - README.md
Merge pull request #508 from Blub/2021-12-09/cgv2-swap-meminfo
[mirror_lxcfs.git] / README.md
index 54d3eabfcaf572172ccaa61087937b9523759411..50045e02ad4df627e5fdf1657c65919d4c3d9be3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ such as:
 /proc/swaps
 /proc/uptime
 /proc/slabinfo
+/sys/devices/system/cpu
 /sys/devices/system/cpu/online
 ```
 
@@ -44,7 +45,9 @@ To force a reload of the shared library at the next possible instance simply
 send `SIGUSR1` to the pid of the running `LXCFS` process. This can be as simple
 as doing:
 
-    kill -s USR1 $(pidof lxcfs)
+    rm /usr/lib64/lxcfs/liblxcfs.so # MUST to delete the old library file first
+    cp liblxcfs.so /usr/lib64/lxcfs/liblxcfs.so # to place new library file
+    kill -s USR1 $(pidof lxcfs) # reload
 
 ### musl
 
@@ -57,15 +60,16 @@ So users of `LXCFS` on `musl` are advised to restart `LXCFS` completely and all
 containers making use of it.
 
 ## Building
-Build lxcfs as follows:
 
-    yum install fuse fuse-lib fuse-devel
+In order to build LXCFS install fuse and the fuse development headers according
+to your distro. LXCFS prefers `fuse3` but does work with new enough `fuse2`
+versions:
+
     git clone git://github.com/lxc/lxcfs
     cd lxcfs
-    ./bootstrap.sh
-    ./configure
-    make
-    make install
+    meson setup -Dinit-script=systemd --prefix=/usr build/
+    meson compile -C build/
+    sudo meson install -C build/
 
 ## Usage
 The recommended command to run lxcfs is: