Solved

Architecture on a hp machine

Posted on 2000-04-28
1
208 Views
Last Modified: 2010-04-21
How do I find the architecture of the hp machine?
One thing I know of is to create an executable using default options
and do  "file a.out" which gives the currect archivecture.
For eg. PA-RISC2.0

Is there any standard command to find it?
Can we interpret it using uname -m?

Thanks,
Meera
0
Comment
Question by:meerak
1 Comment
 
LVL 20

Accepted Solution

by:
tfewster earned 50 total points
ID: 2760328
"uname -m" gives you the hardware "class", e.g. 9000/756; "model" will give you the model number related to this, e.g. B180

Use one of the following methods to identify your PA RISC architecture:

     A. If you have installed compilers on your system, grep the
        '/opt/langtools/lib/sched.models' file for your machine model.

        --OR--

     B. If you have not installed compilers on your system, grep
        the '/usr/lib/sched.models' file for your machine model.

When you read the file information:

     - The left column of this file contains the machine name.

     - The middle column contains the PA-RISC revision.

     - The right column contains your system's CPU model.

(From an article dated 26/8/1999 on HPs web site)


0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question