command to check the bit


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers command to check the bit
# 1  
Old 07-12-2004
command to check the bit

i am using sunOS 5.8. What is the command to know the OS bit (8,32,64...) while the server is under production and is it possible to change from one bit to another??

replies appreciated

raguram R
# 2  
Old 07-12-2004
isainfo -kv will show whether you are running 32 or 64 bit. There is no 8 bit Solaris.

You may be stuck at 32 if you are using 32 bit hardware. If you're using 64 bit hardware, you can use a 32 bit or 64 bit kernel. I would never use a 32 bit kernel if I have a choice. I'm not sure how you flip back and forth...but my guess it that it takes a re-install. You certainly can't do it wlhile the system is running.
# 3  
Old 07-12-2004
The command you are looking for is isainfo. Do a man isainfo to see which options you want to use to answer your specific question as it can report on device drivers, applications, and other things and there are various levels of detail it can report.

As far as changing goes, that is a kernel parameter so doing it on the fly is impossible. It is possible when you installed the OS it has both 32 and 64 bit versions on there so by changing your boot settings somehow and rebooting you could come up with a different kernel, but I've never tried that and wouldn't know how to do it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies

2. Red Hat

How to check the software is 32 bit or 64 bit?

How to check the installed OHS 10.1.3.3 web server is 32 bit or 64 bit on OLE 5.4 (64 bit) OS (7 Replies)
Discussion started by: nuthakki
7 Replies

3. Shell Programming and Scripting

Command to find 32/64 bit in Linux

Hi, Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit. OS is LInux Thanks (3 Replies)
Discussion started by: aish11
3 Replies

4. Shell Programming and Scripting

Check for the bit version of OS

Hi , Is there a command that i can use to check the bit version of the OS. I have a script that i need to run on all the unix flavors so how do i check for the condition say something like this if( 32 bit) { execute this } else { execute this (4 Replies)
Discussion started by: tcsprak
4 Replies

5. UNIX for Dummies Questions & Answers

command to know the bit information of OS

How to know the bit information of different OS, since "isainfo -kv" shows the bit information of solaris. It would be helpful, if there is some comand to know the above. Thanks, Alok (5 Replies)
Discussion started by: alokjyotibal
5 Replies

6. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies

7. UNIX for Dummies Questions & Answers

Command to find 32/64 bit in Linux

Hi, Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit. Regards, Giridhara Babu Tadikonda. (3 Replies)
Discussion started by: giribt
3 Replies

8. AIX

AIX 5.3 , gensyms command, translate 32 bit addr to 64 bit addr

I am trying to map the information from the gensyms command, Its gives information about the various symbols info like symbol type, addr offset, and the main libraries addr starting point. My problem is , how do I map this 32 bit addr to a 64 bit addr, I am trying to extract Segment # information... (0 Replies)
Discussion started by: mrmeswani
0 Replies
Login or Register to Ask a Question