~ubuntu-branches/ubuntu/utopic/libgtop2/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/reference/html/libgtop-Command.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2007-01-14 20:56:18 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20070114205618-ut63p39dvj0iv13m
Tags: 2.14.6-1
* Add a get-orig-source target to retrieve the upstream tarball.
* New upstream release; no API or ABI change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
<th width="100%" align="center">Libgtop Reference Manual</th>
23
23
<td><a accesskey="n" href="libgtop-GlibTop-Server.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24
24
</tr>
25
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id4795968" class="shortcut">Top</a>
 
25
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id4820548" class="shortcut">Top</a>
26
26
                  &#160;|&#160;
27
 
                  <a href="#id4795628" class="shortcut">Description</a></nobr></td></tr>
 
27
                  <a href="#id4796611" class="shortcut">Description</a></nobr></td></tr>
28
28
</table>
29
29
<div class="refentry" lang="en">
30
30
<a name="libgtop-Command"></a><div class="titlepage"></div>
31
31
<div class="refnamediv"><table width="100%"><tr>
32
32
<td valign="top">
33
33
<h2>
34
 
<a name="id4795968"></a><span class="refentrytitle">Command</span>
 
34
<a name="id4820548"></a><span class="refentrytitle">Command</span>
35
35
</h2>
36
36
<p>Command</p>
37
37
</td>
90
90
</pre>
91
91
</div>
92
92
<div class="refsect1" lang="en">
93
 
<a name="id4795628"></a><h2>Description</h2>
 
93
<a name="id4796611"></a><h2>Description</h2>
94
94
<p>
95
95
 
96
96
</p>
97
97
</div>
98
98
<div class="refsect1" lang="en">
99
 
<a name="id4795644"></a><h2>Details</h2>
 
99
<a name="id4796627"></a><h2>Details</h2>
100
100
<div class="refsect2" lang="en">
101
 
<a name="id4795654"></a><h3>
 
101
<a name="id4796638"></a><h3>
102
102
<a name="GLIBTOP-CMND-QUIT:CAPS"></a>GLIBTOP_CMND_QUIT</h3>
103
 
<a class="indexterm" name="id4781374"></a><pre class="programlisting">#define GLIBTOP_CMND_QUIT         0
 
103
<a class="indexterm" name="id4800451"></a><pre class="programlisting">#define GLIBTOP_CMND_QUIT         0
104
104
</pre>
105
105
<p>
106
106
 
108
108
</div>
109
109
<hr>
110
110
<div class="refsect2" lang="en">
111
 
<a name="id4781389"></a><h3>
 
111
<a name="id4800467"></a><h3>
112
112
<a name="GLIBTOP-CMND-SYSDEPS:CAPS"></a>GLIBTOP_CMND_SYSDEPS</h3>
113
 
<a class="indexterm" name="id4781400"></a><pre class="programlisting">#define GLIBTOP_CMND_SYSDEPS              1
 
113
<a class="indexterm" name="id4800478"></a><pre class="programlisting">#define GLIBTOP_CMND_SYSDEPS              1
114
114
</pre>
115
115
<p>
116
116
 
118
118
</div>
119
119
<hr>
120
120
<div class="refsect2" lang="en">
121
 
<a name="id4781415"></a><h3>
 
121
<a name="id4800493"></a><h3>
122
122
<a name="GLIBTOP-CMND-CPU:CAPS"></a>GLIBTOP_CMND_CPU</h3>
123
 
<a class="indexterm" name="id4781427"></a><pre class="programlisting">#define GLIBTOP_CMND_CPU          2
 
123
<a class="indexterm" name="id4800505"></a><pre class="programlisting">#define GLIBTOP_CMND_CPU          2
124
124
</pre>
125
125
<p>
126
126
 
128
128
</div>
129
129
<hr>
130
130
<div class="refsect2" lang="en">
131
 
<a name="id4781442"></a><h3>
 
131
<a name="id4800520"></a><h3>
132
132
<a name="GLIBTOP-CMND-MEM:CAPS"></a>GLIBTOP_CMND_MEM</h3>
133
 
<a class="indexterm" name="id4781454"></a><pre class="programlisting">#define GLIBTOP_CMND_MEM          3
 
133
<a class="indexterm" name="id4800532"></a><pre class="programlisting">#define GLIBTOP_CMND_MEM          3
134
134
</pre>
135
135
<p>
136
136
 
138
138
</div>
139
139
<hr>
140
140
<div class="refsect2" lang="en">
141
 
<a name="id4781469"></a><h3>
 
