Operating system Bit verison


 
Thread Tools Search this Thread
Operating Systems Linux Operating system Bit verison
# 1  
Old 07-11-2006
MySQL Operating system Bit verison

How to check the Linux operating System bit version i.e if the operating system is 32-bit verison or 64-bit verison?

There is a file which gives this information, i think it is in /usr/bin or /usr/sbin. I am not sure about this? This Might be a silly question, but it is important.
Smilie
# 2  
Old 07-11-2006
getconf -a

You'll see many values, search among them. If your system is 32-bit you'll find -m32 switch, if 64 then -m64
# 3  
Old 07-28-2006
PHP

Sorry! didnt worked. Below is the output:

[root@rr]# getconf -a
getconf: Unrecognized variable `-a'
[root@rr]# getconf
Usage: getconf [-v specification] variable_name [pathname]
# 4  
Old 07-28-2006
Try getconf -v or look at getconf(1p) (man getconf)
Read documentation!
# 5  
Old 07-29-2006
A simple uname -a should provide that information. Smilie
# 6  
Old 07-31-2006
/usr/sbin/prtconf -c gets the bitism on AIX, not sure if works for Linux
# 7  
Old 07-31-2006
getconf KERNEL_BITS will help you to know the config.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Android

Android (operating system)

From Wikipedia (FYI): (0 Replies)
Discussion started by: Neo
0 Replies

2. UNIX for Advanced & Expert Users

What's my Operating System

Can we know the operating given the IP address or DNS of the host. All I have is file://myserver/myapp (4 Replies)
Discussion started by: mohtashims
4 Replies

3. UNIX for Advanced & Expert Users

Best Operating System

Hello All, I want to install Linux on my machine, so please tell me one thing which is the best to install- 1.)Red Hat 2.)Cent OS 3.)Red Hat 4.)Ubuntu 5.)Fedora except that if there is any please tell me. (1 Reply)
Discussion started by: parthmittal2007
1 Replies

4. Ubuntu

Most suitable operating system

I have a Toshiba Satellite 1135 laptop, and i want to install a fedora core edition in my external USB hard drive. I have Intel celeron 1.8 ghz processor 256 mb ram. Please suggest if there are other suitable linux OS which would be better than fedora core. (2 Replies)
Discussion started by: sunilryl
2 Replies

5. UNIX for Dummies Questions & Answers

unix a 32-bit operating system?

heyfrenz i just need a proper explanation of why is unix a 32-bit operating system??....a proper answer with proper explanation.... (6 Replies)
Discussion started by: silverrock7
6 Replies

6. UNIX for Dummies Questions & Answers

Operating System

Which is much more powerful as an operating system: 1. Windows 2000 2. Windows 98 3. Windows XP 4. Windows ME 5. Unix 6. Linux and why is it much more powerful than the other operating systems that i have mentioned. thanks for your info... (1 Reply)
Discussion started by: alecks1975
1 Replies

7. UNIX for Dummies Questions & Answers

UNIX Operating System

Hello Everyone, I'm new to this forum and Unix. I have a couple of questions and please, excuse my ignorance. I have a spare machine which is now running MS Windows 98 and I would like to format the disk and install the Unix operating system along with Oracle 8i and SQL Server. My... (13 Replies)
Discussion started by: IronBear
13 Replies

8. UNIX for Dummies Questions & Answers

Unix Operating System

I need the Unix operating system on disc as im new to unix. Im studying unix and x windows next year at Sheffield University and would like to get a head start. Any suggestions would be appreciated (2 Replies)
Discussion started by: jeffersno1
2 Replies
Login or Register to Ask a Question