Skip to content
New issue

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

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

Already on GitHub? # to your account

Correct comment about disk_usage() in FreeBSD #1216

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Correct comment about disk_usage() in FreeBSD #1216

merged 1 commit into from
Mar 1, 2024

Conversation

janlugt
Copy link
Contributor

@janlugt janlugt commented Mar 1, 2024

During testing on FreeBSD, I found that disk_usage() only measures disk read/writes. This makes sense, since sysutil uses getrusage, and the man page clearly indicates that ru_inblock and ru_oublock represent disk I/O. Not sure where the comment about measuring all I/O comes from.

@GuillaumeGomez
Copy link
Owner

It's indeed wrong, good catch, thanks!

@GuillaumeGomez GuillaumeGomez merged commit 8da2f05 into GuillaumeGomez:master Mar 1, 2024
66 of 67 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants