Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0926/3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Change swap device.
 [rsc] --rw-rw-r-- M 399900 glenda sys 8965 Sep 26 16:25 sys/man/3/cons
	/n/sourcesdump/2005/0926/plan9/sys/man/3/cons:297,313 - 
	/n/sourcesdump/2005/0927/plan9/sys/man/3/cons:297,326
	  .PP
	  The
	  .B swap
	- device holds a string of the form
	+ device holds a text block giving memory usage statistics:
	  .IP
	- .IB m1 / m2
	- .B memory
	- .IB s1 / s2
	- .B swap
	+ .EX
	+ \fIn\fP memory
	+ \fIn\fP pagesize
	+ \fIn\fP kernel
	+ \fIn\fP/\fIm\fP user
	+ \fIn\fP/\fIm\fP swap
	+ \fIn\fP/\fIm\fP kernel malloc
	+ \fIn\fP/\fIm\fP kernel draw
	+ .EE
	  .PP
	- These give, for each of
	- internal memory and the swapping area,
	- the number of pages used and the total available.
	+ These are total memory (bytes), system page size (bytes),
	+ kernel memory (pages), user memory (pages), swap space (pages),
	+ kernel malloced data (bytes), and kernel graphics data (bytes).
	+ The expression
	+ .IR n / m
	+ indicates
	+ .I n
	+ used out of
	+ .I m
	+ available.
	  These numbers are not blank padded.
	+ .PP
	  To turn on swapping, write to
	  .B swap
	  the textual file descriptor number of a file or device on which to swap.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.