Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libbpf-tools: add dcstat for monitoring disk cache statistics. #4976

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pratima9823
Copy link

$ cd libbpf-tools/
$ make dcstat
$ sudo ./dcstat
TIME          REFS/s    SLOW/s    MISS/s  HITS
16:56:14:      4081      105       26    99.36
16:56:15:     14691      168       47    99.68
16:56:16:     12634      164       44    99.65
16:56:17:      1884      146       29    98.46
16:56:18:       209        0        0   100.00
16:56:19:       181        0        0   100.00
  • Supported  CLI options similar to dcstat.py
    • Interval
    • Count

dcstat is a simple tool that counts the various disk cache statistics.

Signed-off-by: Pratima Bhat <Pratima.Bhat@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant