Welcome to FrauBSD.org/nfsdtop!
Display top I/O on NFS servers using bpftrace
The following is required before using git commit
in this project.
$ .git-hooks/install.sh
This will ensure the FrauBSD keyword is expanded/updated for each commit.
Display top I/O on NFS servers using bpftrace on Linux and DTrace on FreeBSD
License: BSD 2-Clause "Simplified" License
Display top I/O on NFS servers using bpftrace
The following is required before using git commit
in this project.
$ .git-hooks/install.sh
This will ensure the FrauBSD keyword is expanded/updated for each commit.
I think I have found a bug in nfsdtop.linux: It currently does not count any NFS4 write traffic.
Looking at the code, I see the following in kprobe:nfsd4_write
:
@nfsd4_write_count[tid] = $nfsd4_write->wr_bytes_written;
That seems wrong. When the write function is entered, obviously 0 bytes have been written so far. We would need to read wr_bytes_written
when the function returns instead, it will always contain 0 before the function runs.
As a workaround, I tried resorting to $nfsd4_write->wr_buflen
instead. That does yield results that look far more in line with the actual network and disc traffic of the server I tried this on - but obviously it is prone to overcounting if not all bytes are written, e.g. because the user exceeded the quota. I'm unsure if there is a better fix, otherwise I'd propose a patch.
Thanks for this great tool!
I'm running nfsdtop on Linux (with sudo nfsdtop
) and I'm getting the following error:
Interval: 2.000s Mon 19 Dec 2022 02:53:27 PM UTC
USER TOTAL WRITE(IN) | READ(OUT)
INFO Waiting for bpftrace to initialize...
ERROR: Could not resolve symbol: /proc/self/exe:BEGIN_trigger
It's a virtual machine. Linux kernel version is 5.15.0-30-generic.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.