cancel
Showing results for 
Search instead for 
Did you mean: 

To know kernel bit in suse linux

Former Member
0 Kudos

Dear experts,

  Which command is accurate to know operating system bit

getconf LONG_BIT or getconf WORD_BIT.

we are getting differrent output for both....

Accepted Solutions (1)

Accepted Solutions (1)

vincentlim826
Employee
Employee
0 Kudos

Maybe see /proc/cpuinfo for CPU to be more accurate.

BR, Vincent

Former Member
0 Kudos

Dear Vincent,

Thanks for reply

I just wanna know output of both commands in linux

getconf LONG_BIT or getconf WORD_BIT.

What's there use in linux. what information we get from command

vincentlim826
Employee
Employee
0 Kudos

these two commands just to output the number of bit in different format (long int and int)

short int <=    int <= long int

Regards,
Vincent

Former Member
0 Kudos

  Thanks a lot.

Issue resolved

Answers (1)

Answers (1)

former_member189546
Active Contributor
0 Kudos

Hello,

Please try

$ uname -a

x86_64 GNU/Linux indicates that you've a 64bit Linux kernel running. If you use

see i386/i486/i586/i686 it is a 32 bit kernel

regards,

John Feely

Former Member
0 Kudos

Hi John,

That's fine Thankyou.

but , could you let's know, what is these commands used for