Tagged: UNIX

HP-UX: HOWTO: Determine CPU Speed

This is a part of collection of HP-UX tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

# echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/kmem

That's all!
-gibb

HP-UX: HOWTO: Change IP Address / Hostname / DNS, etc…

This is a part of collection of HP-UX tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

How to change the hostname, IP address, DNS Server: # /sbin/set_parms {hostname|timezone|date_time|root_passwd|ip_address|addl_netwrk}

That's all!
-gibb

HP-UX: HOWTO: Chaneg Default Gateway

This is a part of collection of HP-UX tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

By Using SAM:
go to SAM --> Networking and communication --> Local Hosts file --> Action --> Configure default Gateway

By Editing File:
# vi /etc/rc.config.d/netconf ----------------------------------------- ROUTE_DESTINATION[0]=default ROUTE_MASK[0]="" ROUTE_GATEWAY[0]= ROUTE_COUNT[0]=1 ROUTE_ARGS[0]="" # /sbin/init.d/net stop # /sbin/init.d/net start

HOWTO: Change IP Address / Hostname / DNS, etc...

How to change the hostname, IP address, DNS Server: # /sbin/set_parms {hostname|timezone|date_time|root_passwd|ip_address|addl_netwrk}

HOWTO: Check Installed Patches

# swlist -l product | grep PH

HOWTO: Clean Up /var/adm/sw/save

# cd /var/adm/sw/save # swmodify -x patch_commit=true *

HOWTO: Determine CPU Speed

# echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/kmem

That's all!
-gibb