]> git.saurik.com Git - apple/system_cmds.git/blame - hostinfo.tproj/hostinfo.8
system_cmds-854.11.2.tar.gz
[apple/system_cmds.git] / hostinfo.tproj / hostinfo.8
CommitLineData
ef8ad44b 1.\" Copyright (c) 2003-2009 Apple Inc. All rights reserved.
83f6dbe8
A
2.\"
3.\" The contents of this file constitute Original Code as defined in and
4.\" are subject to the Apple Public Source License Version 1.1 (the
5.\" "License"). You may not use this file except in compliance with the
6.\" License. Please obtain a copy of the License at
7.\" http://www.apple.com/publicsource and read it before using this file.
8.\"
9.\" This Original Code and all software distributed under the License are
10.\" distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
11.\" EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
12.\" INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
13.\" FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
14.\" License for the specific language governing rights and limitations
15.\" under the License.
16.\"
17.\" @(#)hostinfo.1
18.Dd October 30, 2003 \" DATE
19.Dt hostinfo 8 \" Program name and manual section number
20.Os "Mac OS X"
21.Sh NAME \" Section Header - required - don't modify
22.Nm hostinfo
23.\" The following lines are read in generating the apropos(man -k) database. Use only key
24.\" words here as the database is built based on the words here and in the .ND line.
25.\" Use .Nm macro to designate other names for the documented program.
26.Nd host information
27.Sh SYNOPSIS \" Section Header - required - don't modify
28.Nm
29.Sh DESCRIPTION \" Section Header - required - don't modify
30The
31.Nm
32command displays information about the host system on which the command is executing.
33The output includes
34a kernel version description,
35processor configuration data,
36available physical memory,
37and various scheduling statistics.
38.Pp
39.Sh OPTIONS
40There are no options.
41.Sh DISPLAY
42.Pp
43.Bl -ohang -width Primary_memory_available_ -offset indent
44.It Mach kernel version:
45The version string compiled into the kernel executing on the host system.
46.Pp
47.It Processor Configuration:
48The maximum possible processors for which the kernel is configured,
09fd88e4 49followed by the number of physical and logical processors available.
83f6dbe8 50.Pp
ef8ad44b
A
51Note: on Intel architectures, physical processors are referred to as cores, and
52logical processors are referred to as hardware threads; there may be multiple
53logical processors per core and multiple cores per processor package.
54This command does not report the number of processor packages.
55.Pp
83f6dbe8
A
56.It Processor type:
57The host's processor type and subtype.
58.Pp
59.It Processor active:
60A list of active processors on the host system.
61Active processors are members of a processor set and are ready to
62dispatch threads.
63On a single processor system, the active processor, is processor 0.
64.Pp
65.It Primary memory available:
66The amount of physical memory that is configured for use on the host system.
67.Pp
68.It Default processor set:
69Displays the number of tasks currently assigned to the host processor set,
70the number of threads currently assigned to the host processor set,
71and the number of processors included in the host processor set.
72.Pp
73.It Load average:
74Measures the average number of threads in the run queue.
75.Pp
76.It Mach factor:
77A variant of the load average which measures
78the processing resources available to a new thread.
79Mach factor is based on the number of CPUs divided by (1 + the number of runnablethreads)
80or
81the number of CPUs minus the number of runnable threads when the number of runnable threads
82is less than the number of CPUs.
83The closer the Mach factor value is to zero, the higher the load.
84On an idle system with a fixed number of active processors, the mach factor will be equal to the number of CPUs.
85.El
86.Sh SEE ALSO
87.\" List links in ascending order by section, alphabetically within a section.
88.Xr sysctl 8
89.\" .Sh BUGS \" Document known, unremedied bugs