Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

config(8)

doconfig(8)

sizer(8)  —  Maintenance

NAME

sizer − A program that sizes system hardware

SYNOPSIS

/usr/sbin/sizer [ flags ]

DESCRIPTION

The sizer program reports information about a kernel file and the running system. It is also used by the doconfig program to create a system configuration file. 

FLAGS

−cReturns the CPU type of the running CPU. 

−rReturns the name of the root device. 

−k imageSpecifies an alternate kernel file.  This option has no effect in Version 2.0 of the operating system and may be removed in a future release. 

−n filename
Creates a configuration file.  The −n option creates a configuration file in /tmp/filename and a shell script named /tmp/filename.devs that runs MAKEDEV and creates the device special names for the devices specified in the configuration file.  The system should be running the /genvmunix generic kernel to ensure that all devices and options are available. 

NOTE: The user should run doconfig to build a new kernel. 

−t timezone
Specifies a time zone string as defined in the System Administration manual for the timezone global definition. 

For example, the timezone string "5 dst 1" specifies the time zone five hours west of Greenwich Mean Time, adjusted for United States Eastern daylight savings time.  Note that the −t option cannot be used with the −n option. 

−bReturns the name of the file from which the running kernel was booted. 

−pReturns the number of available CPUs. 

−wtReturns the type of workstation display.  This number specifies each byte, which indicates a type of display, with one byte used for each display.  The limit is zero to four displays. 

−wuReturns the workstation display units.  This number specifies the "on" bits, which indicate the display units that exist on the system.  For example, the return number 1 indicates that one display exists, the return number 3 indicates that two displays exist, the return number 7 indicates that three displays exist, and the return number 15 indicates that 4 displays exist.  The limit is zero to four displays. 

−wcReturns the type of workstation console.  This number indicates whether a graphics head was chosen as the system console at boot time, or whether the alternate (serial interface) console was chosen.  If a graphics console was chosen, a zero (0) is returned to standard output.  If an alternate console was chosen, a one (1) is returned to standard output. 

−wkReturns an ASCII string that identifies the workstation keyboard if one exists in the system.  For example, LK401 specifies the default keyboard on the DEC 3000 Model 500 system. 

−wpReturns an ASCII string that identifies the workstation pointer if one exists in the system.  For example, VSXXXAA specifies the mouse on a DEC 3000 Model 500 system. 

−gtReturns an ASCII ROM ID string (terminated by a line feed) for each graphics screen that exists in the system.  The ROM ID string identifies the graphics controller for the screen.  Some controllers can manage more than one physical or logical screen.  If there are no screens in the system, then nothing is returned. 

−grReturns an ASCII string (terminated by a line feed) that specifies the size, in pixels, for each graphics screen that exists in the system.  The information is displayed in the following format: width x height.  For example, 1280x1024 specifies the default graphics screen on a DEC 3000 Model 500 system.  The resolutions of all the existing screens are displayed on a single line in the same order as the ROM ID strings that are displayed by the −gt option.  If no screens exist in the system, then 0x0 is displayed. 

RELATED INFORMATION

config(8), doconfig(8)
System Administration

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