x11fs | lxcfs | |
---|---|---|
2 | 1 | |
352 | 998 | |
- | 1.1% | |
0.0 | 6.8 | |
over 3 years ago | 5 days ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
x11fs
-
Integrating the window manager and emacs
Cool, never heard of x11fs before. Yes, it seems like it is done exactly for a purpose like asked by OP.
- X11fs: A tool for manipulating X windows (2016)
lxcfs
-
Go, Containers, and the Linux Scheduler
> I wondered for a while if docker could make a fake /proc/cpuinfo
This exists: https://github.com/lxc/lxcfs
lxcfs is a FUSE filesystem that mocks /proc by inferring cgroup values in a way that makes other applications and libraries work without having to care about whether it runs in a container (to the best of its ability - there are definitely caveats).
One such example is that /proc/uptime should reflect the uptime of the container, not the host; additionally /proc/cpuinfo reflects the number of CPUs as a combination of cpu.max and cpuset.cpus (whichever the lower bound is).
As others also mentioned, inferring the number of CPUs could also be done using the sched_getaffinity syscall - this doesn't depend on /proc/cpuinfo, so depending on the library you're using you might be in a pickle.
What are some alternatives?
FrankenWM - 🖼️ Fast dynamic tiling X11 window manager
LXC - LXC - Linux Containers
hfsfuse - FUSE driver for HFS+ filesystems
automaxprocs - Automatically set GOMAXPROCS to match Linux container CPU quota.
ifuse - A fuse filesystem to access the contents of iOS devices
GlusterFS - Gluster Filesystem : Build your distributed storage in minutes
bspwm - A tiling window manager based on binary space partitioning
go - The Go programming language