summaryrefslogtreecommitdiff
path: root/guile/reference.sgml
blob: 2dffd33d3d08578392f92cfb031248958e9dedee (plain)
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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
<sect1>
<title><function>glibtop_get_cpu()</function> - CPU Usage</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
CPU Usage
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/cpu.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_cpu</function></funcdef>
<paramdef>glibtop_cpu *<parameter>cpu</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_cpu_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_cpu *<parameter>cpu</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_cpu</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_cpu             glibtop_cpu;

struct _glibtop_cpu
{
	u_int64_t	flags;
	u_int64_t       total,          /* GLIBTOP_CPU_TOTAL                */
		user,           	/* GLIBTOP_CPU_USER                 */
		nice,           	/* GLIBTOP_CPU_NICE                 */
		sys,            	/* GLIBTOP_CPU_SYS                  */
		idle,           	/* GLIBTOP_CPU_IDLE                 */
		frequency;      	/* GLIBTOP_CPU_FREQUENCY            */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_cpu</structname>:

<variablelist>

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
The number of jiffies (1/100ths of a second) since system boot

<varlistentry>
<term><parameter>user</parameter></term>

<listitem>
<para>
The number of jiffies (1/100ths of a second) that the system spent in user mode

<varlistentry>
<term><parameter>nice</parameter></term>

<listitem>
<para>
The number of jiffies (1/100ths of a second) that the system spent in user mode with low priority (nice)

<varlistentry>
<term><parameter>sys</parameter></term>

<listitem>
<para>
The number of jiffies (1/100ths of a second) that the system spent in system mode

<varlistentry>
<term><parameter>idle</parameter></term>

<listitem>
<para>
The number of jiffies (1/100ths of a second) that the system spend in the idle task

<varlistentry>
<term><parameter>frequency</parameter></term>

<listitem>
<para>
All of the above values are in jiffies (1/100ths of a second) unless otherwise stated in this field (i.e. 'frequency != 100')

</variablelist>

&include-cpu.sgml;

<sect1>
<title><function>glibtop_get_mem()</function> - Memory Usage</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Memory Usage
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/mem.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_mem</function></funcdef>
<paramdef>glibtop_mem *<parameter>mem</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_mem_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_mem *<parameter>mem</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_mem</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_mem             glibtop_mem;

struct _glibtop_mem
{
	u_int64_t	flags;
	u_int64_t       total,          /* GLIBTOP_MEM_TOTAL                */
		used,           	/* GLIBTOP_MEM_USED                 */
		free,           	/* GLIBTOP_MEM_FREE                 */
		shared,         	/* GLIBTOP_MEM_SHARED               */
		buffer,         	/* GLIBTOP_MEM_BUFFER               */
		cached,         	/* GLIBTOP_MEM_CACHED               */
		user,           	/* GLIBTOP_MEM_USER                 */
		locked;         	/* GLIBTOP_MEM_LOCKED               */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_mem</structname>:

<variablelist>

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
Total physical memory in kB

<varlistentry>
<term><parameter>used</parameter></term>

<listitem>
<para>
Used memory size in kB

<varlistentry>
<term><parameter>free</parameter></term>

<listitem>
<para>
Free memory size in kB

<varlistentry>
<term><parameter>shared</parameter></term>

<listitem>
<para>
Shared memory size in kB

<varlistentry>
<term><parameter>buffer</parameter></term>

<listitem>
<para>
Size of buffers kB

<varlistentry>
<term><parameter>cached</parameter></term>

<listitem>
<para>
Size of cached memory in kB

<varlistentry>
<term><parameter>user</parameter></term>

<listitem>
<para>
Memory used from user processes in kB

<varlistentry>
<term><parameter>locked</parameter></term>

<listitem>
<para>
Memory in locked pages in kB

</variablelist>

&include-mem.sgml;

<sect1>
<title><function>glibtop_get_swap()</function> - Swap Usage</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Swap Usage
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/swap.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_swap</function></funcdef>
<paramdef>glibtop_swap *<parameter>swap</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_swap_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_swap *<parameter>swap</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_swap</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_swap            glibtop_swap;

struct _glibtop_swap
{
	u_int64_t	flags;
	u_int64_t       total,          /* GLIBTOP_SWAP_TOTAL               */
		used,           	/* GLIBTOP_SWAP_USED                */
		free,           	/* GLIBTOP_SWAP_FREE                */
		pagein,         	/* GLIBTOP_SWAP_PAGEIN              */
		pageout;        	/* GLIBTOP_SWAP_PAGEOUT             */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_swap</structname>:

<variablelist>

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
Total Swap Space

<varlistentry>
<term><parameter>used</parameter></term>

<listitem>
<para>
Used Swap Space

<varlistentry>
<term><parameter>free</parameter></term>

<listitem>
<para>
Free Swap Space

<varlistentry>
<term><parameter>pagein</parameter></term>

<listitem>
<para>
Total number of swap pages that have been brought in since system boot

<varlistentry>
<term><parameter>pageout</parameter></term>

<listitem>
<para>
Total number of swap pages that have been brought out since system boot

</variablelist>

&include-swap.sgml;

<sect1>
<title><function>glibtop_get_uptime()</function> - System Uptime</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
System Uptime
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/uptime.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_uptime</function></funcdef>
<paramdef>glibtop_uptime *<parameter>uptime</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_uptime_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_uptime *<parameter>uptime</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_uptime</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_uptime          glibtop_uptime;

struct _glibtop_uptime
{
	u_int64_t	flags;
	double          uptime,         /* GLIBTOP_UPTIME_UPTIME            */
		idletime;       	/* GLIBTOP_UPTIME_IDLETIME          */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_uptime</structname>:

<variablelist>

<varlistentry>
<term><parameter>uptime</parameter></term>

<listitem>
<para>
Time in seconds since system boot

<varlistentry>
<term><parameter>idletime</parameter></term>

<listitem>
<para>
Time in seconds the system spent in the idle task since system boot

</variablelist>

&include-uptime.sgml;

<sect1>
<title><function>glibtop_get_loadavg()</function> - Load Averange</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Load Averange
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/loadavg.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_loadavg</function></funcdef>
<paramdef>glibtop_loadavg *<parameter>loadavg</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_loadavg_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_loadavg *<parameter>loadavg</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_loadavg</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_loadavg         glibtop_loadavg;

struct _glibtop_loadavg
{
	u_int64_t	flags;
	double          loadavg [3];    /* GLIBTOP_LOADAVG_LOADAVG [3]      */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_loadavg</structname>:

<variablelist>

<varlistentry>
<term><parameter>loadavg [3]</parameter></term>

<listitem>
<para>
Number of jobs running simultaneously averaged over 1, 5 and 15 minutes

</variablelist>

&include-loadavg.sgml;

<sect1>
<title><function>glibtop_get_shm_limits()</function> - Shared Memory Limits</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Shared Memory Limits
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/shm_limits.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_shm_limits</function></funcdef>
<paramdef>glibtop_shm_limits *<parameter>shm_limits</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_shm_limits_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_shm_limits *<parameter>shm_limits</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_shm_limits</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_shm_limits      glibtop_shm_limits;

struct _glibtop_shm_limits
{
	u_int64_t	flags;
	u_int64_t       shmmax,         /* GLIBTOP_SHM_LIMITS_SHMMAX        */
		shmmin,         	/* GLIBTOP_SHM_LIMITS_SHMMIN        */
		shmmni,         	/* GLIBTOP_SHM_LIMITS_SHMMNI        */
		shmseg,         	/* GLIBTOP_SHM_LIMITS_SHMSEG        */
		shmall;         	/* GLIBTOP_SHM_LIMITS_SHMALL        */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_shm_limits</structname>:

<variablelist>

<varlistentry>
<term><parameter>shmmax</parameter></term>

<listitem>
<para>
Max segment size

<varlistentry>
<term><parameter>shmmin</parameter></term>

<listitem>
<para>
Min segment size

<varlistentry>
<term><parameter>shmmni</parameter></term>

<listitem>
<para>
Max number of segments

<varlistentry>
<term><parameter>shmseg</parameter></term>

<listitem>
<para>
Max shared segments per process

<varlistentry>
<term><parameter>shmall</parameter></term>

<listitem>
<para>
Max total shared memory

</variablelist>

&include-shm-limits.sgml;

<sect1>
<title><function>glibtop_get_msg_limits()</function> - Message Queue Limits</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Message Queue Limits
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/msg_limits.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_msg_limits</function></funcdef>
<paramdef>glibtop_msg_limits *<parameter>msg_limits</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_msg_limits_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_msg_limits *<parameter>msg_limits</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_msg_limits</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_msg_limits      glibtop_msg_limits;

struct _glibtop_msg_limits
{
	u_int64_t	flags;
	u_int64_t       msgpool,        /* GLIBTOP_MSG_LIMITS_MSGPOOL       */
		msgmap,         	/* GLIBTOP_MSG_LIMITS_MSGMAP        */
		msgmax,         	/* GLIBTOP_MSG_LIMITS_MSGMAX        */
		msgmnb,         	/* GLIBTOP_MSG_LIMITS_MSGMNB        */
		msgmni,         	/* GLIBTOP_MSG_LIMITS_MSGMNI        */
		msgssz,         	/* GLIBTOP_MSG_LIMITS_MSGSSZ        */
		msgtql;         	/* GLIBTOP_MSG_LIMITS_MSGTQL        */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_msg_limits</structname>:

<variablelist>

<varlistentry>
<term><parameter>msgpool</parameter></term>

<listitem>
<para>
Size in kilobytes of message pool

<varlistentry>
<term><parameter>msgmap</parameter></term>

<listitem>
<para>
Number of entries in message map

<varlistentry>
<term><parameter>msgmax</parameter></term>

<listitem>
<para>
Max size of message

<varlistentry>
<term><parameter>msgmnb</parameter></term>

<listitem>
<para>
Default max size of queue

<varlistentry>
<term><parameter>msgmni</parameter></term>

<listitem>
<para>
Max queues system wide

<varlistentry>
<term><parameter>msgssz</parameter></term>

<listitem>
<para>
Message segment size

<varlistentry>
<term><parameter>msgtql</parameter></term>

<listitem>
<para>
Number of system message headers

</variablelist>

&include-msg-limits.sgml;

<sect1>
<title><function>glibtop_get_sem_limits()</function> - Semaphore Set Limits</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Semaphore Set Limits
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/sem_limits.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_sem_limits</function></funcdef>
<paramdef>glibtop_sem_limits *<parameter>sem_limits</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_sem_limits_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_sem_limits *<parameter>sem_limits</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_sem_limits</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_sem_limits      glibtop_sem_limits;

struct _glibtop_sem_limits
{
	u_int64_t	flags;
	u_int64_t       semmap,         /* GLIBTOP_SEM_LIMITS_SEMMAP        */
		semmni,         	/* GLIBTOP_SEM_LIMITS_SEMMNI        */
		semmns,         	/* GLIBTOP_SEM_LIMITS_SEMMNS        */
		semmnu,         	/* GLIBTOP_SEM_LIMITS_SEMMNU        */
		semmsl,         	/* GLIBTOP_SEM_LIMITS_SEMMSL        */
		semopm,         	/* GLIBTOP_SEM_LIMITS_SEMOPM        */
		semume,         	/* GLIBTOP_SEM_LIMITS_SEMUME        */
		semusz,         	/* GLIBTOP_SEM_LIMITS_SEMUSZ        */
		semvmx,         	/* GLIBTOP_SEM_LIMITS_SEMVMX        */
		semaem;         	/* GLIBTOP_SEM_LIMITS_SEMAEM        */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_sem_limits</structname>:

<variablelist>

<varlistentry>
<term><parameter>semmap</parameter></term>

<listitem>
<para>
Number of entries in semaphore map

<varlistentry>
<term><parameter>semmni</parameter></term>

<listitem>
<para>
Max number of arrays

<varlistentry>
<term><parameter>semmns</parameter></term>

<listitem>
<para>
Max semaphores system wide

<varlistentry>
<term><parameter>semmnu</parameter></term>

<listitem>
<para>
Number of undo structures system wide

<varlistentry>
<term><parameter>semmsl</parameter></term>

<listitem>
<para>
Max semaphores per array

<varlistentry>
<term><parameter>semopm</parameter></term>

<listitem>
<para>
Max ops per semop call

<varlistentry>
<term><parameter>semume</parameter></term>

<listitem>
<para>
Max number of undo entries per process

<varlistentry>
<term><parameter>semusz</parameter></term>

<listitem>
<para>
sizeof struct sem_undo

<varlistentry>
<term><parameter>semvmx</parameter></term>

<listitem>
<para>
Semaphore max value

<varlistentry>
<term><parameter>semaem</parameter></term>

<listitem>
<para>
Adjust on exit max value

</variablelist>

&include-sem-limits.sgml;

<sect1>
<title><function>glibtop_get_proclist()</function> - List of running Processes</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
List of running Processes
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proclist.h&gt;</funcsynopsisinfo><funcdef>unsigned * <function>glibtop_get_proclist</function></funcdef>
<paramdef>glibtop_proclist *<parameter>proclist</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>unsigned * <function>glibtop_get_proclist_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proclist *<parameter>proclist</parameter>, long <parameter>which</parameter>, long <parameter>arg</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proclist</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proclist        glibtop_proclist;

struct _glibtop_proclist
{
	u_int64_t	flags;
	u_int64_t       number,         /* GLIBTOP_PROCLIST_NUMBER          */
		total,          	/* GLIBTOP_PROCLIST_TOTAL           */
		size;           	/* GLIBTOP_PROCLIST_SIZE            */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proclist</structname>:

<variablelist>

<varlistentry>
<term><parameter>number</parameter></term>

<listitem>
<para>
Number of list elements

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
Total size of list

<varlistentry>
<term><parameter>size</parameter></term>

<listitem>
<para>
Size of a single list element

</variablelist>

&include-proclist.sgml;

<sect1>
<title><function>glibtop_get_proc_state()</function> - Process Status information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Status information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_state.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_state</function></funcdef>
<paramdef>glibtop_proc_state *<parameter>proc_state</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_state_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_state *<parameter>proc_state</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_state</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_state      glibtop_proc_state;

struct _glibtop_proc_state
{
	u_int64_t	flags;
	int             uid,            /* GLIBTOP_PROC_STATE_UID           */
		gid;            	/* GLIBTOP_PROC_STATE_GID           */
	char            state;          /* GLIBTOP_PROC_STATE_STATE         */
	const char *    cmd;            /* GLIBTOP_PROC_STATE_CMD           */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_state</structname>:

<variablelist>

<varlistentry>
<term><parameter>cmd</parameter></term>

<listitem>
<para>
Basename of executable file in call to exec()

<varlistentry>
<term><parameter>state</parameter></term>

<listitem>
<para>
Single-Char code for process state (S=sleeping)

<varlistentry>
<term><parameter>uid</parameter></term>

<listitem>
<para>
UID of process

<varlistentry>
<term><parameter>gid</parameter></term>

<listitem>
<para>
GID of process

</variablelist>

&include-proc-state.sgml;

<sect1>
<title><function>glibtop_get_proc_uid()</function> - Process UID and TTY information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process UID and TTY information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_uid.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_uid</function></funcdef>
<paramdef>glibtop_proc_uid *<parameter>proc_uid</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_uid_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_uid *<parameter>proc_uid</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_uid</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_uid        glibtop_proc_uid;

struct _glibtop_proc_uid
{
	u_int64_t	flags;
	int             uid,            /* GLIBTOP_PROC_UID_UID             */
		euid,           	/* GLIBTOP_PROC_UID_EUID            */
		gid,            	/* GLIBTOP_PROC_UID_GID             */
		egid,           	/* GLIBTOP_PROC_UID_EGID            */
		pid,            	/* GLIBTOP_PROC_UID_PID             */
		ppid,           	/* GLIBTOP_PROC_UID_PPID            */
		pgrp,           	/* GLIBTOP_PROC_UID_PGRP            */
		session,        	/* GLIBTOP_PROC_UID_SESSION         */
		tty,            	/* GLIBTOP_PROC_UID_TTY             */
		tpgid,          	/* GLIBTOP_PROC_UID_TPGID           */
		priority,       	/* GLIBTOP_PROC_UID_PRIORITY        */
		nice;           	/* GLIBTOP_PROC_UID_NICE            */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_uid</structname>:

<variablelist>

<varlistentry>
<term><parameter>uid</parameter></term>

<listitem>
<para>
User ID

<varlistentry>
<term><parameter>euid</parameter></term>

<listitem>
<para>
Effective User ID

<varlistentry>
<term><parameter>gid</parameter></term>

<listitem>
<para>
Group ID

<varlistentry>
<term><parameter>egid</parameter></term>

<listitem>
<para>
Effective Group ID

<varlistentry>
<term><parameter>pid</parameter></term>

<listitem>
<para>
Process ID

<varlistentry>
<term><parameter>ppid</parameter></term>

<listitem>
<para>
PID of parent process

<varlistentry>
<term><parameter>pgrp</parameter></term>

<listitem>
<para>
Process group ID

<varlistentry>
<term><parameter>session</parameter></term>

<listitem>
<para>
Session ID

<varlistentry>
<term><parameter>tty</parameter></term>

<listitem>
<para>
Full device number of controlling terminal

<varlistentry>
<term><parameter>tpgid</parameter></term>

<listitem>
<para>
Terminal process group ID

<varlistentry>
<term><parameter>priority</parameter></term>

<listitem>
<para>
Kernel scheduling priority

<varlistentry>
<term><parameter>nice</parameter></term>

<listitem>
<para>
Standard unix nice level of process

</variablelist>

&include-proc-uid.sgml;

<sect1>
<title><function>glibtop_get_proc_mem()</function> - Process Memory information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Memory information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_mem.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_mem</function></funcdef>
<paramdef>glibtop_proc_mem *<parameter>proc_mem</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_mem_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_mem *<parameter>proc_mem</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_mem</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_mem        glibtop_proc_mem;

struct _glibtop_proc_mem
{
	u_int64_t	flags;
	int64_t         size,           /* GLIBTOP_PROC_MEM_SIZE            */
		vsize,          	/* GLIBTOP_PROC_MEM_VSIZE           */
		resident,       	/* GLIBTOP_PROC_MEM_RESIDENT        */
		share,          	/* GLIBTOP_PROC_MEM_SHARE           */
		rss,            	/* GLIBTOP_PROC_MEM_RSS             */
		rss_rlim;       	/* GLIBTOP_PROC_MEM_RSS_RLIM        */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_mem</structname>:

<variablelist>

<varlistentry>
<term><parameter>size</parameter></term>

<listitem>
<para>
Total # of pages of memory

<varlistentry>
<term><parameter>vsize</parameter></term>

<listitem>
<para>
Number of pages of virtual memory

<varlistentry>
<term><parameter>resident</parameter></term>

<listitem>
<para>
Number of residnet set (non-swapped) pages

<varlistentry>
<term><parameter>share</parameter></term>

<listitem>
<para>
Number of pages of shared (mmap'd) memory

<varlistentry>
<term><parameter>rss</parameter></term>

<listitem>
<para>
Number of pages the process has in real memory, minus 3 for administrative purposes. This is just the pages which count towards text, data, or stack space. This does not include pages which have not been demand-loaded in, or which are swapped out.

<varlistentry>
<term><parameter>rss_rlim</parameter></term>

<listitem>
<para>
Current limit in bytes on the rss of the process (usually 2,147,483,647).

</variablelist>

&include-proc-mem.sgml;

<sect1>
<title><function>glibtop_get_proc_time()</function> - Process Time information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Time information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_time.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_time</function></funcdef>
<paramdef>glibtop_proc_time *<parameter>proc_time</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_time_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_time *<parameter>proc_time</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_time</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_time       glibtop_proc_time;

struct _glibtop_proc_time
{
	u_int64_t	flags;
	int64_t         start_time,     /* GLIBTOP_PROC_TIME_START_TIME     */
		rtime,          	/* GLIBTOP_PROC_TIME_RTIME          */
		utime,          	/* GLIBTOP_PROC_TIME_UTIME          */
		stime,          	/* GLIBTOP_PROC_TIME_STIME          */
		cutime,         	/* GLIBTOP_PROC_TIME_CUTIME         */
		cstime,         	/* GLIBTOP_PROC_TIME_CSTIME         */
		timeout,        	/* GLIBTOP_PROC_TIME_TIMEOUT        */
		it_real_value,  	/* GLIBTOP_PROC_TIME_IT_REAL_VALUE  */
		timeout;        	/* GLIBTOP_PROC_TIME_TIMEOUT        */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_time</structname>:

<variablelist>

<varlistentry>
<term><parameter>start_time</parameter></term>

<listitem>
<para>
Start time of process in seconds since the epoch

<varlistentry>
<term><parameter>rtime</parameter></term>

<listitem>
<para>
Read time accumulated by process (should be utime + stime)

<varlistentry>
<term><parameter>utime</parameter></term>

<listitem>
<para>
user-mode CPU time accumulated by process

<varlistentry>
<term><parameter>stime</parameter></term>

<listitem>
<para>
kernel-mode CPU time accumulated by process

<varlistentry>
<term><parameter>cutime</parameter></term>

<listitem>
<para>
cumulative utime of process and reaped children

<varlistentry>
<term><parameter>cstime</parameter></term>

<listitem>
<para>
cumulative stime of process and reaped children

<varlistentry>
<term><parameter>timeout</parameter></term>

<listitem>
<para>
The time (in jiffies) of the process's next timeout

<varlistentry>
<term><parameter>it_real_value</parameter></term>

<listitem>
<para>
The time (in jiffies) before the next SIGALRM is sent to the process due to an interval timer.

<varlistentry>
<term><parameter>timeout</parameter></term>

<listitem>
<para>
Tick frequency

</variablelist>

&include-proc-time.sgml;

<sect1>
<title><function>glibtop_get_proc_signal()</function> - Process Signal information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Signal information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_signal.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_signal</function></funcdef>
<paramdef>glibtop_proc_signal *<parameter>proc_signal</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_signal_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_signal *<parameter>proc_signal</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_signal</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_signal     glibtop_proc_signal;

struct _glibtop_proc_signal
{
	u_int64_t	flags;
	int             signal,         /* GLIBTOP_PROC_SIGNAL_SIGNAL       */
		blocked,        	/* GLIBTOP_PROC_SIGNAL_BLOCKED      */
		sigignore,      	/* GLIBTOP_PROC_SIGNAL_SIGIGNORE    */
		sigcatch;       	/* GLIBTOP_PROC_SIGNAL_SIGCATCH     */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_signal</structname>:

<variablelist>

<varlistentry>
<term><parameter>signal</parameter></term>

<listitem>
<para>
Mask of pending signals

<varlistentry>
<term><parameter>blocked</parameter></term>

<listitem>
<para>
Mask of blocked signals

<varlistentry>
<term><parameter>sigignore</parameter></term>

<listitem>
<para>
Mask of ignored signals

<varlistentry>
<term><parameter>sigcatch</parameter></term>

<listitem>
<para>
Mask of caught signals

</variablelist>

&include-proc-signal.sgml;

<sect1>
<title><function>glibtop_get_proc_kernel()</function> - Process Kernel Data information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Kernel Data information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_kernel.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_kernel</function></funcdef>
<paramdef>glibtop_proc_kernel *<parameter>proc_kernel</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_kernel_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_kernel *<parameter>proc_kernel</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_kernel</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_kernel     glibtop_proc_kernel;

struct _glibtop_proc_kernel
{
	u_int64_t	flags;
	const char *    wchan;          /* GLIBTOP_PROC_KERNEL_WCHAN        */
	u_int64_t       k_flags,        /* GLIBTOP_PROC_KERNEL_K_FLAGS      */
		min_flt,        	/* GLIBTOP_PROC_KERNEL_MIN_FLT      */
		maj_flt,        	/* GLIBTOP_PROC_KERNEL_MAJ_FLT      */
		cmin_flt,       	/* GLIBTOP_PROC_KERNEL_CMIN_FLT     */
		cmaj_flt,       	/* GLIBTOP_PROC_KERNEL_CMAJ_FLT     */
		kstk_esp,       	/* GLIBTOP_PROC_KERNEL_KSTK_ESP     */
		kstk_eip,       	/* GLIBTOP_PROC_KERNEL_KSTK_EIP     */
		nwchan;         	/* GLIBTOP_PROC_KERNEL_NWCHAN       */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_kernel</structname>:

<variablelist>

<varlistentry>
<term><parameter>k_flags</parameter></term>

<listitem>
<para>
Kernel flags of the process.

On Linux, currently every flag has the math bit set, because crt0.s checks for math emulation, so this is not included in the output.

This is probably a bug, as not every process is a compiled C program.

The math bit should be a decimal 4, and the traced bit is decimal 10.

<varlistentry>
<term><parameter>min_flt</parameter></term>

<listitem>
<para>
The number of minor faults the process has made, those which have not required loading a memory page from disk.

<varlistentry>
<term><parameter>maj_flt</parameter></term>

<listitem>
<para>
The number of major faults the process has made, those which have required loading a memory page from disk.

<varlistentry>
<term><parameter>cmin_flt</parameter></term>

<listitem>
<para>
The number of minor faults that the process and its children have made.

<varlistentry>
<term><parameter>cmaj_flt</parameter></term>

<listitem>
<para>
The number of major faults that the process and its children have made.

<varlistentry>
<term><parameter>kstk_esp</parameter></term>

<listitem>
<para>
The current value of esp (32-bit stack pointer), as found in the kernel stack page for the process.

<varlistentry>
<term><parameter>kstk_eip</parameter></term>

<listitem>
<para>
The current EIP (32-bit instruction pointer).

<varlistentry>
<term><parameter>nwchan</parameter></term>

<listitem>
<para>
This is the "channel" in which the process is waiting.  This is the address of a system call, and can be looked up in a namelist if you need a textual name.  (If you have an up-to-date /etc/psdatabase, then try ps -l to see the WCHAN field in action)

<varlistentry>
<term><parameter>wchan</parameter></term>

<listitem>
<para>
This is the textual name of the `nwchan' field.

</variablelist>

&include-proc-kernel.sgml;

<sect1>
<title><function>glibtop_get_proc_segment()</function> - Process Segment information</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Segment information
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_segment.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_proc_segment</function></funcdef>
<paramdef>glibtop_proc_segment *<parameter>proc_segment</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_proc_segment_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_segment *<parameter>proc_segment</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_segment</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_segment    glibtop_proc_segment;

struct _glibtop_proc_segment
{
	u_int64_t	flags;
	u_int64_t       text_rss,       /* GLIBTOP_PROC_SEGMENT_TEXT_RSS    */
		shlib_rss,      	/* GLIBTOP_PROC_SEGMENT_SHLIB_RSS   */
		data_rss,       	/* GLIBTOP_PROC_SEGMENT_DATA_RSS    */
		stack_rss,      	/* GLIBTOP_PROC_SEGMENT_STACK_RSS   */
		dirty_size,     	/* GLIBTOP_PROC_SEGMENT_DIRTY_SIZE  */
		start_code,     	/* GLIBTOP_PROC_SEGMENT_START_CODE  */
		end_code,       	/* GLIBTOP_PROC_SEGMENT_END_CODE    */
		start_stack;    	/* GLIBTOP_PROC_SEGMENT_START_STACK  */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_segment</structname>:

<variablelist>

<varlistentry>
<term><parameter>text_rss</parameter></term>

<listitem>
<para>
Text resident set size

<varlistentry>
<term><parameter>shlib_rss</parameter></term>

<listitem>
<para>
Shared-Lib resident set size

<varlistentry>
<term><parameter>data_rss</parameter></term>

<listitem>
<para>
Data resident set size

<varlistentry>
<term><parameter>stack_rss</parameter></term>

<listitem>
<para>
Stack resident set size

<varlistentry>
<term><parameter>dirty_size</parameter></term>

<listitem>
<para>
Total size of dirty pages

<varlistentry>
<term><parameter>start_code</parameter></term>

<listitem>
<para>
Address of beginning of code segment

<varlistentry>
<term><parameter>end_code</parameter></term>

<listitem>
<para>
Address of end of code segment

<varlistentry>
<term><parameter>start_stack</parameter></term>

<listitem>
<para>
Address of the bottom of stack segment

</variablelist>

&include-proc-segment.sgml;

<sect1>
<title><function>glibtop_get_proc_map()</function> - Process Memory Map</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
Process Memory Map
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/proc_map.h&gt;</funcsynopsisinfo><funcdef>glibtop_map_entry * <function>glibtop_get_proc_map</function></funcdef>
<paramdef>glibtop_proc_map *<parameter>proc_map</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>glibtop_map_entry * <function>glibtop_get_proc_map_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_proc_map *<parameter>proc_map</parameter>, pid_t <parameter>pid</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_proc_map</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_proc_map        glibtop_proc_map;

struct _glibtop_proc_map
{
	u_int64_t	flags;
	u_int64_t       number,         /* GLIBTOP_PROC_MAP_NUMBER          */
		total,          	/* GLIBTOP_PROC_MAP_TOTAL           */
		size;           	/* GLIBTOP_PROC_MAP_SIZE            */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_proc_map</structname>:

<variablelist>

<varlistentry>
<term><parameter>number</parameter></term>

<listitem>
<para>
Number of list elements

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
Total size of list

<varlistentry>
<term><parameter>size</parameter></term>

<listitem>
<para>
Size of a single list element

</variablelist>

&include-proc-map.sgml;

<sect1>
<title><function>glibtop_get_mountlist()</function> - Mount List</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
List of currently mounted filesystems
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/mountlist.h&gt;</funcsynopsisinfo><funcdef>glibtop_mountentry * <function>glibtop_get_mountlist</function></funcdef>
<paramdef>glibtop_mountlist *<parameter>mountlist</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>glibtop_mountentry * <function>glibtop_get_mountlist_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_mountlist *<parameter>mountlist</parameter>, pid_t <parameter>all_fs</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_mountlist</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_mountlist       glibtop_mountlist;

struct _glibtop_mountlist
{
	u_int64_t	flags;
	u_int64_t       number,         /* GLIBTOP_MOUNTLIST_NUMBER         */
		total,          	/* GLIBTOP_MOUNTLIST_TOTAL          */
		size;           	/* GLIBTOP_MOUNTLIST_SIZE           */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_mountlist</structname>:

<variablelist>

<varlistentry>
<term><parameter>number</parameter></term>

<listitem>
<para>
Number of list elements

<varlistentry>
<term><parameter>total</parameter></term>

<listitem>
<para>
Total size of list

<varlistentry>
<term><parameter>size</parameter></term>

<listitem>
<para>
Size of a single list element

</variablelist>

&include-mountlist.sgml;

<sect1>
<title><function>glibtop_get_fsusage()</function> - File System Usage</title>

<para>
Automatically generated description:

<blockquote>
<literallayout>
File System Usage
</literallayout>
</blockquote>

<para>Automatically generated function synopsis:

<blockquote>
<funcsynopsis>
<funcsynopsisinfo>
#include &lt;glibtop.h&gt;
#include &lt;glibtop/fsusage.h&gt;</funcsynopsisinfo><funcdef>void <function>glibtop_get_fsusage</function></funcdef>
<paramdef>glibtop_fsusage *<parameter>fsusage</parameter>
</paramdef></funcsynopsis>
<funcsynopsis>
<funcdef>void <function>glibtop_get_fsusage_l</function></funcdef>
<paramdef>glibtop *<parameter>server</parameter>, glibtop_fsusage *<parameter>fsusage</parameter>, string <parameter>string</parameter>
</paramdef></funcsynopsis>
</blockquote>
<para>Automatically generated declaration of <structname>_glibtop_fsusage</structname>:

<blockquote>
<literallayout>
typedef struct _glibtop_fsusage         glibtop_fsusage;

struct _glibtop_fsusage
{
	u_int64_t	flags;
	u_int64_t       blocks,         /* GLIBTOP_FSUSAGE_BLOCKS           */
		bfree,          	/* GLIBTOP_FSUSAGE_BFREE            */
		bavail,         	/* GLIBTOP_FSUSAGE_BAVAIL           */
		files,          	/* GLIBTOP_FSUSAGE_FILES            */
		ffree;          	/* GLIBTOP_FSUSAGE_FFREE            */
};
</literallayout>
</blockquote>
<para>Automatically generated descriptions of <structname>_glibtop_fsusage</structname>:

<variablelist>

<varlistentry>
<term><parameter>blocks</parameter></term>

<listitem>
<para>
Total blocks

<varlistentry>
<term><parameter>bfree</parameter></term>

<listitem>
<para>
Free blocks available to the superuser

<varlistentry>
<term><parameter>bavail</parameter></term>

<listitem>
<para>
Free blocks available to non-superusers

<varlistentry>
<term><parameter>files</parameter></term>

<listitem>
<para>
Total file nodes

<varlistentry>
<term><parameter>ffree</parameter></term>

<listitem>
<para>
Free file nodes

</variablelist>

&include-fsusage.sgml;