source: trunk/third/sysinfo/run-data.c @ 12269

Revision 12269, 2.0 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12268, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (c) 1992-1998 Michael A. Cooper.
3 * This software may be freely used and distributed provided it is not
4 * sold for profit or used in part or in whole for commercial gain
5 * without prior written agreement, and the author is credited
6 * appropriately.
7 */
8
9#ifndef lint
10static char *RCSid = "$Revision: 1.1.1.3 $";
11#endif
12
13/*
14 * Data for "run" commands.
15 */
16
17#include "defs.h"
18
19/*
20 * Specific command to determine our model name.
21 */
22#if     defined(MODEL_COMMAND)
23char *ModelCommand[] = { MODEL_COMMAND, NULL };
24#endif  /* MODEL_COMMAND */
25
26/*
27 * Application architecture commands. 
28 * These commands should print the system's application architecture.
29 */
30char *AppArchCmds[] = {
31    "/bin/arch",
32    "/bin/mach",
33    "/bin/machine",
34    NULL };
35
36/*
37 * Kernel architecture commands. 
38 * These commands should print the system's kernel architecture.
39 */
40char *KernArchCmds[] = {
41    "/bin/arch -k",
42    "/bin/mach",
43    "/bin/machine",
44    NULL };
45
46/*
47 * Architecture test files.
48 * Each test file is run and if the exit status is 0,
49 * the basename of the command is the name of the system architecture.
50 */
51char *AppArchFiles[] = {
52    "/bin/alliant",
53    "/bin/vax",
54    "/bin/sun",
55    NULL };
56
57/*
58 * Kernel Architecture test files.
59 * Each test file is run and if the exit status is 0,
60 * the basename of the command is the name of the kernel architecture.
61 */
62char *KernArchFiles[] = {
63    "/bin/hp9000s200",
64    "/bin/hp9000s300",
65    "/bin/hp9000s400",
66    "/bin/hp9000s500",
67    "/bin/hp9000s700",
68    "/bin/hp9000s800",
69    NULL };
70
71/*
72 * CPU type test files.
73 * Each test file is run and if the exit status is 0,
74 * the basename of the command is the name of the system CPU type.
75 */
76char *CPUFiles[] = {
77        "/bin/sparc",
78        "/bin/mc68010",
79        "/bin/mc68020",
80        "/bin/mc68030",
81        "/bin/mc68040",
82        "/bin/m68k",
83        "/bin/vax",
84        "/bin/alliant",
85        "/bin/i386",
86        "/bin/i860",
87        "/bin/iAPX286",
88        "/bin/pdp11",
89        "/bin/u370",
90        "/bin/u3b15",
91        "/bin/u3b2",
92        "/bin/u3b5",
93        "/bin/u3b",
94        NULL };
Note: See TracBrowser for help on using the repository browser.