Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Unix Commands


  • Please log in to reply
8 replies to this topic

#1 angierm

angierm

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:01:46 PM

Posted 26 April 2007 - 10:35 AM

Hi!!!

Does somebody know if there is a command that indicates the kind of processor and also the architecture used in a unix or hp-ux machine?

What I need to find out is which type of architecture is running my machine for example ia64 and also which type of processor is, for example itanium or other.

I use uname in order to know the operating system, but is there something like this to find out what I need? anyone can help.

Thanks in advance.

Angierm


BC AdBot (Login to Remove)

 


#2 Monster_user

Monster_user

  • Members
  • 87 posts
  • OFFLINE
  •  
  • Local time:03:46 PM

Posted 26 April 2007 - 11:23 AM

uname -r -m -o

-r = Kernel release version number.

-m = Architecture. (or use the "model" command, or 'ioscan -fnC processor')

-o = Operating System.

Or you can type 'uname -a'.

See the following link for more commands.
http://www.unixguide.net/unixguide.shtml

Edited by Monster_user, 26 April 2007 - 11:27 AM.

The Answers are out there, you've just got to know how to find them.

#3 angierm

angierm
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:01:46 PM

Posted 26 April 2007 - 11:32 AM

:thumbsup: mmm, I've found the "arch" and also the "mach" commands, the first one displays the type of architecture and the second one displays the processor type of the current host, but I think these are only for a sun machine because I tried them in an hp-ux but they didn't work.

Do you know if there are other commands for this type of machine in order to accomplish what I need?

I'd really appreciate your help.

Angierm


#4 Monster_user

Monster_user

  • Members
  • 87 posts
  • OFFLINE
  •  
  • Local time:03:46 PM

Posted 26 April 2007 - 12:09 PM

Sysinfo?

http://www.computerhope.com/unix/usysinfo.htm

Did 'ioscan -fnC processor'', or 'model' do anything?

Do you know which version of HP-UX your using?

Edited by Monster_user, 26 April 2007 - 12:11 PM.

The Answers are out there, you've just got to know how to find them.

#5 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:08:46 PM

Posted 26 April 2007 - 12:31 PM

Everything you ever wanted to know about hp ux

http://docs.hp.com/en/hpuxman_pages.html
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#6 angierm

angierm
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:01:46 PM

Posted 26 April 2007 - 12:41 PM

Many thanks Monster, I'll try that, I found the information you send me very useful. :thumbsup:

Angierm


#7 angierm

angierm
  • Topic Starter

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Local time:01:46 PM

Posted 26 April 2007 - 01:24 PM

Sysinfo?

http://www.computerhope.com/unix/usysinfo.htm

Did 'ioscan -fnC processor'', or 'model' do anything?

Do you know which version of HP-UX your using?

Well, in fact, the ioscan -fnC processor sends something like this:
Class[indent=1]I[indent=1]H/W Patch[indent=1]Driver[indent=1]S/W State[indent=1]etc, etc
processor[indent=1]0[indent=1]62[indent=1]processor[indent=1]CLAIMED

and the model command sends just that and it is a D220, with this information I tried to find out what type of architecture supports this model.

However, someone here told me to try the "getconf KERNEL_BITS" in a hp-ux and it sends "32", then I found out that it indicates if a machine is 32 bits or 64 bits, and that was exactly what I need. :thumbsup:

Many thanks all of you guys: Monster_user and Joedude!!!!

Angierm


#8 Monster_user

Monster_user

  • Members
  • 87 posts
  • OFFLINE
  •  
  • Local time:03:46 PM

Posted 26 April 2007 - 11:24 PM

then I found out that it indicates if a machine is 32 bits or 64 bits, and that was exactly what I need. :thumbsup:


OH. That is what you needed. Glad you found it. :flowers:
The Answers are out there, you've just got to know how to find them.

#9 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:08:46 PM

Posted 26 April 2007 - 11:42 PM

welcome, ma'am.
If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users