machid(1) UNIX System V(Essential/User Environment Utilities) machid(1)
NAME
machid - get processor type truth value
SYNOPSIS
machid [option]
DESCRIPTION
The machid command returns a value to indicate the computer processor,
model, hard disk, and/or bus architecture.
The following are machid usages and the meaning of their return codes.
machid
Exit Code Machine Type
0 Generic AT386 machine
1 Compaq 386
2 AT&T 6386 or 6386E
4 AT&T 6386/SX
5 AT&T 6386/25
6 AT&T 6386E/33
10 AT&T 6386E/33 Model S
machid -s
Exit Code Meaning
0 Bootable Non-SCSI Hard Disk
1 Bootable SCSI Hard Disk
machid -e
Exit Code Meaning
0 AT&T 6386E/33 Model S configured correctly
3 Not configured correctly
machid -p
Exit Code Meaning
3 Machine has a 80386
4 Machine has a 80486
machid -a
Exit Code Meaning
0 Machine uses an AT Bus Architecture
1 Machine uses an EISA Bus Architecture
SEE ALSO
sh(1), test(1), true(1), uname.
NOTES
This command supersedes the old machid family (pdp11, u3b2, u3b5, u3b15,
vax, 386, u370) manual page which is obsolescent.
10/89 Page 1