How to find the kernel bit width

From Wiki-UX.info
Jump to: navigation, search

Abstract

The following articles presents several ways to determine the system Kernel Width.

Using the getconf command

You can use getconf command.

# getconf KERNEL_BITS
64

Using the file command

You can check the current vmunix kernel file using the file command.

# file /stand/vmunix
/stand/vmunix:  ELF-64 executable object file - PA-RISC 2.0 (LP64)

Using the print_manifest

You can use the bundle Ignite-UX "print_manifest" command to obtain the OS mode.

# /opt/ignite/bin/print_manifest | grep "OS mode"
    OS mode:            64 bit

Using SAM Interface

SAM interface can also be used to obtain the information.

Select Performance Monitors -> System Properties -> Operating System and check the OS Kernel Width: value.

+                      System Properties (hostname)                       +
¦+-----------------------------------------------------------------------+¦
¦¦                                                                       ^¦
¦¦ [ Refresh ]                                                            ¦
¦¦                                                                        ¦
¦¦ +-----------++--------++------------------++---------++---------+      ¦
¦¦ ¦ Processor ¦¦ Memory ¦¦ Operating System ¦¦ Network ¦¦ Dynamic ¦      ¦
¦¦ +----------------------/                  \--------------------------+ ¦
¦¦ ¦+------------------------------------------------------------------+¦ ¦
¦¦ ¦¦OS Identification:       B.11.11 U                                ¦¦ ¦
¦¦ ¦¦OS Kernel Width:         64                                       ¦¦ ¦
¦¦ ¦¦Last Boot:               Thu Nov  1 15:41:08 2007                 ¦¦ ¦
¦¦ ¦¦Run Level:                                                        ¦¦ ¦
¦¦ ¦¦  Current:               3                                        ¦¦ ¦
¦¦ ¦¦  Previous:              S                                        ¦¦¦¦
¦¦ ¦¦Unique Users Logged In:  2                                        ¦¦¦¦
¦¦ ¦+------------------------------------------------------------------+¦¦¦
¦¦ ¦                                                                    ¦¦¦
¦¦ ¦                                                                    ¦¦¦
¦¦ ¦                                                                    ¦v¦
¦+-----------------------------------------------------------------------+¦
¦-------------------------------------------------------------------------¦
¦ [   OK   ]                                                   [  Help  ] ¦
+-------------------------------------------------------------------------+
NOTE: HP-UX 11i v2 and HP-UX 11i v3 is only supported on 64 bit platforms, then on this Operating Environments the kernel will always run in 64 bit mode.


Authors