Ch 29 -- HP-UX FAQs
UNIX Unleashed, Internet Edition
- 29 -
HP-UX FAQs
By Chris Byers
Given the complexity of the HP-UX operating system, no one could really say that
they know everything there is to know about it. Particularly with the release of
HP-UX 10.x, there are a great number of new features and changes.
Hewlett-Packard basically overhauled its operating system with the release of
HP-UX 10.0
In the releases from 8.0 to 9.04, the operating system was based on the Berkeley
(BSD) style of UNIX. From release 10.0 forward, HP-UX is based on the System V (SVR4)
style. This meant, not only a change in the location of system related files and
softlinks to old locations for backward compatibility, but a shift in philosophy
in the direction of Hewlett-Packard's variant of UNIX.
Hewlett-Packard's goal was to attain compatibility with the OSF (Open Systems
Foundation) standard for UNIX operating systems. In doing this, Hewlett-Packard has
done its part to ensure industry wide compliance with this standard. Additionally,
since HP is the market leader in UNIX operating systems, the rest of the industry
is somewhat obliged to follow its lead.
In this section we will cover such subjects as finding HP-UX stuff, third party
vendors, utilities, HP-VUE, the HP-UX operating system, programming libraries, compilers
and linkers, various hardware and peripherals, file locations, version 10.x specifics
and version 9.10 specifics.
The biggest theme that you will find throughout this section is the differences
between version 9.x and 10.x, and how to get them to work together.
Finding HP-UX Stuff
This section covers some of the more common questions on how to find resources
for the HP-UX operating system.
Where can I find ftp sites for HP-UX software?
Here are a few sites with a description of their contents:
Site: ftp://interworks.org/pub/comp.hp
Contents: The InterWorks HP-UX Library in the directory pub/comp.hp as
described above. The iworks node also keeps the last four to six months
of comp.sys.hp.hpux online (via an InterWorks
member logon. An archive going back to June 1990 is available. Contact the InterWorks
librarian for details.
Additionally, a large (about 1300 line) "HP-UX Troubleshooting Guide"
is available under the InterWorks member logon.
There is also a mail server at mail-server@csc.liv.ac.uk
for users without FTP.
Name: |
ftp://hpux.ask.uni-karlsruhe.de |
Contents: |
Official German HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Name: |
ftp://hpux.cae.wisc.edu |
Contents: |
Official US HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Name: |
ftp://hpux.cict.fr |
Contents: |
Official French HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Name: |
ftp://hpux.ced.tudelft.nl |
Contents: |
Official Netherlands HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Name: |
ftp://hpux.ee.ualberta.ca |
Contents: |
Official Canadian HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Name: |
ftp://hpux.dsi.unimi.it |
Contents: |
Official Italian HP-UX archive site (same as hpux.csc.liv.ac.uk) |
Site: |
ftp://export.lcs.mit.edu |
Contents: |
The X Window System and contributed clients. |
Site: |
ftp://hpcvaaz.cv.hp.com |
Contents: |
X Window System libraries and utilities.
ftp://hpcvaaz.cv.hp.com/readonly/hp-vue/ENWARE/released/b0502
contains the latest version of the Envisex and other HP X station software.
There are subdirectories for HP-UX hosts, Solaris and SunOS. |
Site: |
ftp://ftp-boi.external.hp.com |
Contents: |
Drivers for HP printers. |
Site: |
ftp://lut.fi/pub/hpux
ftp://lut.fi/pub/unix/hp-ux |
Contents: |
Various |
Site: |
ftp://nic.funet.fi/pub/unix/arch/hpux |
Contents: |
Various |
Site: |
ftp://prep.ai.mit.edu |
Contents: |
The Free Software Foundation's GNU utilities, etc. |
Site: |
ftp://hybrid.irfu.se/pub |
Contents: |
X11 archive and shared libraries, full imake support, and all missing .h
files for both X11R4 and R5, dvi2pcl. |
Site: |
ftp://geod.emr.ca |
Contents: |
GNU stuff ported to HP-UX 9.x by Pierre Mathieu. |
Site: |
http://www.cup.hp.com/netperf/NetperfPage.html |
Contents: |
netperf, a network performance measurement tool. |
Site: |
ftp://jazz.gsfc.nasa.gov |
Contents: |
bathymetry, FFT, graph, pgplot, triangulation, sortroutine |
Site: |
ftp://us.external.hp.com |
Contents: |
HP-UX patches available from FTP for SupportLine customers. |
Site: |
ftp://patch.external.hp.com |
Contents: |
European mirror of us.external.hp.com |
Site: |
ftp://jaguar.cs.utah.edu/dist
Currently available in the dist directory:
gdb-4.13.u4
binutils-2.5.2.u4
gcc-2.6.3.u6
libg++-2.6.2.u2 |
There is no more hpgdb, and gas is now bundled in the binutils.
The prebuilt binaries can be retrieved all at once from
hpuxbin.tar.Z, or in pieces from the hpuxbin directory.
How can I find out what patches are installed on my
machine?
On the 9.x systems, there is an installation directory where all the patches are
stored. This is the /system directory, and all patches will be included
in subdirectories named for the patch. For example, if the patch was the PHSS_9999
patch, there would be a directory named /system/PHSS_9999. The contents
would probably look like this:
CDFinfo
copyright
customize
index
new/
orig/
The two subdirectories /system/new and /system/orig contain
any modules that were not installed with the patch and the modules that were replaced
by the patch, respectively.
Really, the only file that you don't need to archive and get off the disk are
the customize file, since it has a list of the modules replaced.
The patches that have been installed are listed in the /etc/filesets
directory. A listing of this directory will show what patches have been put on the
system.
If the preceding files and directories are missing, there may not be any easy
way to tell what is installed, aside from checking the results of what commands
against the PHSS_xxxx.txt file.
In 10.x, it is a little easier to list the current patches on the system. The
swlist command gives a list of the installed patches, as well as some detail
into what modules were and weren't installed. In addition, the swinstall
command can be somewhat useful in finding installed patches.
Is there a web site where I can get patches?
The web address is http://us.external.hp.com/.
You can download patches from this site, and pointers are available for other related
sites.
What types of periodicals are available for HP-UX?
Here's a short list of publications that cover only HP-UX:
- "hp-ux/usr" is a newsletter put out by the company Interex. This features
many contributions from the members of InterWorks and various System Administrators
and users throughout the industry.
- "HP-Professional" is a magazine printed by Cardinal Business Media,
Inc. for "Hewlett-Packard Enterprise Computing". This covers MPE, HP-UX,
PCs, Peripherals, and Networking, with both a technical and commercial slant. The
publisher can be contacted at:
Cardinal Business Media, Inc.
101 Witmer Road
Horsham, PA 19044
- "The HP Chronicle" is a chronicle of news from HP and other vendors
of products compatible with HP. The publisher can be contacted at:
Publications and Communications, Inc.
12416 Hymeadow Dr.
Austin, TX
What's the best book on HP-UX that I can get?
Well, there aren't that many out there, but the best one I know of is The HP-UX
System Administrator's "How To" Book by Marty Poniatowski, published
by Printice Hall Hewlett-Packard Professional books, ISBN 0-13-099821-4.
I use this book a lot, and it is probably more used than any other manual I have.
In one particular instance, I couldn't find any material to decipher the text-based
version of glance plus I was using. The only source of information I could
find was that book, and it was quite thorough. There are also a lot of good tips
for both workstation and server administration that you probably won't get anywhere
else.
What mailing lists should I subscribe to?
There is an HP-UX system administration mailing list run by Bart Muyzer to which
you can subscribe. All you have to do is send e-mail to majordomo@cv.ruu.nl
with the subject SUBSCRIBE. The body of the message should read:
subscribe hpux-admin
end
This will automatically subscribe you to the e-mail service. If you have any questions
about the service, just go to the address owner-hpux-admin@cv.ruu.nl.
What WWW sites are available for HP-related issues?
HP's main site is at http://www.hp.com.
From there, you can search for product information and more.
The support line page is located at http://us.external.hp.com.
Here you can resolve software problems by searching up-to-date support and problem-solving
databases.
Here are some other HP-related WWW sites:
How can I get my hands on the SunOS to HP-UX Porting
Guide?
You can get the electronic versions of the guide at the Interworks Library. You
can access the library by:
FTP: www.interworks.org
WWW URL: ftp://www.interworks.org
/pub/comp.hp/porting_info/
sun_hpux_port_ascii_0295 ASCII version of the Porting Guide
sun_hpux_port_html_0295.tar WWW HTML version of the Porting Guide
sun_hpux_port_ps_0295.tar Postscript (level 3) version
Third-Party Vendors for HP-UX
The following is a list of vendors for HP-specific products:
Third-party vendors for RAM:
The following vendors are listed in alphabetical order. No guarantees are made
regarding compatibility or relative merit of the vendors. Table 29.1 contains other
vendors and their products associated with HP-UX.
Camintonn
22 Morgan
Irvine, CA 92718
(800) 843-8336
(714) 454-6500 |
Clearpoint Research Corporation
1000 E. Woodfield Road, Suite 102
Schaumburg, IL 60173
Schaumburg, IL 60173 |
Concorde Technologies
7966 Arjons Dr. B-201
San Diego, CA 92126
(800) 359-0282
(619) 578-3188 |
Dataram
PO Box 7528
Princeton, NJ 08543-7528
(800) DATARAM
(800) 799-0071 |
Digitial Micronics
2075 Corte Del Nogal
Unit N
Carlsbad, CA 92009 |
Eventide
1 Alsan Way
Little Ferry, NJ 07643
(201) 641-1200 |
Helios Systems
1996 Lundy Ave
San Jose, CA 95131
(408) 432-0292
(800) 366-0283 |
Herstal Automation
3171 West Twelve Mile Rd.
Berkley, MI 48072
(313) 548-2001 |
IEM
P.O. Box 1889
Fort Collins, CO 80522
(800) 321-4671
(303) 221-3005 |
Infotek Systems
625 South Lincoln
Suite 204
Steamboat Springs, CO 80487
(800) 767-1084 |
Intelligent Interfaces
P.O. Box 1486
Stone Mountain, GA 30086-1486
(800) 842-0888 |
ISA Ltd
1-1-5 Sekiguchi
Bunkyo-Ku
Tokyo 112 Japan
81-3 (5261) 1160
US Office (Texas)
(713) 493-9925 |
Kelly Computer Systems
1101 San Antonio Rd.
Mountain View, CA 94043
(415) 960-1010 |
Kingston Technology Corporation
17600 Newhope Street
Fountain Valley, CA 92708
(714) 435-2600 |
Martech
1151 W. Valley Blvd.
Alhambra, CA 91803-2493
(800) 582-3555
(818) 281-3555 |
Merida Systems
(617) 933-6790 |
MDL Corporation
15301 NE 90th St.
Redmond, WA 98052
FAX (206)861-6767
(800)800-3766
(206)861-6700 |
|
Newport Digital
14731 Franklin Avenue
Suite A
Tustin, CA 92680
(714) 730-3644 |
R Squared
11211 E. Arapahoe Rd., Suite 200
Englewood, CO 80112
(303) 799-9292
(800) 777-3478 |
GFKT HCS Computertechnik GmbH
Oldesloer Str.97-99
22457 Hamburg
Germany |
|
Table 29.1 Third party vendors for other stuff
Vendor |
Product(s) |
Andataco Road
10140 Mesa Rim
San Diego, CA 92009
(619)453-9191
inquire@andataco.com |
System integrator and peripheral reseller |
Disk Emulation Systems, Inc.
3080 Oakmead Village Dr.
Santa Clara, CA 95051
FAX: 408-727-5496
(408)727-5497
diskmsys@netcom.com |
Solid-state disk emulators (SSDs) |
IEM, Inc.
1629 Blue Spruce Drive
Fort Collins, CO 80524
Voice: (303)221-3005
FAX: (303)221-1909
email: info@iem.com |
Tapes (4mm, 8mm, QIC, 3480), disks, optical, floppy and backup software. SCSI and
HP-IB peripherals. |
Interphase Corporation
Dallas, Texas 75234
(214)919-9000 |
High performance bus interfaces 13800 Senlac (EISA/FDDI, VME/ATM.) |
ITAC Systems, Inc.
3113 Benton St.
Garland, TX 75042
(800)533-4822
yvonne@moustrak.com |
Supports Mouse-trak trackball for HP-HIL |
MDL Corporation
15301 NE 90th St.
Redmond, WA 98052
FAX (206)861-6767
(800)800-3766
(206)861-6700 |
Disk, tape, optical, jukebox, EISA expansion, RAID, others. |
Modular Industrial Computers
(615)499-0700
Norma Hansen |
MICHIL PS2 to HP-HIL converter. Allows standard PC keyboards and mice to be connected
to HP Workstations. |
SBE, Inc.
4550 Norris Canyon Road
San Ramon, CA 94583-1389
(510)355-2000
(800)925-2666
fax (510)355-2020 |
EISA serial and SCSI boards. |
Texas ISA
14825 St. Mary's Lane
Suite 250
Houston, TX 77079
(713)493-9925
(800)361-2258
sales@texasisa.com
support@texasisa.com |
SCSI & HP-IB External Storage Sub-Systems. UNIX Power Management Solutions-Auto.
Startup/Shutdown Devices for networked and non-networked UNIX systems. |
Vital, Inc.
4109 Candlewyck Drive
Plano, TX 75024
U.S.A
(214) 491-6907
(214) 491-6909
info@vital.com |
Modern Graphical File Editor With Enhanced Softbench Encapsulation. |
Workstation Solutions
One Overlook Drive
Amherst, NH 03031-2800
Voice: (603) 880-0080
FAX: (603) 880-0696
jimm@worksta.com
(Jimm Parsons, Technical Services Manager) |
Data backup and recovery solutions. |
Confluent, Inc.
132 Encline Court
San Francisco, CA 94127
Voice: (415) 586-8700
FAX: (415) 586-8700
info@confluent.com
http://www.confluent.com |
UNIX diagramming and flowcharting tools for engineering, technical, and business
graphics. |
How do I set up perl on my HP-UX machine?
Respond to the configuration questions as follows:
- 1. When asked for optimization flags: +O1 for HP-UX 7.05 or earlier
-O for HP-UX 8.0 or later.
2. For additional flags to cc, type in -DJMPCLOBBER.
3. On additional libraries, only put in -lndbm -lm. Ignore any other
libraries that may show up. You can also add -lBSD if you want to add the
BSD signal semantics.
4. When asked to use perl's malloc, you can answer y, but
in HP-UX 8.07 and above, HP's malloc will work just fine.
5. When asked on which boundary a double must be aligned, answer 8
if you are on a 9000/800 or a 9000/700 (server or workstation) series machine, or
2 for a Motorola 68k (Motorola CPU-based architecture) machine.
The HP-VUE Graphical User Interface
This section covers questions on the HP-VUE X windows based graphics system.
Why are there some things missing from X11 in HP-VUE?
As you may have noticed, HP does not ship a full set of X11 libraries and include
files, and does not provide imake or associated tools. There is an HP-maintained,
but UNSUPPORTED, set of X11R4 libraries and utilities for the HP 9000 Series 300,
400, 700, and 800. You can get the libraries, include files, and config
files (imake) via anonymous ftp from
ftp://hpcvaaz.cv.hp.com/pub/MitX11R4/libs.s*00.tar.Z
The above file is archived on the iworks node. HP has also submitted
X11R5 sources to the iworks node, and Bo Thide has X11R4 and R5 support
available via anonymous FTP, as mentioned above.
Note that imake is shipped with HP-UX 10.x.
How would I display an image on the root window with
HP-VUE?
To do this, you must change the following: Set Vuewm*backdrop*image: none.
In the Style Manager for HP-VUE 3.0, there is an explicit choice for this option.
When the backdrop is clear, you can use xloadimage, xsetroot,or
xv to display the image of your choice.
How can I get a scroll bar on hpterm windows?
First you must set the resources:
Hpterm*scrollBar:TRUE
Hpterm*saveLines:1024
The saveLines setting can be any large number you choose for saving the
number of lines in a window. This number can also be specified for the number of
screens you would like to save, such as 4s for four screens. You can do
this interactively by using the command hpterm -sb -sl 1024.
These settings can be placed in the app-default file (/usr/lib/X11/app-defaults/Hpterm).
You can have the hpterm window come up with these setting from the VUE
panel terminal icon. You can also have their login shell run at the startup of the
terminal.
To do this, you must modify the default action of the VUE panel. For a system-wide
change, you must modify the /usr/vue/types/xclients.vf file. Simply modify
the line hpterm to read hpterm -ls -sb -sl 400. For example:
ACTION |
Hpterm |
TYPE |
COMMAND |
WINDOW-TYPE |
NO-STDIO |
EXEC-STRING |
hpterm -ls -sb -sl 400 |
DESCRIPTION |
The Hpterm action starts an hpterm terminal emulator. |
How can I put a title in my hpterm titlebar?
This short program should do the trick:
/* Quick and dirty program to put argv[1] in the title bar of an hpterm
Tom Arons March 1992
*/
#include <string.h>
main(argc,argv)
int argc; char **argv;
{
printf(" |