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/

Leave a comment

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

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>