[comp.sys.hp] how to find HP-UX version?

khaw@pplace.COM (Mike Khaw) (07/12/89)

How does one find out the version of an HP-UX system (analogous to
"strings /vmunix | egrep UNIX" on a SunOS 3.2 machine)?

Please reply by e-mail.  I don't usually follow comp.sys.hp

Thanks,
Mike Khaw
-- 
ParcPlace Systems, 1550 Plymouth St., Mountain View, CA 94043	415/691-6749
Domain=khaw@parcplace.com, UUCP={uunet,sun,decwrl}!parcplace!khaw

johnson@hpcilzb.HP.COM (Phil Johnson) (07/13/89)

> How does one find out the version of an HP-UX system (analogous to
> "strings /vmunix | egrep UNIX" on a SunOS 3.2 machine)?

Something like this, perhaps?

	$ uname -a
	HP-UX hpcilna 6.5 B 9000/350 hpcilna

--Phil

khaw@pplace.COM (Mike Khaw) (07/13/89)

Thanks to everyone who responded to my question:
>How does one find out the version of an HP-UX system (analogous to
>"strings /vmunix | egrep UNIX" on a SunOS 3.2 machine)?

The answer was: uname -a

Mike Khaw
-- 
ParcPlace Systems, 1550 Plymouth St., Mountain View, CA 94043	415/691-6749
Domain=khaw@parcplace.com, UUCP={uunet,sun,decwrl}!parcplace!khaw

bdale@col.hp.com (Bdale Garbee) (07/14/89)

>How does one find out the version of an HP-UX system (analogous to
>"strings /vmunix | egrep UNIX" on a SunOS 3.2 machine)?

Use uname(1).  If you do 'uname -a', you'll get something like:

	HP-UX hp-col 6.5 B 9000/350 hp-col

If all you want is the version number, try 'uname -r', which yields:

	6.5

Bdale

jon@clem.UUCP (jon trulson) (07/20/89)

] khaw@pplace.COM (Mike Khaw)  writes:
]  How does one find out the version of an HP-UX system (analogous to
]  "strings /vmunix | egrep UNIX" on a SunOS 3.2 machine)?
]

	We're on an HP9000/370 running HP-UX 6.5.  To get that info use
the command 'uname -a' for a full listing.  See 'man uname' for further info.

---------------------