]> git.saurik.com Git - apple/system_cmds.git/blame - hostinfo.tproj/hostinfo.8
system_cmds-433.8.tar.gz
[apple/system_cmds.git] / hostinfo.tproj / hostinfo.8
CommitLineData
83f6dbe8
A
1.\" Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
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
A
50.Pp
51.It Processor type:
52The host's processor type and subtype.
53.Pp
54.It Processor active:
55A list of active processors on the host system.
56Active processors are members of a processor set and are ready to
57dispatch threads.
58On a single processor system, the active processor, is processor 0.
59.Pp
60.It Primary memory available:
61The amount of physical memory that is configured for use on the host system.
62.Pp
63.It Default processor set:
64Displays the number of tasks currently assigned to the host processor set,
65the number of threads currently assigned to the host processor set,
66and the number of processors included in the host processor set.
67.Pp
68.It Load average:
69Measures the average number of threads in the run queue.
70.Pp
71.It Mach factor:
72A variant of the load average which measures
73the processing resources available to a new thread.
74Mach factor is based on the number of CPUs divided by (1 + the number of runnablethreads)
75or
76the number of CPUs minus the number of runnable threads when the number of runnable threads
77is less than the number of CPUs.
78The closer the Mach factor value is to zero, the higher the load.
79On an idle system with a fixed number of active processors, the mach factor will be equal to the number of CPUs.
80.El
81.Sh SEE ALSO
82.\" List links in ascending order by section, alphabetically within a section.
83.Xr sysctl 8
84.\" .Sh BUGS \" Document known, unremedied bugs