• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

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
0
meerak
Asked:
meerak
1 Solution
 
tfewsterCommented:
"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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now