pcstat icon indicating copy to clipboard operation
pcstat copied to clipboard

Page Cache stat: get page cache stats for files on Linux

Results 15 pcstat issues
Sort by recently updated
recently updated
newest added

Thanks so much for the project and it is very helpful. For v0.0.2, is it possible to release binaries distributions in the release assets like v0.0.1? That will make it...

The first parameter fd of the setns system call should refers to a /proc/[pid]/ns/ link. setns fails, then cannot get the page cache for a containerized process.

Cannot output JSON if NaNs are present. One solution is to avoid setting `Percent` to NaN in the first place. Resolves #44.

It will be great if the empty file case can be handled when outputting json. # steps to reproduce this issue ``` ❯ touch /tmp/test.txt # create an empty file...

This adds support for the cachestat syscall introduced in kernel 6.5 by @nhatsmrt as an alternative to mmap/mincore. I've tried to make sure that the output is fully backward-compatible and...