summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2003-12-29 12:29:37 +0000
committermaxim <maxim@FreeBSD.org>2003-12-29 12:29:37 +0000
commitaef221ac80514e80790f673630d4fe1bec47f204 (patch)
treecaa799727d860a18e8184b36ea4563d224849edd /lib/libc
parenta3659bc228f903f61a7922ccc99be85845497fe7 (diff)
downloadFreeBSD-src-aef221ac80514e80790f673630d4fe1bec47f204.zip
FreeBSD-src-aef221ac80514e80790f673630d4fe1bec47f204.tar.gz
Describe kern.ipc.nsfbufsused and kern.ipc.nsfbufspeak.
Reviewed by: silby
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/sendfile.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index e2cac6a..feada07 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -145,6 +145,14 @@ variable or the
kernel configuration tunable.
The number of sendfile buffers scales with
.Va kern.maxusers .
+.Va kern.ipc.nsfbufsused
+and
+.Va kern.ipc.nsfbufspeak
+read-only sysctl variables show current and peak
+.Xr sendfile 2
+buffers usage respectively.
+These values may also be viewed through
+.Nm netstat Fl m .
.Sh RETURN VALUES
.Rv -std sendfile
.Sh ERRORS
@@ -201,6 +209,7 @@ If specified, the number of bytes successfully sent will be returned in
.Fa *sbytes .
.El
.Sh SEE ALSO
+.Xr netstat 1 ,
.Xr open 2 ,
.Xr send 2 ,
.Xr socket 2 ,
OpenPOWER on IntegriCloud