Solved

Architecture on a hp machine

Posted on 2000-04-28
1
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 21

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

737 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