/usr/share/gtk-doc/html/libgtop/libgtop-Command.html is in libgtop2-doc 2.28.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Command</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Libgtop Reference Manual">
<link rel="up" href="libgtop-lib.html" title="Libgtop Library Reference">
<link rel="prev" href="libgtop-Close.html" title="Close">
<link rel="next" href="libgtop-GlibTop-Server.html" title="GlibTop Server">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgtop-Close.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgtop-lib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Libgtop Reference Manual</th>
<td><a accesskey="n" href="libgtop-GlibTop-Server.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgtop-Command.synopsis" class="shortcut">Top</a>
|
<a href="#libgtop-Command.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libgtop-Command"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libgtop-Command.top_of_page"></a>Command</span></h2>
<p>Command</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libgtop-Command.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <glibtop/command.h>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-QUIT:CAPS" title="GLIBTOP_CMND_QUIT">GLIBTOP_CMND_QUIT</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SYSDEPS:CAPS" title="GLIBTOP_CMND_SYSDEPS">GLIBTOP_CMND_SYSDEPS</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-CPU:CAPS" title="GLIBTOP_CMND_CPU">GLIBTOP_CMND_CPU</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MEM:CAPS" title="GLIBTOP_CMND_MEM">GLIBTOP_CMND_MEM</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SWAP:CAPS" title="GLIBTOP_CMND_SWAP">GLIBTOP_CMND_SWAP</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-UPTIME:CAPS" title="GLIBTOP_CMND_UPTIME">GLIBTOP_CMND_UPTIME</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-LOADAVG:CAPS" title="GLIBTOP_CMND_LOADAVG">GLIBTOP_CMND_LOADAVG</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SHM-LIMITS:CAPS" title="GLIBTOP_CMND_SHM_LIMITS">GLIBTOP_CMND_SHM_LIMITS</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MSG-LIMITS:CAPS" title="GLIBTOP_CMND_MSG_LIMITS">GLIBTOP_CMND_MSG_LIMITS</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-SEM-LIMITS:CAPS" title="GLIBTOP_CMND_SEM_LIMITS">GLIBTOP_CMND_SEM_LIMITS</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROCLIST:CAPS" title="GLIBTOP_CMND_PROCLIST">GLIBTOP_CMND_PROCLIST</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-STATE:CAPS" title="GLIBTOP_CMND_PROC_STATE">GLIBTOP_CMND_PROC_STATE</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-UID:CAPS" title="GLIBTOP_CMND_PROC_UID">GLIBTOP_CMND_PROC_UID</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-MEM:CAPS" title="GLIBTOP_CMND_PROC_MEM">GLIBTOP_CMND_PROC_MEM</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-TIME:CAPS" title="GLIBTOP_CMND_PROC_TIME">GLIBTOP_CMND_PROC_TIME</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-SIGNAL:CAPS" title="GLIBTOP_CMND_PROC_SIGNAL">GLIBTOP_CMND_PROC_SIGNAL</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-KERNEL:CAPS" title="GLIBTOP_CMND_PROC_KERNEL">GLIBTOP_CMND_PROC_KERNEL</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-SEGMENT:CAPS" title="GLIBTOP_CMND_PROC_SEGMENT">GLIBTOP_CMND_PROC_SEGMENT</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-ARGS:CAPS" title="GLIBTOP_CMND_PROC_ARGS">GLIBTOP_CMND_PROC_ARGS</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-MAP:CAPS" title="GLIBTOP_CMND_PROC_MAP">GLIBTOP_CMND_PROC_MAP</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-MOUNTLIST:CAPS" title="GLIBTOP_CMND_MOUNTLIST">GLIBTOP_CMND_MOUNTLIST</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-FSUSAGE:CAPS" title="GLIBTOP_CMND_FSUSAGE">GLIBTOP_CMND_FSUSAGE</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-NETLOAD:CAPS" title="GLIBTOP_CMND_NETLOAD">GLIBTOP_CMND_NETLOAD</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PPP:CAPS" title="GLIBTOP_CMND_PPP">GLIBTOP_CMND_PPP</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-NETLIST:CAPS" title="GLIBTOP_CMND_NETLIST">GLIBTOP_CMND_NETLIST</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-CMND-PROC-OPEN-FILES:CAPS" title="GLIBTOP_CMND_PROC_OPEN_FILES">GLIBTOP_CMND_PROC_OPEN_FILES</a>
#define <a class="link" href="libgtop-Command.html#GLIBTOP-MAX-CMND:CAPS" title="GLIBTOP_MAX_CMND">GLIBTOP_MAX_CMND</a>
struct <a class="link" href="libgtop-Command.html#glibtop-command" title="struct glibtop_command">glibtop_command</a>;
struct <a class="link" href="libgtop-Command.html#glibtop-response" title="struct glibtop_response">glibtop_response</a>;
union <a class="link" href="libgtop-Command.html#glibtop-response-union" title="union glibtop_response_union">glibtop_response_union</a>;
#define <a class="link" href="libgtop-Command.html#glibtop-call" title="glibtop_call()">glibtop_call</a> (p1,
p2,
p3,
p4)
<span class="returnvalue">void</span> * <a class="link" href="libgtop-Command.html#glibtop-call-l" title="glibtop_call_l ()">glibtop_call_l</a> (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);
<span class="returnvalue">void</span> * <a class="link" href="libgtop-Command.html#glibtop-call-s" title="glibtop_call_s ()">glibtop_call_s</a> (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libgtop-Command.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libgtop-Command.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GLIBTOP-CMND-QUIT:CAPS"></a><h3>GLIBTOP_CMND_QUIT</h3>
<pre class="programlisting">#define GLIBTOP_CMND_QUIT 0
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-SYSDEPS:CAPS"></a><h3>GLIBTOP_CMND_SYSDEPS</h3>
<pre class="programlisting">#define GLIBTOP_CMND_SYSDEPS 1
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-CPU:CAPS"></a><h3>GLIBTOP_CMND_CPU</h3>
<pre class="programlisting">#define GLIBTOP_CMND_CPU 2
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-MEM:CAPS"></a><h3>GLIBTOP_CMND_MEM</h3>
<pre class="programlisting">#define GLIBTOP_CMND_MEM 3
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-SWAP:CAPS"></a><h3>GLIBTOP_CMND_SWAP</h3>
<pre class="programlisting">#define GLIBTOP_CMND_SWAP 4
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-UPTIME:CAPS"></a><h3>GLIBTOP_CMND_UPTIME</h3>
<pre class="programlisting">#define GLIBTOP_CMND_UPTIME 5
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-LOADAVG:CAPS"></a><h3>GLIBTOP_CMND_LOADAVG</h3>
<pre class="programlisting">#define GLIBTOP_CMND_LOADAVG 6
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-SHM-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_SHM_LIMITS</h3>
<pre class="programlisting">#define GLIBTOP_CMND_SHM_LIMITS 7
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-MSG-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_MSG_LIMITS</h3>
<pre class="programlisting">#define GLIBTOP_CMND_MSG_LIMITS 8
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-SEM-LIMITS:CAPS"></a><h3>GLIBTOP_CMND_SEM_LIMITS</h3>
<pre class="programlisting">#define GLIBTOP_CMND_SEM_LIMITS 9
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROCLIST:CAPS"></a><h3>GLIBTOP_CMND_PROCLIST</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROCLIST 10
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-STATE:CAPS"></a><h3>GLIBTOP_CMND_PROC_STATE</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_STATE 11
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-UID:CAPS"></a><h3>GLIBTOP_CMND_PROC_UID</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_UID 12
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-MEM:CAPS"></a><h3>GLIBTOP_CMND_PROC_MEM</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_MEM 13
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-TIME:CAPS"></a><h3>GLIBTOP_CMND_PROC_TIME</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_TIME 14
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-SIGNAL:CAPS"></a><h3>GLIBTOP_CMND_PROC_SIGNAL</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_SIGNAL 15
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-KERNEL:CAPS"></a><h3>GLIBTOP_CMND_PROC_KERNEL</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_KERNEL 16
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-SEGMENT:CAPS"></a><h3>GLIBTOP_CMND_PROC_SEGMENT</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_SEGMENT 17
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-ARGS:CAPS"></a><h3>GLIBTOP_CMND_PROC_ARGS</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_ARGS 18
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-MAP:CAPS"></a><h3>GLIBTOP_CMND_PROC_MAP</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_MAP 19
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-MOUNTLIST:CAPS"></a><h3>GLIBTOP_CMND_MOUNTLIST</h3>
<pre class="programlisting">#define GLIBTOP_CMND_MOUNTLIST 20
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-FSUSAGE:CAPS"></a><h3>GLIBTOP_CMND_FSUSAGE</h3>
<pre class="programlisting">#define GLIBTOP_CMND_FSUSAGE 21
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-NETLOAD:CAPS"></a><h3>GLIBTOP_CMND_NETLOAD</h3>
<pre class="programlisting">#define GLIBTOP_CMND_NETLOAD 22
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PPP:CAPS"></a><h3>GLIBTOP_CMND_PPP</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PPP 23
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-NETLIST:CAPS"></a><h3>GLIBTOP_CMND_NETLIST</h3>
<pre class="programlisting">#define GLIBTOP_CMND_NETLIST 24
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-CMND-PROC-OPEN-FILES:CAPS"></a><h3>GLIBTOP_CMND_PROC_OPEN_FILES</h3>
<pre class="programlisting">#define GLIBTOP_CMND_PROC_OPEN_FILES 25
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GLIBTOP-MAX-CMND:CAPS"></a><h3>GLIBTOP_MAX_CMND</h3>
<pre class="programlisting">#define GLIBTOP_MAX_CMND 28
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-command"></a><h3>struct glibtop_command</h3>
<pre class="programlisting">struct glibtop_command {
guint64 command;
guint64 size, data_size;
char parameter [_GLIBTOP_PARAM_SIZE];
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-response"></a><h3>struct glibtop_response</h3>
<pre class="programlisting">struct glibtop_response {
gint64 offset;
guint64 size, data_size;
glibtop_response_union u;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-response-union"></a><h3>union glibtop_response_union</h3>
<pre class="programlisting">union _glibtop_response_union
{
glibtop_union data;
glibtop_sysdeps sysdeps;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-call"></a><h3>glibtop_call()</h3>
<pre class="programlisting">#define glibtop_call(p1, p2, p3, p4) glibtop_call_r(glibtop_global_server, p1, p2, p3, p4)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-call-l"></a><h3>glibtop_call_l ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> * glibtop_call_l (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="glibtop-call-s"></a><h3>glibtop_call_s ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> * glibtop_call_s (<em class="parameter"><code><a class="link" href="libgtop-GlibTop.html#glibtop" title="struct glibtop"><span class="type">glibtop</span></a> *server</code></em>,
<em class="parameter"><code><span class="type">unsigned </span> command</code></em>,
<em class="parameter"><code><span class="type">size_t</span> send_size</code></em>,
<em class="parameter"><code>const <span class="type">void</span> *send_buf</code></em>,
<em class="parameter"><code><span class="type">size_t</span> recv_size</code></em>,
<em class="parameter"><code><span class="type">void</span> *recv_buf</code></em>);</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|