Operating System - HP-UX
1833811 Members
3773 Online
110063 Solutions
New Discussion

strange items in uname command

 
Jdamian
Respected Contributor

strange items in uname command

In page 223 of document B2355-90154 (titled "Managing HP-UX Software With SD-UX") you can find the following shell command line:

uname -m [: getconf _CS_HW_CPU_SUPP_BITS

what is [: ?
2 REPLIES 2
K.Vijayaragavan.
Respected Contributor

Re: strange items in uname command

I Think that should be read as two separate commands
1) uname -a
2) getconf _CS_HW_CPU_SUPP_BITS

-Vijay

"Let us fine tune our knowledge together"
Steve Steel
Honored Contributor

Re: strange items in uname command

Hi

I think [: is just an indicator of and or

machine_type The machine type on which the product will run. If not specified, the keyword is assigned a wildcard value of *, meaning it will run on all machines. If there are multiple machine platforms, you must separate each machine designation with a | (vertical bar). For example, a keyword value of 9000/7*|9000/8* means the product will run on all HP Series 9000 Model 7XX or all HP 9000 Series 8XX machines. Alternatively, the value 9000/[78]* would also work.

Other examples:

* If not concerned with the machine type.
9000/7??:32* Series 700, 32-bit capable hardware required.
*:*64 64-bit capable hardware required.
*:32: 32-bit capable harware required.
9000/7??:*64
Series 700, 64-bit capable hardware required.
9000/[68]??:32*
Series 800, 32-bit capable hardware required.
9000/[68]??:*64
Series 800, 64-bit capable hardware required.
The value is matched against a UNIX target's uname -m [: getconf _CS_HW_CPU_SUPP_BITS result.


example from our systems.

uname -m = 9000/899
getconf _CS_HW_CPU_SUPP_BITS = 32/64

With this data the value can be checked.

I agree it is not clear.

Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)