Hex, Octal and Binary shell conversions In scripting, it is common to find a need hexadecimal (hex or base 16) numbers, and occasionally binary numbers. Converting can be tricky without some tips. You can use printf, typeset and even bc as conversion tools. Here...
Computer printers Since the first printers were connected to a computer, there have been two industry standards for plain text: ASCII and EBCDIC. There wasn't much to configure, just the top of page (pin-fed greenbar paper), lines per inch and page length. The text was...
Q: I need to run a command with sudo and redirect the output, but it is failing when writing to the output file: $ sudo ioscan -f > /var/adm/ioscan.log su: /var/adm/ioscan.log: Cannot create the specified file. A: sudo is processing the command line but the...
df and bdf history In HP-UX, the df command has a particularly obnoxious format so a better df (bdf) command is available. However, bdf was written a long time ago when long lines of text (more than 80 characters) was a problem and thus, bdf...
Q: I have a DS2405 rack with 73 GB disk installed. It was part of a VA7410 but now I just want to use the disks as a JBOD. However, the disks show size: 140000000 using diskinfo for 73 GB disks and HP-UX hangs trying...
When writing cgi scripts for web pages, text that presented to your script is preprocessed by the web server (such as Apache) and special characters must be translated so they can be included in the URL line and QUERY_STRING variable. Spaces are converted to "+",...
When you have multiple systems to manage, patch analysis can be tedious. However, the built-in features of Software Distributor (SD) make this job quite easy. The HP script "swainv" has several useful options: swainv [-D directory | -N inventory] [-q] [-x option=value] [-e name=value] [-h...
LVM Performance Tips: Very large volume groups and lvols (terabyte and larger) require special planning. The first precaution is with the vgcreate command. *ALWAYS* specify a large PE size (32, 64 or 128 MB). The default (4 MB) is far, far too small to...
QUESTION: How can I increase the size of the Primary Swap, and '/' file systems (VG00 LVOLs 2 and 3) on an HP-UX 11.11 server? ANSWER: The usual answer to this question is for you to take an Ignite/UX make_tape_recovery or make_net_recovery backup of your...
The steps to clone a client using make_net_recovery are as follows: 1. Use make_net_recovery or the Ignite-UX GUI to create a recovery archive of the source client. 2. Login to the Ignite-UX server. 3. If the client to be installed does not currently have...