]>
Commit | Line | Data |
---|---|---|
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 | |
30 | The | |
31 | .Nm | |
32 | command displays information about the host system on which the command is executing. | |
33 | The output includes | |
34 | a kernel version description, | |
35 | processor configuration data, | |
36 | available physical memory, | |
37 | and various scheduling statistics. | |
38 | .Pp | |
39 | .Sh OPTIONS | |
40 | There are no options. | |
41 | .Sh DISPLAY | |
42 | .Pp | |
43 | .Bl -ohang -width Primary_memory_available_ -offset indent | |
44 | .It Mach kernel version: | |
45 | The version string compiled into the kernel executing on the host system. | |
46 | .Pp | |
47 | .It Processor Configuration: | |
48 | The maximum possible processors for which the kernel is configured, | |
09fd88e4 | 49 | followed by the number of physical and logical processors available. |
83f6dbe8 | 50 | .Pp |
ef8ad44b A |
51 | Note: on Intel architectures, physical processors are referred to as cores, and |
52 | logical processors are referred to as hardware threads; there may be multiple | |
53 | logical processors per core and multiple cores per processor package. | |
54 | This command does not report the number of processor packages. | |
55 | .Pp | |
83f6dbe8 A |
56 | .It Processor type: |
57 | The host's processor type and subtype. | |
58 | .Pp | |
59 | .It Processor active: | |
60 | A list of active processors on the host system. | |
61 | Active processors are members of a processor set and are ready to | |
62 | dispatch threads. | |
63 | On a single processor system, the active processor, is processor 0. | |
64 | .Pp | |
65 | .It Primary memory available: | |
66 | The amount of physical memory that is configured for use on the host system. | |
67 | .Pp | |
68 | .It Default processor set: | |
69 | Displays the number of tasks currently assigned to the host processor set, | |
70 | the number of threads currently assigned to the host processor set, | |
71 | and the number of processors included in the host processor set. | |
72 | .Pp | |
73 | .It Load average: | |
74 | Measures the average number of threads in the run queue. | |
75 | .Pp | |
76 | .It Mach factor: | |
77 | A variant of the load average which measures | |
78 | the processing resources available to a new thread. | |
79 | Mach factor is based on the number of CPUs divided by (1 + the number of runnablethreads) | |
80 | or | |
81 | the number of CPUs minus the number of runnable threads when the number of runnable threads | |
82 | is less than the number of CPUs. | |
83 | The closer the Mach factor value is to zero, the higher the load. | |
84 | On 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 |