4 ms·
> Note that managing resources is much harder when swap is in the picture, because you can get the resident memory of a process, but not the swap usage of a pro
by hinoki 6y ago
> Note that managing resources is much harder when swap is in the picture, because you can get the resident memory of a process, but not the swap usage of a process.
Why can you not get swap usage? It’s in smaps, right?
- aidenn0 6y agoOh smaps is newer than my knowledge. I did since more research and your still can't limit over RSS+swap with ulimit though. There's a chance you could with cgroups though as there's lots of features there.