Useful HP-UX commands

An ongoing post detailing some everyday HP-UX commands…which I keep forgetting 😉

Check whether your server is 32-bit or 64-bit:

# getconf KERNEL_BITS
# print_manifest | grep "OS mode"

Display network packets:

# nettl -start # nettl -status all

Memory details:

# dmesg | grep -i physical
# /usr/sam/lbin/getmem

Swap info:

# swapinfo (displayed in KB)
# swapinfo -m (display in Mb)
# swapinfo -tm (total / Mb)

Hardware details:

# /opt/ignite/bin/print_manifest 
# cat /var/opt/ignite/local/manifest/manifest.info

Leave a comment

Your email address will not be published. Required fields are marked *