cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To know kernel bit in suse linux

Former Member
0 Likes
508

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
Product and Topic Expert
Product and Topic Expert
0 Likes

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

BR, Vincent

Former Member
0 Likes

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
Product and Topic Expert
Product and Topic Expert
0 Likes

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 Likes

  Thanks a lot.

Issue resolved

Answers (1)

Answers (1)

former_member189546
Active Contributor
0 Likes

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 Likes

Hi John,

That's fine Thankyou.

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