op_comptype

A utility used by the installation scripts that prints out a string describing the host environment, including the host computer manufacturer, CPU architecture, and operating system.

Description

Several C Shell scripts execute different commands depending on the type of workstation on which they are running. In order for these scripts to distinguish the type of the host workstation, they use the op_comptype program. This program prints out a string that describes the host environment, with the format shown below:

op_comptype output format

The possible printed output values include:

  • pc_intel_win32
  • pc_amd_win64
  • pc_intel_linux
  • pc_intel_linux64

The op_comptype program will almost never be executed directly, except perhaps in situations where a user has logged into a remote workstation of unknown type and wants to determine the type.

Preferences

No preferences are supported by op_comptype.

Example Usage

% op_comptype
pc_intel_linux%

Note: Note in the above example that the output of this program is a single word that is not delimited by a newline character. This has the effect of causing the next C Shell prompt to be concatenated to the end of the output.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com