Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ check4(8) — SunOS 4.0.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET4(8)  —  MAINTENANCE COMMANDS

NAME

set4, unset4, check4 − set, unset, and check the 4 megabyte virtual address space limit flag in a Sun386i module

SYNOPSIS

set4 [ −d working_directory ] [ − | filename ] ... 

unset4 filename ... 

check4 filename ... 

AVAILABILITY

Sun386i systems only. 

DESCRIPTION

set4 sets the 4 megabyte process memory flag in each filename program image, limiting the virtual address space for each program to 4 megabytes.  If a dash (−) is used, set4 reads the standard input for a list of files to set the 4 megabyte limit on.  Lines in the standard input whose first character is ‘#’ are ignored, so files may include comments. 

unset4 clears the 4 megabyte process memory flag in the program image, so the process virtual address space is not limited to 4 megabytes. 

check4 reports programs that do not have the 4 megabyte limit set, and does not report programs with the limit set. 

OPTIONS

−d working_directory
This specifies a directory prefix for file names that set4 processes. 

EXAMPLES

Suppose that the file progs contains the following:

# Limit the virtual address spaces of these files to 4 MB
/bin/date
/bin/true

Then the following command will run set4 on /build/bin/false, /build/bin/date, /build/bin/true, and /build/bin/cat. 

example% set4 −d /build  /bin/false  − /bin/cat < progs
example%

In this example, unset4 clears the 4 megabyte limit flag in date, and clri. 

example% unset4 /bin/date /etc/clri
example%

In the last example, check4 shows that date and clri are 4 megabyte processes, but basename is not. 

example% check4 /bin/date /etc/clri /usr/bin/basename
basename is not a 4MB process
example%

Sun Release 4.0  —  Last change: 17 July 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026