141
<a name="id4800547"></a><h3>
142
142
<a name="GLIBTOP-CMND-SWAP:CAPS"></a>GLIBTOP_CMND_SWAP</h3>
143
 
<a class="indexterm" name="id4781481"></a><pre class="programlisting">#define GLIBTOP_CMND_SWAP         4
 
143
<a class="indexterm" name="id4800559"></a><pre class="programlisting">#define GLIBTOP_CMND_SWAP         4
144
144
</pre>
145
145
<p>
146
146
 
148
148
</div>
149
149
<hr>
150
150
<div class="refsect2" lang="en">
151
 
<a name="id4781496"></a><h3>
 
151
<a name="id4800575"></a><h3>
152
152
<a name="GLIBTOP-CMND-UPTIME:CAPS"></a>GLIBTOP_CMND_UPTIME</h3>
153
 
<a class="indexterm" name="id4781508"></a><pre class="programlisting">#define GLIBTOP_CMND_UPTIME               5
 
153
<a class="indexterm" name="id4800587"></a><pre class="programlisting">#define GLIBTOP_CMND_UPTIME               5
154
154
</pre>
155
155
<p>
156
156
 
158
158
</div>
159
159
<hr>
160
160
<div class="refsect2" lang="en">
161
 
<a name="id4781524"></a><h3>
 
161
<a name="id4800603"></a><h3>
162
162
<a name="GLIBTOP-CMND-LOADAVG:CAPS"></a>GLIBTOP_CMND_LOADAVG</h3>
163
 
<a class="indexterm" name="id4781535"></a><pre class="programlisting">#define GLIBTOP_CMND_LOADAVG              6
 
163
<a class="indexterm" name="id4800614"></a><pre class="programlisting">#define GLIBTOP_CMND_LOADAVG              6
164
164
</pre>
165
165
<p>
166
166
 
168
168
</div>
169
169
<hr>
170
170
<div class="refsect2" lang="en">
171
 
<a name="id4781550"></a><h3>
 
171
<a name="id4800630"></a><h3>
172
172
<a name="GLIBTOP-CMND-SHM-LIMITS:CAPS"></a>GLIBTOP_CMND_SHM_LIMITS</h3>
173
 
<a class="indexterm" name="id4781564"></a><pre class="programlisting">#define GLIBTOP_CMND_SHM_LIMITS           7
 
173
<a class="indexterm" name="id4800643"></a><pre class="programlisting">#define GLIBTOP_CMND_SHM_LIMITS           7
174
174
</pre>
175
175
<p>
176
176
 
178
178
</div>
179
179
<hr>
180
180
<div class="refsect2" lang="en">
181
 
<a name="id4781579"></a><h3>
 
181
<a name="id4800658"></a><h3>
182
182
<a name="GLIBTOP-CMND-MSG-LIMITS:CAPS"></a>GLIBTOP_CMND_MSG_LIMITS</h3>
183
 
<a class="indexterm" name="id4781592"></a><pre class="programlisting">#define GLIBTOP_CMND_MSG_LIMITS           8
 
183
<a class="indexterm" name="id4800671"></a><pre class="programlisting">#define GLIBTOP_CMND_MSG_LIMITS           8
184
184
</pre>
185
185
<p>
186
186
 
188
188
</div>
189
189
<hr>
190
190
<div class="refsect2" lang="en">
191
 
<a name="id4781607"></a><h3>
 
191
<a name="id4800686"></a><h3>
192
192
<a name="GLIBTOP-CMND-SEM-LIMITS:CAPS"></a>GLIBTOP_CMND_SEM_LIMITS</h3>
193
 
<a class="indexterm" name="id4781620"></a><pre class="programlisting">#define GLIBTOP_CMND_SEM_LIMITS           9
 
193
<a class="indexterm" name="id4800699"></a><pre class="programlisting">#define GLIBTOP_CMND_SEM_LIMITS           9
194
194
</pre>
195
195
<p>
196
196
 
198
198
</div>
199
199
<hr>
200
200
<div class="refsect2" lang="en">
201
 
<a name="id4736303"></a><h3>
 
201
<a name="id4736625"></a><h3>
202
202
<a name="GLIBTOP-CMND-PROCLIST:CAPS"></a>GLIBTOP_CMND_PROCLIST</h3>
203
 
<a class="indexterm" name="id4736314"></a><pre class="programlisting">#define GLIBTOP_CMND_PROCLIST             10
 
203
<a class="indexterm" name="id4736636"></a><pre class="programlisting">#define GLIBTOP_CMND_PROCLIST             10
204
204
</pre>
205
205
<p>
206
206
 
