sizer - Displays information about the system or kernel, or creates a sys-
tem configuration file
/usr/sbin/sizer [-atm] [-b] [-c] [-gr] [-gt] [-implver] [-l] [-m] [-M]
[-nfilename] [-p] [-pr] [-P] [-r] [-v] [-wc] [-wk] [-wp] [-wt] [-wu]
Indicates whether an ATM (Asynchronous Transfer Mode) adapter is
-b Displays the name of the file from which the running kernel was booted.
-c Displays the CPU type of the running CPU.
-gr Displays 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.
-gt Displays an ASCII ROM ID string (terminated by a line feed) for each
graphics screen that exists in the system. The ROM ID string identi-
fies 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.
Displays the family name to which the processor belongs. This can be
EV4, EV5 or EV6.
-l Displays the option for the small-memory system, or zero.
-m Displays the running kernel's module list, if that kernel was linked at
boot time. The information displayed is a space-separated list detail-
ing the exact linker options and module names used to bootstrap link
the running kernel. If the running kernel is a statically linked
image, sizer displays an empty string.
-M Displays the names of foreign kits that were linked into the running
kernel at boot time, including the name of the device from which they
were loaded. The device name is the one known to the console. (For
example, on a DEC 3000 system, the device name for a CD-ROM device is
dka400). If the running kernel is a statically linked image, sizer
displays an empty string.
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 to create devices such as Lcam. The system should be run-
ning the /genvmunix generic kernel to ensure that all required devices
and options are available. Note that disk and tape device special files
are created using dsfmgr(8).
You should run doconfig to build a new kernel.
-p Displays the number of available CPUs.
-pr Displays the number of CPUs that are currently running on the system.
-P Provides information on logical partitions.
-r Displays the name of the root device.
-v Displays the operating system version string.
-wc Displays 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
-wk Displays 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.
-wp Displays 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.
-wt Displays 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.
-wu Displays 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.
The sizer program reports information about the running system, including
the name of the kernel file. This program is also used by the doconfig
program to create a system configuration file.
Note that if you use sizer with the -n option to create a configuration
file, it may differ from the current configuration on your system. For
example, customizations may not appear in the output from sizer.
Commands: config(8), doconfig(8)