Architecture on a hp machine

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
LVL 1
meerakAsked:
Who is Participating?
 
tfewsterConnect With a Mentor Commented:
"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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.