ak47# getconf KERNEL_BITS
32 --> 32-bit
64 --> 64-bit
或者檢查vmunix's filetype
ak47# file /stand/vmunix
/stand/vmunix: PA-RISC1.1 executable --32-bit
/stand/vmunix: ELF-64 executable --64-bit
Linux也可以用getconf
#getconf LONG_BIT
32 --32-bit
64 --64-bit
全站熱搜
留言列表