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

To know kernel bit in suse linux

Former Member
0 Likes
510

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....

View Entire Topic
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