![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Most suitable operating system | sunilryl | Linux | 2 | 01-16-2008 01:27 PM |
| operating system - ZDNet | iBot | UNIX and Linux RSS News | 0 | 08-06-2007 06:00 AM |
| Operating system details | rahulrathod | UNIX for Dummies Questions & Answers | 4 | 12-13-2006 09:21 AM |
| Operating System | alecks1975 | UNIX for Dummies Questions & Answers | 1 | 11-24-2005 07:43 AM |
| cannot load any operating system | Derrek | Filesystems, Disks and Memory | 3 | 08-12-2004 04:22 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Try getconf -v or look at getconf(1p) (man getconf)
Read documentation! |
|
#5
|
||||
|
||||
|
A simple uname -a should provide that information.
|
|
#6
|
|||
|
|||
|
/usr/sbin/prtconf -c gets the bitism on AIX, not sure if works for Linux
|
|
#7
|
|||
|
|||
|
getconf KERNEL_BITS will help you to know the config.
|
|||
| Google The UNIX and Linux Forums |