208
208
</div>
209
209
<hr>
210
210
<div class="refsect2" lang="en">
211
 
<a name="id4736329"></a><h3>
 
211
<a name="id4736651"></a><h3>
212
212
<a name="GLIBTOP-CMND-PROC-STATE:CAPS"></a>GLIBTOP_CMND_PROC_STATE</h3>
213
 
<a class="indexterm" name="id4736342"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_STATE           11
 
213
<a class="indexterm" name="id4736665"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_STATE           11
214
214
</pre>
215
215
<p>
216
216
 
218
218
</div>
219
219
<hr>
220
220
<div class="refsect2" lang="en">
221
 
<a name="id4736358"></a><h3>
 
221
<a name="id4736680"></a><h3>
222
222
<a name="GLIBTOP-CMND-PROC-UID:CAPS"></a>GLIBTOP_CMND_PROC_UID</h3>
223
 
<a class="indexterm" name="id4736369"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_UID             12
 
223
<a class="indexterm" name="id4736691"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_UID             12
224
224
</pre>
225
225
<p>
226
226
 
228
228
</div>
229
229
<hr>
230
230
<div class="refsect2" lang="en">
231
 
<a name="id4736384"></a><h3>
 
231
<a name="id4736706"></a><h3>
232
232
<a name="GLIBTOP-CMND-PROC-MEM:CAPS"></a>GLIBTOP_CMND_PROC_MEM</h3>
233
 
<a class="indexterm" name="id4736395"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_MEM             13
 
233
<a class="indexterm" name="id4736717"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_MEM             13
234
234
</pre>
235
235
<p>
236
236
 
238
238
</div>
239
239
<hr>
240
240
<div class="refsect2" lang="en">
241
 
<a name="id4736411"></a><h3>
 
241
<a name="id4736733"></a><h3>
242
242
<a name="GLIBTOP-CMND-PROC-TIME:CAPS"></a>GLIBTOP_CMND_PROC_TIME</h3>
243
 
<a class="indexterm" name="id4736422"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_TIME            14
 
243
<a class="indexterm" name="id4736744"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_TIME            14
244
244
</pre>
245
245
<p>
246
246
 
248
248
</div>
249
249
<hr>
250
250
<div class="refsect2" lang="en">
251
 
<a name="id4736438"></a><h3>
 
251
<a name="id4736760"></a><h3>
252
252
<a name="GLIBTOP-CMND-PROC-SIGNAL:CAPS"></a>GLIBTOP_CMND_PROC_SIGNAL</h3>
253
 
<a class="indexterm" name="id4736451"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_SIGNAL  15
 
253
<a class="indexterm" name="id4736773"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_SIGNAL  15
254
254
</pre>
255
255
<p>
256
256
 
258
258
</div>
259
259
<hr>
260
260
<div class="refsect2" lang="en">
261
 
<a name="id4736466"></a><h3>
 
261
<a name="id4736788"></a><h3>
262
262
<a name="GLIBTOP-CMND-PROC-KERNEL:CAPS"></a>GLIBTOP_CMND_PROC_KERNEL</h3>
263
 
<a class="indexterm" name="id4736478"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_KERNEL  16
 
263
<a class="indexterm" name="id4736801"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_KERNEL  16
264
264
</pre>
265
265
<p>
266
266
 
268
268
</div>
269
269
<hr>
270
270
<div class="refsect2" lang="en">
271
 
<a name="id4736494"></a><h3>
 
271
<a name="id4736816"></a><h3>
272
272
<a name="GLIBTOP-CMND-PROC-SEGMENT:CAPS"></a>GLIBTOP_CMND_PROC_SEGMENT</h3>
273
 
<a class="indexterm" name="id4736506"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_SEGMENT 17
 
273
<a class="indexterm" name="id4736828"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_SEGMENT 17
274
274
</pre>
275
275
<p>
276
276
 
278
278
</div>
279
279
<hr>
280
280
<div class="refsect2" lang="en">
281
 
<a name="id4736521"></a><h3>
 
281
<a name="id4736843"></a><h3>
282
282
<a name="GLIBTOP-CMND-PROC-ARGS:CAPS"></a>GLIBTOP_CMND_PROC_ARGS</h3>
283
 
<a class="indexterm" name="id4736532"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_ARGS            18
 
283
<a class="indexterm" name="id4736854"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_ARGS            18
284
284
</pre>
285
285
<p>
286
286
 
288
288
</div>
289
289
<hr>
290
290
<div class="refsect2" lang="en">
291
 
