Tuesday, 7 May 2013

Kernel 32 bit or 64 bit ?

HPUX : Identify 32-bit or 64-bit kernel

Here are the steps to identify whether you are running a 32-bit or 64-bit kernel.

getconf KERNEL_BITS will return whether it is a 32 bit or 64 bit.
hpux1 # getconf KERNEL_BITS

32                                         --> 32-bit

hpux2 # getconf KERNEL_BITS

64                                         --> 64-bit
Check the vmunix's filetype.
hpux1 # file /stand/vmunix

/stand/vmunix:  PA-RISC1.1 executable      -->   32-bit

hpux2 # file /stand/vmunix

/stand/vmunix:  ELF-64 executable          -->   64-bit

AIX : Identify 32-bit or 64-bit kernel

# bootinfo –y : will give whether 32 or 64 bit kernel (OS)

root@red-lpar:/ $  bootinfo -y


root@red-lpar:/ $

Solaris : Identify 32-bit or 64-bit kernel

Most Solaris recomended patch clusters come in either 32- or 64-bit versions. How do you find out which one is appropriate for your platform? Use the isainfo command.
$ isainfo -b


The -b option prints the number of bits in the address space of the native instruction set. In this case, 64 bits.
$ isainfo -kv

64-bit sparcv9 kernel modules

The -k option prints the name of the instruction set used by the operating system kernel components, i.e. sparcv9; -v provides more detailed information, i.e. 64-bit sparcv9.

Linux: Identify 32-bit or 64-bit kernel

#uname -a
will tell you the kernel - the end bit tells you the architecture.

0 blogger-disqus:

Post a Comment