getconf: don't include xpg4 bits, gcc7 includes xpg6 bits for us
[unleashed.git] / share / man / man1 / hostid.1
blobfe544d7da87cb7cf33733d30b3a6f2403b32a1ae
1 '\" te
2 .\" Copyright (c) 2009 Sun Microsystems, Inc. - All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH HOSTID 1 "Feb 4, 2009"
7 .SH NAME
8 hostid \- print the numeric identifier of the current host
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/bin/hostid\fR
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBhostid\fR command prints the identifier of the current host in
19 hexadecimal. If it is executed within a non-global zone that emulates a host
20 identifier, the emulated host identifier is printed. This numeric value is
21 likely to differ when \fBhostid\fR is run on a different machine.
22 .SH SEE ALSO
23 .sp
24 .LP
25 \fBsysinfo\fR(2), \fBgethostid\fR(3C), \fBattributes\fR(5), \fBzones\fR(5)