1 .\"
2 .\" Mach Operating System
3 .\" Copyright (c) 1991,1990 Carnegie Mellon University
4 .\" All Rights Reserved.
5 .\"
6 .\" Permission to use, copy, modify and distribute this software and its
7 .\" documentation is hereby granted, provided that both the copyright
8 .\" notice and this permission notice appear in all copies of the
9 .\" software, derivative works or modified versions, and any portions
10 .\" thereof, and that both notices appear in supporting documentation.
11 .\"
12 .\" CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 .\" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 .\" ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 .\"
16 .\" Carnegie Mellon requests users of this software to return to
17 .\"
18 .\" Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 .\" School of Computer Science
20 .\" Carnegie Mellon University
21 .\" Pittsburgh PA 15213-3890
22 .\"
23 .\" any improvements or extensions that they make and grant Carnegie Mellon
24 .\" the rights to redistribute these changes.
25 .\"
26 .\"
27 .\" HISTORY
28 .\" $Log: host_ipc_statistics.man,v $
29 .\" Revision 2.4 91/05/14 17:04:41 mrt
30 .\" Correcting copyright
31 .\"
32 .\" Revision 2.3 91/02/14 14:10:19 mrt
33 .\" Changed to new Mach copyright
34 .\" [91/02/12 18:10:27 mrt]
35 .\"
36 .\" Revision 2.2 90/08/07 18:34:38 rpd
37 .\" Created.
38 .\"
39 .TH host_ipc_statistics 2 9/19/86
40 .CM 4
41 .SH NAME
42 .nf
43 host_ipc_statistics \- returns IPC statistics for the system
44 .SH SYNOPSIS
45 .nf
46 .ft B
47 #include <mach.h>
48
49 .nf
50 .ft B
51 kern_return_t host_ipc_statistics(task, statistics)
52 task_t target_task;
53 ipc_statistics_t *statistics; /* inout */
54
55
56 .fi
57 .ft P
58 .SH ARGUMENTS
59 .TP 15
60 .B
61 task
62 Task running on the kernel whose statistics are desired.
63 .TP 15
64 .B
65 statistics
66 The returned statistics.
67
68 .SH DESCRIPTION
69 .B host_ipc_statistics
70 returns the statistics about since the kernel was booted.
71 .B statistics
72 is a fixed length array provided
73 by the user. See
74 .B <kern/ipc_statistics.h>
75 for a description of what is
76 returned.
77
78 .SH DIAGNOSTICS
79 .TP 25
80 KERN_SUCCESS
81 The call succeeded.
82
83 .SH BUGS
84 Only kernels compiled with
85 .B MACH_IPCSTATS
86 enabled support this call.
87
88 The first argument should be a host port of some kind.
89
90 The meaning of the statistics varies; not all fields are used.
91
Cache object: 55366c729f301d57d32aec0e4bc8257e
|