summaryrefslogtreecommitdiffstats
path: root/man2/sysinfo.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/sysinfo.2')
-rw-r--r--man2/sysinfo.216
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/sysinfo.2 b/man2/sysinfo.2
index fc44136..5566b4b 100644
--- a/man2/sysinfo.2
+++ b/man2/sysinfo.2
@@ -12,7 +12,7 @@
.\" Modified Tue Oct 22 22:29:51 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified Mon Aug 25 16:06:11 1997 by Nicolás Lichtmaier <nick@debian.org>
.\"
-.TH sysinfo 2 2023-03-30 "Linux man-pages 6.05.01"
+.TH sysinfo 2 2023-10-31 "Linux man-pages 6.7"
.SH NAME
sysinfo \- return system information
.SH LIBRARY
@@ -21,18 +21,18 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <sys/sysinfo.h>
-.PP
+.P
.BI "int sysinfo(struct sysinfo *" info );
.fi
.SH DESCRIPTION
.BR sysinfo ()
returns certain statistics on memory and swap usage,
as well as the load average.
-.PP
+.P
Until Linux 2.3.16,
.BR sysinfo ()
returned information in the following structure:
-.PP
+.P
.in +4n
.EX
struct sysinfo {
@@ -49,13 +49,13 @@ struct sysinfo {
};
.EE
.in
-.PP
+.P
In the above structure, the sizes of the memory and swap fields
are given in bytes.
-.PP
+.P
Since Linux 2.3.23 (i386) and Linux 2.3.48
(all architectures) the structure is:
-.PP
+.P
.in +4n
.EX
struct sysinfo {
@@ -76,7 +76,7 @@ struct sysinfo {
};
.EE
.in
-.PP
+.P
In the above structure,
sizes of the memory and swap fields are given as multiples of
.I mem_unit