Service IT Direct and COVID-19 UPDATE for more information CLICK HERE

Call NOW:
888-596-4720

What's Going on in our World

Reading the CPU speed in HP-UX

For many years, this was the standard method to obtain the CPU clock speed in HP-UX: echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/kmem Then take the number and divide it by 10000 (10k). It turns out that itick_per_usec never shows the processor's core frequency, it...


Read More
Setting disk timeouts

Q: What is the timeout for disk operations? A. There are two methods. One is for LVM operations and is accomplished with pvchange -t. This sets the limit for LVM operations to a disk or LUN. It can be set to zero to use the...


Read More
Short sleep (ms) in a script

Q: I need to sleep in my script for less than a second. How can this be done?  A:  While you might perform some calculation a million times, your script will run slow on older systems and too fast on new systems. perl is your...


Read More
Replacing PA-RISC mirrored boot disk

PA-RISC (LVM only) mirrored root disk, HP-UX versions 11.11, 11.23, 11.31 Use pvchange –a N /dev/dsk/cxtxdx before removing the disk. -a N will remove all the paths to the PV. If this doesn`t work use pvchange –a n /dev/dsk/cxtxdx to stop I/Os to the PV....


Read More
SSH public keys do not work

SSH Public Keys do not work Q: I am trying to make a public key allow password-less logins. I have added the public key to the authorized_keys file but ssh still asks for a password. A. The most common problem that causes public keys to...


Read More
AUDITING HP-UX User Creation, Deletion and Modification

To audit user creation and modification (via sam, chfn, chsh, usermod, useradd, userdel), the following should work very well. This was tested on HP-UX 11.31. This does NOT require the new Auditing System Extensions bundle available for HP-UX 11.31. This relies on the 'self-auditing' functions,...


Read More
How to Mirror the System Disk in Solaris

I've seen Solstice Disk Suite mirroring of the system disk that works but is ugly. So I decided to create what I thought was a best practice and try to minimize configuration mistakes. Mirroring the system disk with disk suite with c0t0d0 as the source...


Read More
ITRC Forums redesign and migration

I just finished a conference call with HP to talk about the Forums replacement, the HP Communities. I too, have had many of the above concerns about moving to a very different user interface and possibly losing the some two decades of irreplaceable information. From...


Read More
LVM 2.x VGs in 11.31

Q: How can I create version 2.x volume groups on my old copy of 11.31? The man pages do not have options for version 2.1. Do I have to purchase something?   A: No. The latest LVM code is free and you can upgrade by...


Read More
Sleep for less than 1 second

Q: I need to sleep in my script for less than a second. How can this be done?  A:  While you might perform some calculation a million times, your script will run slow on older systems and too fast on new systems. perl is your...


Read More