VERSION(8) MachTen Programmer’s Manual VERSION(8)

NAME
version - print kernel version identification string

SYNOPSIS
version [ -M ] [ -s symbol ] [ name-list-file ]

DESCRIPTION
This program simply examines the currently installed ker-
nel to obtain the version identification string. This
string is then printed on the standard output.

When the -M option is used, the Macintosh System Environ-
ment (_SysEnvirons) version information is read from the
currently running MacOS, and is printed on the standard
output.

When the -s option is used, the following symbol is looked
up in the name list file and its address is printed.

If a name list file argument is specified, it is used
instead of the default path, /vmunix.

The kernel version string currently consists of the fol-
lowing fields: the operating system name, the version num-
ber, and the date the version was built.

FILES
/vmunix default kernel name list file
/dev/kmem default kernel image file

SEE ALSO
Inside Macintosh, Volume V, p. V-6, Apple Computer Co.,
Addison-Wesley

MachTen 02/22/91 1