<a name="id4736547"></a><h3>
 
291
<a name="id4736870"></a><h3>
292
292
<a name="GLIBTOP-CMND-PROC-MAP:CAPS"></a>GLIBTOP_CMND_PROC_MAP</h3>
293
 
<a class="indexterm" name="id4736559"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_MAP             19
 
293
<a class="indexterm" name="id4736881"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_MAP             19
294
294
</pre>
295
295
<p>
296
296
 
298
298
</div>
299
299
<hr>
300
300
<div class="refsect2" lang="en">
301
 
<a name="id4825307"></a><h3>
 
301
<a name="id4825624"></a><h3>
302
302
<a name="GLIBTOP-CMND-MOUNTLIST:CAPS"></a>GLIBTOP_CMND_MOUNTLIST</h3>
303
 
<a class="indexterm" name="id4825317"></a><pre class="programlisting">#define GLIBTOP_CMND_MOUNTLIST            20
 
303
<a class="indexterm" name="id4795505"></a><pre class="programlisting">#define GLIBTOP_CMND_MOUNTLIST            20
304
304
</pre>
305
305
<p>
306
306
 
308
308
</div>
309
309
<hr>
310
310
<div class="refsect2" lang="en">
311
 
<a name="id4825331"></a><h3>
 
311
<a name="id4806984"></a><h3>
312
312
<a name="GLIBTOP-CMND-FSUSAGE:CAPS"></a>GLIBTOP_CMND_FSUSAGE</h3>
313
 
<a class="indexterm" name="id4825341"></a><pre class="programlisting">#define GLIBTOP_CMND_FSUSAGE              21
 
313
<a class="indexterm" name="id4825633"></a><pre class="programlisting">#define GLIBTOP_CMND_FSUSAGE              21
314
314
</pre>
315
315
<p>
316
316
 
318
318
</div>
319
319
<hr>
320
320
<div class="refsect2" lang="en">
321
 
<a name="id4825355"></a><h3>
 
321
<a name="id4825647"></a><h3>
322
322
<a name="GLIBTOP-CMND-NETLOAD:CAPS"></a>GLIBTOP_CMND_NETLOAD</h3>
323
 
<a class="indexterm" name="id4825365"></a><pre class="programlisting">#define GLIBTOP_CMND_NETLOAD              22
 
323
<a class="indexterm" name="id4825657"></a><pre class="programlisting">#define GLIBTOP_CMND_NETLOAD              22
324
324
</pre>
325
325
<p>
326
326
 
328
328
</div>
329
329
<hr>
330
330
<div class="refsect2" lang="en">
331
 
<a name="id4825379"></a><h3>
 
331
<a name="id4825671"></a><h3>
332
332
<a name="GLIBTOP-CMND-PPP:CAPS"></a>GLIBTOP_CMND_PPP</h3>
333
 
<a class="indexterm" name="id4825389"></a><pre class="programlisting">#define GLIBTOP_CMND_PPP          23
 
333
<a class="indexterm" name="id4825681"></a><pre class="programlisting">#define GLIBTOP_CMND_PPP          23
334
334
</pre>
335
335
<p>
336
336
 
338
338
</div>
339
339
<hr>
340
340
<div class="refsect2" lang="en">
341
 
<a name="id4825403"></a><h3>
 
341
<a name="id4825695"></a><h3>
342
342
<a name="GLIBTOP-CMND-NETLIST:CAPS"></a>GLIBTOP_CMND_NETLIST</h3>
343
 
<a class="indexterm" name="id4825414"></a><pre class="programlisting">#define GLIBTOP_CMND_NETLIST              24
 
343
<a class="indexterm" name="id4825706"></a><pre class="programlisting">#define GLIBTOP_CMND_NETLIST              24
344
344
</pre>
345
345
<p>
346
346
 
348
348
</div>
349
349
<hr>
350
350
<div class="refsect2" lang="en">
351
 
<a name="id4825428"></a><h3>
 
351
<a name="id4825720"></a><h3>
352
352
<a name="GLIBTOP-CMND-PROC-OPEN-FILES:CAPS"></a>GLIBTOP_CMND_PROC_OPEN_FILES</h3>
353
 
<a class="indexterm" name="id4825441"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_OPEN_FILES      25
 
353
<a class="indexterm" name="id4825732"></a><pre class="programlisting">#define GLIBTOP_CMND_PROC_OPEN_FILES      25
354
354
</pre>
355
355
<p>
356
356
 
358
358
</div>
359
359
<hr>
360
360
<div class="refsect2" lang="en">
361
 
