Tagged: UNIX

HP-UX: HOWTO: Reset Root Password

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.

  1. Boot into the single-user mode by interuppting the boot process
  2. Type bo pri
  3. Enter 'y' for interact with ISL
  4. ISL> hpux -is
  5. # mount /usr
  6. # passwd root
  7. Change password for root


That's all!
-gibb

HP-UX: HOWTO: Reset Console Monitor

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.

1) Reset the system console by turning off the console.

2) Hold down the "D" key and continue to hold the key down while powering up the console.

3) Wait 10 - 15 seconds, and then release the key.

4) A message should appear in the lower left-hand part of the screen displaying:
'Default configs used, press any key to clear'

That's all!
-gibb

HP-UX: HOWTO: Determine Kernel Bit Mode

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.

First off, in all versions of HP-UX prior to 11.00, the kernel is always 32-bit. That being said, on 11.x systems, there are several ways to determine whether you're running a 32 or 64 bit kernel...

From the command-line $ getconf KERNEL_BITS or $ file /stand/vmunix

/stand/vmunix: PA-RISC1.1 executable ---> 32-bit
/stand/vmunix: ELF-64 executable object file ---> 64-bit

From SAM
1) goto Performance Monitors -> System Properties -> Operating System
2) check OS Kernel Width: value

That's all!
-gibb

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