author | Mark J. Nelson <Mark.J.Nelson@Sun.COM> |
Wed, 06 Aug 2008 16:29:39 -0600 | |
changeset 7298 | b69e27387f74 |
parent 0 | 68f95e015346 |
permissions | -rw-r--r-- |
0 | 1 |
/* |
2 |
* CDDL HEADER START |
|
3 |
* |
|
4 |
* The contents of this file are subject to the terms of the |
|
7298
b69e27387f74
6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents:
0
diff
changeset
|
5 |
* Common Development and Distribution License (the "License"). |
b69e27387f74
6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents:
0
diff
changeset
|
6 |
* You may not use this file except in compliance with the License. |
0 | 7 |
* |
8 |
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
* or http://www.opensolaris.org/os/licensing. |
|
10 |
* See the License for the specific language governing permissions |
|
11 |
* and limitations under the License. |
|
12 |
* |
|
13 |
* When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
* file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
* If applicable, add the following below this CDDL HEADER, with the |
|
16 |
* fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
* information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
* |
|
19 |
* CDDL HEADER END |
|
20 |
*/ |
|
21 |
/* |
|
22 |
* Copyright (c) 2001 by Sun Microsystems, Inc. |
|
23 |
* All rights reserved. |
|
24 |
* |
|
25 |
* Solaris_ProcessStatisticalInformationProperties.java |
|
26 |
*/ |
|
27 |
||
28 |
||
29 |
package com.sun.wbem.solarisprovider.srm; |
|
30 |
||
31 |
/** |
|
32 |
* Defines property names of the Solaris_ProcessStatisticalInformation and |
|
33 |
* the corresponding keys in the RDS protocol |
|
34 |
* @author SMI |
|
35 |
*/ |
|
36 |
public interface Solaris_ProcessStatisticalInformationProperties { |
|
37 |
/** |
|
38 |
* The cumulative number of nanoseconds that this process has spent in |
|
39 |
* User mode over its lifetime. |
|
40 |
*/ |
|
41 |
static final String USERMODETIME = "UserModeTime"; |
|
42 |
static final String USERMODETIME_KEY = "id_usr"; |
|
43 |
/** |
|
44 |
* The cumulative number of nanoseconds that this process has spent in |
|
45 |
* System mode over its lifetime. |
|
46 |
*/ |
|
47 |
static final String SYSTEMMODETIME = "SystemModeTime"; |
|
48 |
static final String SYSTEMMODETIME_KEY = "id_sys"; |
|
49 |
/** |
|
50 |
* The cumulative number of nanoseconds that this process has spent in |
|
51 |
* System Traps over its lifetime. |
|
52 |
*/ |
|
53 |
static final String SYSTEMTRAPTIME = "SystemTrapTime"; |
|
54 |
static final String SYSTEMTRAPTIME_KEY = "id_ttime"; |
|
55 |
/** |
|
56 |
* The cumulative number of nanoseconds that this process has spent |
|
57 |
* sleeping in Text Page Faults over its lifetime. |
|
58 |
*/ |
|
59 |
static final String TEXTPAGEFAULTSLEEPTIME = "TextPageFaultSleepTime"; |
|
60 |
static final String TEXTPAGEFAULTSLEEPTIME_KEY = "id_tpftime"; |
|
61 |
/** |
|
62 |
* The cumulative number of nanoseconds that this process has spent |
|
63 |
* sleeping in Data Page Faults over its lifetime. |
|
64 |
*/ |
|
65 |
static final String DATAPAGEFAULTSLEEPTIME = "DataPageFaultSleepTime"; |
|
66 |
static final String DATAPAGEFAULTSLEEPTIME_KEY = "id_dpftime"; |
|
67 |
/** |
|
68 |
* The cumulative number of nanoseconds that this process has spent |
|
69 |
* sleeping in System Page Faults over its lifetime. |
|
70 |
*/ |
|
71 |
static final String SYSTEMPAGEFAULTSLEEPTIME = "SystemPageFaultSleepTime"; |
|
72 |
static final String SYSTEMPAGEFAULTSLEEPTIME_KEY = "id_kpftime"; |
|
73 |
/** |
|
74 |
* The cumulative number of nanoseconds that this process has spent |
|
75 |
* sleeping on User Lock Waits over its lifetime. |
|
76 |
*/ |
|
77 |
static final String USERLOCKWAITSLEEPTIME = "UserLockWaitSleepTime"; |
|
78 |
static final String USERLOCKWAITSLEEPTIME_KEY = "id_lck"; |
|
79 |
/** |
|
80 |
* The cumulative number of nanoseconds that this process has spent |
|
81 |
* sleeping in all other ways over its lifetime. |
|
82 |
*/ |
|
83 |
static final String OTHERSLEEPTIME = "OtherSleepTime"; |
|
84 |
static final String OTHERSLEEPTIME_KEY = "id_slp"; |
|
85 |
/** |
|
86 |
* The cumulative number of nanoseconds that this process has spent |
|
87 |
* Waiting for CPU over its lifetime. |
|
88 |
*/ |
|
89 |
static final String WAITCPUTIME = "WaitCPUTime"; |
|
90 |
static final String WAITCPUTIME_KEY = "id_lat"; |
|
91 |
/** |
|
92 |
* The cumulative number of nanoseconds that this process has spent |
|
93 |
* Stopped over its lifetime. |
|
94 |
*/ |
|
95 |
static final String STOPPEDTIME = "StoppedTime"; |
|
96 |
static final String STOPPEDTIME_KEY = "id_stime"; |
|
97 |
/** |
|
98 |
* The cumulative number of Minor Page Faults engendered by the process |
|
99 |
* over its lifetime |
|
100 |
*/ |
|
101 |
static final String MINORPAGEFAULTS = "MinorPageFaults"; |
|
102 |
static final String MINORPAGEFAULTS_KEY = "id_minf"; |
|
103 |
/** |
|
104 |
* The cumulative number of Major Page Faults engendered by the process |
|
105 |
* over its lifetime. |
|
106 |
*/ |
|
107 |
static final String MAJORPAGEFAULTS = "MajorPageFaults"; |
|
108 |
static final String MAJORPAGEFAULTS_KEY = "id_majf"; |
|
109 |
/** |
|
110 |
* The cumulative number of swap operations engendered by the process |
|
111 |
* over its lifetime. |
|
112 |
*/ |
|
113 |
static final String SWAPOPERATIONS = "SwapOperations"; |
|
114 |
static final String SWAPOPERATIONS_KEY = "id_nswap"; |
|
115 |
/** |
|
116 |
* The cumulative number of blocks Read by the process over its lifetime. |
|
117 |
*/ |
|
118 |
static final String BLOCKSREAD = "BlocksRead"; |
|
119 |
static final String BLOCKSREAD_KEY = "id_inblk"; |
|
120 |
/** |
|
121 |
* The cumulative number of blocks Written by the process over its lifetime. |
|
122 |
*/ |
|
123 |
static final String BLOCKSWRITTEN = "BlocksWritten"; |
|
124 |
static final String BLOCKSWRITTEN_KEY = "id_oublk"; |
|
125 |
/** |
|
126 |
* The cumulative number of Messages Sent by the process over its lifetime |
|
127 |
*/ |
|
128 |
static final String MESSAGESSENT = "MessagesSent"; |
|
129 |
static final String MESSAGESSENT_KEY = "id_msnd"; |
|
130 |
/** |
|
131 |
* The cumulative number of Messages Received by the process over |
|
132 |
* its lifetime. |
|
133 |
*/ |
|
134 |
static final String MESSAGESRECEIVED = "MessagesReceived"; |
|
135 |
static final String MESSAGESRECEIVED_KEY = "id_mrcv"; |
|
136 |
/** |
|
137 |
* The cumulative number of Signals taken by the process over its lifetime. |
|
138 |
*/ |
|
139 |
static final String SIGNALSRECEIVED = "SignalsReceived"; |
|
140 |
static final String SIGNALSRECEIVED_KEY = "id_sigs"; |
|
141 |
/** |
|
142 |
* The cumulative number of Voluntary Context Switches made by the process |
|
143 |
* over its lifetime. |
|
144 |
*/ |
|
145 |
static final String VOLUNTARYCONTEXTSWITCHES = "VoluntaryContextSwitches"; |
|
146 |
static final String VOLUNTARYCONTEXTSWITCHES_KEY = "id_vctx"; |
|
147 |
/** |
|
148 |
* The cumulative number of Involuntary Context Switches made by |
|
149 |
* the process over its lifetime. |
|
150 |
*/ |
|
151 |
static final String INVOLUNTARYCONTEXTSWITCHES = |
|
152 |
"InvoluntaryContextSwitches"; |
|
153 |
static final String INVOLUNTARYCONTEXTSWITCHES_KEY = |
|
154 |
"id_ictx"; |
|
155 |
/** |
|
156 |
* The cumulative number of system calls made by the process over its |
|
157 |
* lifetime. |
|
158 |
*/ |
|
159 |
static final String SYSTEMCALLSMADE = "SystemCallsMade"; |
|
160 |
static final String SYSTEMCALLSMADE_KEY = "id_scl"; |
|
161 |
/** |
|
162 |
* The cumulative number of character I/O bytes Read and Written |
|
163 |
* by the process over its lifetime. |
|
164 |
*/ |
|
165 |
static final String CHARACTERIOUSAGE = "CharacterIOUsage"; |
|
166 |
static final String CHARACTERIOUSAGE_KEY = "id_ioch"; |
|
167 |
/** |
|
168 |
* The total number of KiloBytes of memory consumed by the process |
|
169 |
* heap at the time that it is sampled. |
|
170 |
*/ |
|
171 |
static final String PROCESSHEAPSIZE = "ProcessHeapSize"; |
|
172 |
static final String PROCESSHEAPSIZE_KEY = "id_hpsize"; |
|
173 |
/** |
|
174 |
* The size of the process virtual address space in KiloBytes. |
|
175 |
*/ |
|
176 |
static final String PROCESSVMSIZE = "ProcessVMSize"; |
|
177 |
static final String PROCESSVMSIZE_KEY = "id_size"; |
|
178 |
/** |
|
179 |
* The resident set size of the process in KiloBytes |
|
180 |
*/ |
|
181 |
static final String PROCESSRESIDENTSETSIZE = "ProcessResidentSetSize"; |
|
182 |
static final String PROCESSRESIDENTSETSIZE_KEY = "id_rssize"; |
|
183 |
/** |
|
184 |
* The percent CPU time used by the process. |
|
185 |
*/ |
|
186 |
static final String PERCENTCPUTIME = "PercentCPUTime"; |
|
187 |
static final String PERCENTCPUTIME_KEY = "id_pctcpu"; |
|
188 |
/** |
|
189 |
* The ratio of the process resident set size to physical memory |
|
190 |
*/ |
|
191 |
static final String PERCENTMEMORYSIZE = "PercentMemorySize"; |
|
192 |
static final String PERCENTMEMORYSIZE_KEY = "id_pctmem"; |
|
193 |
/** |
|
194 |
* Time in User mode and System mode spent by the process in milliseconds. |
|
195 |
* If this information is not available, a value of 0 should be used. |
|
196 |
*/ |
|
197 |
static final String USERSYSTEMMODETIME = "UserSystemModeTime"; |
|
198 |
static final String USERSYSTEMMODETIME_KEY = "id_time"; |
|
199 |
/** |
|
200 |
* The number of threads active in the current Process. |
|
201 |
*/ |
|
202 |
static final String NUMTHREADS = "NumThreads"; |
|
203 |
static final String NUMTHREADS_KEY = "id_nlwps"; |
|
204 |
/** |
|
205 |
* The system clock time at which the sample was taken. |
|
206 |
*/ |
|
207 |
static final String TIMESTAMP = "Timestamp"; |
|
208 |
static final String TIMESTAMP_KEY = "id_timestamp"; |
|
209 |
} |