The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell script for a writing the directory structure to a file bhaskar_m Shell Programming and Scripting 6 03-09-2009 05:15 AM
Search attributes in one structure using the values from another structure dhanamurthy High Level Programming 3 03-27-2008 03:37 AM
using regular expressions in c shell control structure ballazrus Shell Programming and Scripting 3 02-20-2006 12:59 AM
Determine date and time the file was created through shell scripts BharatSurana Shell Programming and Scripting 1 01-11-2006 01:06 PM
Need script to make big directory structure kamur Shell Programming and Scripting 2 11-07-2005 07:48 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-25-2009
alert0919 alert0919 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 47
how could I use shell script to determine which CPU structure

how could I use shell script to determine which CPU structure
because I found that I compile my program under Itanium base that cannot run on the PA-RISC base
but PA-RISC program can run on Itanium base

i would like to use shell script to know which CPU structure it is,how could i do
thanks
  #2 (permalink)  
Old 06-26-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,837
PA-RISC (Example, may differ):
Code:
$ uname -m
9000/800
Itanium:
Code:
$ uname -m
ia64
Your IA64 code works on PA-RISC because the kernel automagically loads the Aries compatibility library for it.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0