<a name="id4825458"></a><h3>
 
361
<a name="id4825748"></a><h3>
362
362
<a name="GLIBTOP-MAX-CMND:CAPS"></a>GLIBTOP_MAX_CMND</h3>
363
 
<a class="indexterm" name="id4825469"></a><pre class="programlisting">#define GLIBTOP_MAX_CMND          26
 
363
<a class="indexterm" name="id4825758"></a><pre class="programlisting">#define GLIBTOP_MAX_CMND          26
364
364
</pre>
365
365
<p>
366
366
 
368
368
</div>
369
369
<hr>
370
370
<div class="refsect2" lang="en">
371
 
<a name="id4825485"></a><h3>
 
371
<a name="id4825772"></a><h3>
372
372
<a name="glibtop-command"></a>glibtop_command</h3>
373
 
<a class="indexterm" name="id4825498"></a><pre class="programlisting">typedef struct {
 
373
<a class="indexterm" name="id4825783"></a><pre class="programlisting">typedef struct {
374
374
        guint64 command;
375
375
        guint64 size, data_size;
376
376
        char            parameter [_GLIBTOP_PARAM_SIZE];
382
382
</div>
383
383
<hr>
384
384
<div class="refsect2" lang="en">
385
 
<a name="id4825515"></a><h3>
 
385
<a name="id4825798"></a><h3>
386
386
<a name="glibtop-response"></a>glibtop_response</h3>
387
 
<a class="indexterm" name="id4825528"></a><pre class="programlisting">typedef struct {
 
387
<a class="indexterm" name="id4825809"></a><pre class="programlisting">typedef struct {
388
388
        gint64 offset;
389
389
        guint64 size, data_size;
390
390
        glibtop_response_union u;
396
396
</div>
397
397
<hr>
398
398
<div class="refsect2" lang="en">
399
 
<a name="id4825545"></a><h3>
 
399
<a name="id4825824"></a><h3>
400
400
<a name="glibtop-response-union"></a>union glibtop_response_union</h3>
401
 
<a class="indexterm" name="id4825557"></a><pre class="programlisting">union glibtop_response_union
 
401
<a class="indexterm" name="id4825835"></a><pre class="programlisting">union glibtop_response_union
402
402
{
403
403
        glibtop_union   data;
404
404
        glibtop_sysdeps sysdeps;
410
410
</div>
411
411
<hr>
412
412
<div class="refsect2" lang="en">
413
 
<a name="id4825574"></a><h3>
 
413
<a name="id4825850"></a><h3>
414
414
<a name="glibtop-call"></a>glibtop_call()</h3>
415
 
<a class="indexterm" name="id4825586"></a><pre class="programlisting">#define glibtop_call(p1, p2, p3, p4)      glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)
 
415
<a class="indexterm" name="id4825861"></a><pre class="programlisting">#define glibtop_call(p1, p2, p3, p4)      glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)
416
416
</pre>
417
417
<p>
418
418
 
447
447
</div>
448
448
<hr>
449
449
<div class="refsect2" lang="en">
450
 
<a name="id4825665"></a><h3>
 
450
<a name="id4825931"></a><h3>
451
451
<a name="glibtop-call-l"></a>glibtop_call_l ()</h3>
452
 
<a class="indexterm" name="id4825677"></a><pre class="programlisting">void*       glibtop_call_l                  (<a href="libgtop-GlibTop.html#glibtop">glibtop</a> *server,
 
452
<a class="indexterm" name="id4825941"></a><pre class="programlisting">void*       glibtop_call_l                  (<a href="libgtop-GlibTop.html#glibtop">glibtop</a> *server,
453
453
                                             unsigned command ,
454
454
                                             size_t send_size,
455
455
                                             const void *send_buf,
503
503
</div>
504
504
<hr>
505
505
<div class="refsect2" lang="en">
506
 
<a name="id4825839"></a><h3>
 
506
<a name="id4826086"></a><h3>
507
507
<a name="glibtop-call-s"></a>glibtop_call_s ()</h3>
508
 
<a class="indexterm" name="id4825852"></a><pre class="programlisting">void*       glibtop_call_s                  (<a href="libgtop-GlibTop.html#glibtop">glibtop</a> *server,
 
508
<a class="indexterm" name="id4826096"></a><pre class="programlisting">void*       glibtop_call_s                  (<a href="libgtop-GlibTop.html#glibtop">glibtop</a> *server,
509
509
                                             unsigned command ,
510
510
                                             size_t send_size,
511
511
                                             const void *send_buf,