sysinfo(1)
NAME
sysinfo − give information on type of kernel or system type
SYNOPSIS
sysinfo [−v] [−m]
DESCRIPTION
The sysinfo command returns the type of kernel currently executing, or the system type. With no options, the sysinfo command will return:
1 if running a CX/UX kernel
2if running a CX/RT kernel
4if running a CX/SX kernel configured to C2 security
8if running a CX/SX kernel configured to B1 security
If the −m option is specified, then sysinfo will return the cpu machine type of the system:
1 if running on a Series 2000 system
3 if running on a Series 3000 system
4 if running on a Series 1000 system
5 if running on a Series 4000 HN 4400 system
6 if running on a Series 4000 HN 4800 system
7 if running on a Series 5000 HN 5800 system
With the −v option, sysinfo will write the type of kernel or system type to stdout, in addition to returning the information above.
EXAMPLES
On a Series 4000 HN4400 system running CX/SX at level C2, the following examples would produce the indicated results.
$ sysinfo −v
CX/SX configured to C2 security
$ sysinfo −v −m
Series 4000 HN4400
And for
sysinfo
if [ "$?" -ge 4 ]
then
echo "Executing Secure Unix"
fi
The system would display:
Executing Secure Unix
SEE ALSO
CX/UX User’s Reference Manual