@girs/gtop-2.0 2.0.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gtop-2.0.d.ts ADDED
@@ -0,0 +1,1566 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * GTop-2.0
10
+ */
11
+
12
+ import type GObject from '@girs/gobject-2.0';
13
+ import type GLib from '@girs/glib-2.0';
14
+
15
+ export namespace GTop {
16
+
17
+ const AUTH_NAMESZ: number
18
+ const AUTH_TIMEOUT: number
19
+ const CONN_INTERNET: number
20
+ const CONN_IPC: number
21
+ const CONN_UNIX: number
22
+ const DEFAULT_PORT: number
23
+ const DEFAUTH_NAME: string | null
24
+ const EOT_CHR: number
25
+ const EOT_STR: string | null
26
+ const FALSE: number
27
+ const GLIBTOP_CMND_CPU: number
28
+ const GLIBTOP_CMND_DISK: number
29
+ const GLIBTOP_CMND_FSUSAGE: number
30
+ const GLIBTOP_CMND_LOADAVG: number
31
+ const GLIBTOP_CMND_MEM: number
32
+ const GLIBTOP_CMND_MOUNTLIST: number
33
+ const GLIBTOP_CMND_MSG_LIMITS: number
34
+ const GLIBTOP_CMND_NETLIST: number
35
+ const GLIBTOP_CMND_NETLOAD: number
36
+ const GLIBTOP_CMND_PPP: number
37
+ const GLIBTOP_CMND_PROCLIST: number
38
+ const GLIBTOP_CMND_PROC_AFFINITY: number
39
+ const GLIBTOP_CMND_PROC_ARGS: number
40
+ const GLIBTOP_CMND_PROC_IO: number
41
+ const GLIBTOP_CMND_PROC_KERNEL: number
42
+ const GLIBTOP_CMND_PROC_MAP: number
43
+ const GLIBTOP_CMND_PROC_MEM: number
44
+ const GLIBTOP_CMND_PROC_OPEN_FILES: number
45
+ const GLIBTOP_CMND_PROC_SEGMENT: number
46
+ const GLIBTOP_CMND_PROC_SIGNAL: number
47
+ const GLIBTOP_CMND_PROC_STATE: number
48
+ const GLIBTOP_CMND_PROC_TIME: number
49
+ const GLIBTOP_CMND_PROC_UID: number
50
+ const GLIBTOP_CMND_PROC_WD: number
51
+ const GLIBTOP_CMND_QUIT: number
52
+ const GLIBTOP_CMND_SEM_LIMITS: number
53
+ const GLIBTOP_CMND_SHM_LIMITS: number
54
+ const GLIBTOP_CMND_SWAP: number
55
+ const GLIBTOP_CMND_SYSDEPS: number
56
+ const GLIBTOP_CMND_UPTIME: number
57
+ const GLIBTOP_CPU_FREQUENCY: number
58
+ const GLIBTOP_CPU_IDLE: number
59
+ const GLIBTOP_CPU_IOWAIT: number
60
+ const GLIBTOP_CPU_IRQ: number
61
+ const GLIBTOP_CPU_NICE: number
62
+ const GLIBTOP_CPU_SOFTIRQ: number
63
+ const GLIBTOP_CPU_SYS: number
64
+ const GLIBTOP_CPU_TOTAL: number
65
+ const GLIBTOP_CPU_USER: number
66
+ const GLIBTOP_ERROR_METHOD_ABORT: number
67
+ const GLIBTOP_ERROR_METHOD_IGNORE: number
68
+ const GLIBTOP_ERROR_METHOD_WARN: number
69
+ const GLIBTOP_ERROR_METHOD_WARN_ONCE: number
70
+ /**
71
+ * Exclude idle processes.
72
+ */
73
+ const GLIBTOP_EXCLUDE_IDLE: number
74
+ /**
75
+ * Exclude processes without a controlling terminal.
76
+ */
77
+ const GLIBTOP_EXCLUDE_NOTTY: number
78
+ /**
79
+ * Exclude system (on most UNIXes root's) processes.
80
+ */
81
+ const GLIBTOP_EXCLUDE_SYSTEM: number
82
+ const GLIBTOP_FEATURES_EXCEPT: number
83
+ const GLIBTOP_FEATURES_NO_SERVER: number
84
+ const GLIBTOP_FILE_ENTRY_FD: number
85
+ const GLIBTOP_FILE_ENTRY_INETSOCKET_DST_HOST: number
86
+ const GLIBTOP_FILE_ENTRY_INETSOCKET_DST_PORT: number
87
+ const GLIBTOP_FILE_ENTRY_NAME: number
88
+ const GLIBTOP_FILE_ENTRY_TYPE: number
89
+ const GLIBTOP_FSUSAGE_BAVAIL: number
90
+ const GLIBTOP_FSUSAGE_BFREE: number
91
+ const GLIBTOP_FSUSAGE_BLOCKS: number
92
+ const GLIBTOP_FSUSAGE_BLOCK_SIZE: number
93
+ const GLIBTOP_FSUSAGE_FFREE: number
94
+ const GLIBTOP_FSUSAGE_FILES: number
95
+ const GLIBTOP_FSUSAGE_READ: number
96
+ const GLIBTOP_FSUSAGE_WRITE: number
97
+ const GLIBTOP_INIT_NO_INIT: number
98
+ const GLIBTOP_INIT_NO_OPEN: number
99
+ const GLIBTOP_IPC_MSGMAP: number
100
+ const GLIBTOP_IPC_MSGMAX: number
101
+ const GLIBTOP_IPC_MSGMNB: number
102
+ const GLIBTOP_IPC_MSGMNI: number
103
+ const GLIBTOP_IPC_MSGPOOL: number
104
+ const GLIBTOP_IPC_MSGSSZ: number
105
+ const GLIBTOP_IPC_MSGTQL: number
106
+ const GLIBTOP_IPC_SEMAEM: number
107
+ const GLIBTOP_IPC_SEMMAP: number
108
+ const GLIBTOP_IPC_SEMMNI: number
109
+ const GLIBTOP_IPC_SEMMNS: number
110
+ const GLIBTOP_IPC_SEMMNU: number
111
+ const GLIBTOP_IPC_SEMMSL: number
112
+ const GLIBTOP_IPC_SEMOPM: number
113
+ const GLIBTOP_IPC_SEMUME: number
114
+ const GLIBTOP_IPC_SEMUSZ: number
115
+ const GLIBTOP_IPC_SEMVMX: number
116
+ const GLIBTOP_IPC_SHMALL: number
117
+ const GLIBTOP_IPC_SHMMAX: number
118
+ const GLIBTOP_IPC_SHMMIN: number
119
+ const GLIBTOP_IPC_SHMMNI: number
120
+ const GLIBTOP_IPC_SHMSEG: number
121
+ /**
122
+ * Return information about all processes
123
+ */
124
+ const GLIBTOP_KERN_PROC_ALL: number
125
+ const GLIBTOP_KERN_PROC_MASK: number
126
+ /**
127
+ * Return all processes in the process group passed in `arg`.
128
+ */
129
+ const GLIBTOP_KERN_PROC_PGRP: number
130
+ /**
131
+ * Return all processes with the pid which is passed in `arg`. You can use this to find out whether some process still exists.
132
+ */
133
+ const GLIBTOP_KERN_PROC_PID: number
134
+ /**
135
+ * Return all processes with the real uid passed in `arg`.
136
+ */
137
+ const GLIBTOP_KERN_PROC_RUID: number
138
+ /**
139
+ * Return all processes in the session passed in `arg`.
140
+ */
141
+ const GLIBTOP_KERN_PROC_SESSION: number
142
+ /**
143
+ * Return all processes which have the controlling tty passed in `arg`
144
+ * (which is interpreted as the device number).
145
+ */
146
+ const GLIBTOP_KERN_PROC_TTY: number
147
+ /**
148
+ * Return all processes with the effective uid passed in `arg`.
149
+ */
150
+ const GLIBTOP_KERN_PROC_UID: number
151
+ const GLIBTOP_LOADAVG_LAST_PID: number
152
+ const GLIBTOP_LOADAVG_LOADAVG: number
153
+ const GLIBTOP_LOADAVG_NR_RUNNING: number
154
+ const GLIBTOP_LOADAVG_NR_TASKS: number
155
+ const GLIBTOP_MAP_ENTRY_DEVICE: number
156
+ const GLIBTOP_MAP_ENTRY_END: number
157
+ const GLIBTOP_MAP_ENTRY_FILENAME: number
158
+ const GLIBTOP_MAP_ENTRY_INODE: number
159
+ const GLIBTOP_MAP_ENTRY_OFFSET: number
160
+ const GLIBTOP_MAP_ENTRY_PERM: number
161
+ const GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN: number
162
+ const GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY: number
163
+ const GLIBTOP_MAP_ENTRY_PSS: number
164
+ const GLIBTOP_MAP_ENTRY_RSS: number
165
+ const GLIBTOP_MAP_ENTRY_SHARED_CLEAN: number
166
+ const GLIBTOP_MAP_ENTRY_SHARED_DIRTY: number
167
+ const GLIBTOP_MAP_ENTRY_SIZE: number
168
+ const GLIBTOP_MAP_ENTRY_START: number
169
+ const GLIBTOP_MAP_ENTRY_SWAP: number
170
+ const GLIBTOP_MAP_FILENAME_LEN: number
171
+ const GLIBTOP_MAP_PERM_EXECUTE: number
172
+ const GLIBTOP_MAP_PERM_PRIVATE: number
173
+ const GLIBTOP_MAP_PERM_READ: number
174
+ const GLIBTOP_MAP_PERM_SHARED: number
175
+ const GLIBTOP_MAP_PERM_WRITE: number
176
+ const GLIBTOP_MAX_CMND: number
177
+ const GLIBTOP_MAX_CPU: number
178
+ const GLIBTOP_MAX_DISK: number
179
+ const GLIBTOP_MAX_FSUSAGE: number
180
+ const GLIBTOP_MAX_GROUPS: number
181
+ const GLIBTOP_MAX_LOADAVG: number
182
+ const GLIBTOP_MAX_MAP_ENTRY: number
183
+ const GLIBTOP_MAX_MEM: number
184
+ const GLIBTOP_MAX_MOUNTLIST: number
185
+ const GLIBTOP_MAX_MSG_LIMITS: number
186
+ const GLIBTOP_MAX_NETLIST: number
187
+ const GLIBTOP_MAX_NETLOAD: number
188
+ const GLIBTOP_MAX_OPEN_FILE_ENTRY: number
189
+ const GLIBTOP_MAX_PPP: number
190
+ const GLIBTOP_MAX_PROCLIST: number
191
+ const GLIBTOP_MAX_PROC_AFFINITY: number
192
+ const GLIBTOP_MAX_PROC_ARGS: number
193
+ const GLIBTOP_MAX_PROC_IO: number
194
+ const GLIBTOP_MAX_PROC_KERNEL: number
195
+ const GLIBTOP_MAX_PROC_MAP: number
196
+ const GLIBTOP_MAX_PROC_MEM: number
197
+ const GLIBTOP_MAX_PROC_OPEN_FILES: number
198
+ const GLIBTOP_MAX_PROC_SEGMENT: number
199
+ const GLIBTOP_MAX_PROC_SIGNAL: number
200
+ const GLIBTOP_MAX_PROC_STATE: number
201
+ const GLIBTOP_MAX_PROC_TIME: number
202
+ const GLIBTOP_MAX_PROC_UID: number
203
+ const GLIBTOP_MAX_PROC_WD: number
204
+ const GLIBTOP_MAX_SEM_LIMITS: number
205
+ const GLIBTOP_MAX_SHM_LIMITS: number
206
+ const GLIBTOP_MAX_SWAP: number
207
+ const GLIBTOP_MAX_SYSDEPS: number
208
+ const GLIBTOP_MAX_SYSINFO: number
209
+ const GLIBTOP_MAX_UPTIME: number
210
+ const GLIBTOP_MEM_BUFFER: number
211
+ const GLIBTOP_MEM_CACHED: number
212
+ const GLIBTOP_MEM_FREE: number
213
+ const GLIBTOP_MEM_LOCKED: number
214
+ const GLIBTOP_MEM_SHARED: number
215
+ const GLIBTOP_MEM_TOTAL: number
216
+ const GLIBTOP_MEM_USED: number
217
+ const GLIBTOP_MEM_USER: number
218
+ const GLIBTOP_METHOD_DIRECT: number
219
+ const GLIBTOP_METHOD_INET: number
220
+ const GLIBTOP_METHOD_PIPE: number
221
+ const GLIBTOP_METHOD_UNIX: number
222
+ const GLIBTOP_MOUNTENTRY_LEN: number
223
+ const GLIBTOP_MOUNTLIST_NUMBER: number
224
+ const GLIBTOP_MOUNTLIST_SIZE: number
225
+ const GLIBTOP_MOUNTLIST_TOTAL: number
226
+ const GLIBTOP_NCPU: number
227
+ const GLIBTOP_NDISK: number
228
+ const GLIBTOP_NETLIST_NUMBER: number
229
+ const GLIBTOP_NETLOAD_ADDRESS: number
230
+ const GLIBTOP_NETLOAD_ADDRESS6: number
231
+ const GLIBTOP_NETLOAD_BYTES_IN: number
232
+ const GLIBTOP_NETLOAD_BYTES_OUT: number
233
+ const GLIBTOP_NETLOAD_BYTES_TOTAL: number
234
+ const GLIBTOP_NETLOAD_COLLISIONS: number
235
+ const GLIBTOP_NETLOAD_ERRORS_IN: number
236
+ const GLIBTOP_NETLOAD_ERRORS_OUT: number
237
+ const GLIBTOP_NETLOAD_ERRORS_TOTAL: number
238
+ const GLIBTOP_NETLOAD_HWADDRESS: number
239
+ const GLIBTOP_NETLOAD_IF_FLAGS: number
240
+ const GLIBTOP_NETLOAD_MTU: number
241
+ const GLIBTOP_NETLOAD_PACKETS_IN: number
242
+ const GLIBTOP_NETLOAD_PACKETS_OUT: number
243
+ const GLIBTOP_NETLOAD_PACKETS_TOTAL: number
244
+ const GLIBTOP_NETLOAD_PREFIX6: number
245
+ const GLIBTOP_NETLOAD_SCOPE6: number
246
+ const GLIBTOP_NETLOAD_SUBNET: number
247
+ const GLIBTOP_OPEN_DEST_HOST_LEN: number
248
+ const GLIBTOP_OPEN_FILENAME_LEN: number
249
+ const GLIBTOP_PARAM_COMMAND: number
250
+ const GLIBTOP_PARAM_ERROR_METHOD: number
251
+ const GLIBTOP_PARAM_FEATURES: number
252
+ const GLIBTOP_PARAM_HOST: number
253
+ const GLIBTOP_PARAM_METHOD: number
254
+ const GLIBTOP_PARAM_PORT: number
255
+ const GLIBTOP_PARAM_REQUIRED: number
256
+ const GLIBTOP_PPP_BYTES_IN: number
257
+ const GLIBTOP_PPP_BYTES_OUT: number
258
+ const GLIBTOP_PPP_STATE: number
259
+ const GLIBTOP_PROCESS_DEAD: number
260
+ const GLIBTOP_PROCESS_INTERRUPTIBLE: number
261
+ const GLIBTOP_PROCESS_RUNNING: number
262
+ const GLIBTOP_PROCESS_STOPPED: number
263
+ const GLIBTOP_PROCESS_SWAPPING: number
264
+ const GLIBTOP_PROCESS_UNINTERRUPTIBLE: number
265
+ const GLIBTOP_PROCESS_ZOMBIE: number
266
+ const GLIBTOP_PROCLIST_NUMBER: number
267
+ const GLIBTOP_PROCLIST_SIZE: number
268
+ const GLIBTOP_PROCLIST_TOTAL: number
269
+ const GLIBTOP_PROC_AFFINITY_ALL: number
270
+ const GLIBTOP_PROC_AFFINITY_NUMBER: number
271
+ const GLIBTOP_PROC_ARGS_SIZE: number
272
+ const GLIBTOP_PROC_IO_DISK_RBYTES: number
273
+ const GLIBTOP_PROC_IO_DISK_RCHAR: number
274
+ const GLIBTOP_PROC_IO_DISK_WBYTES: number
275
+ const GLIBTOP_PROC_IO_DISK_WCHAR: number
276
+ const GLIBTOP_PROC_KERNEL_CMAJ_FLT: number
277
+ const GLIBTOP_PROC_KERNEL_CMIN_FLT: number
278
+ const GLIBTOP_PROC_KERNEL_KSTK_EIP: number
279
+ const GLIBTOP_PROC_KERNEL_KSTK_ESP: number
280
+ const GLIBTOP_PROC_KERNEL_K_FLAGS: number
281
+ const GLIBTOP_PROC_KERNEL_MAJ_FLT: number
282
+ const GLIBTOP_PROC_KERNEL_MIN_FLT: number
283
+ const GLIBTOP_PROC_KERNEL_NWCHAN: number
284
+ const GLIBTOP_PROC_KERNEL_WCHAN: number
285
+ const GLIBTOP_PROC_MAP_NUMBER: number
286
+ const GLIBTOP_PROC_MAP_SIZE: number
287
+ const GLIBTOP_PROC_MAP_TOTAL: number
288
+ const GLIBTOP_PROC_MEM_RESIDENT: number
289
+ const GLIBTOP_PROC_MEM_RSS: number
290
+ const GLIBTOP_PROC_MEM_RSS_RLIM: number
291
+ const GLIBTOP_PROC_MEM_SHARE: number
292
+ const GLIBTOP_PROC_MEM_SIZE: number
293
+ const GLIBTOP_PROC_MEM_VSIZE: number
294
+ const GLIBTOP_PROC_OPEN_FILES_NUMBER: number
295
+ const GLIBTOP_PROC_OPEN_FILES_SIZE: number
296
+ const GLIBTOP_PROC_OPEN_FILES_TOTAL: number
297
+ const GLIBTOP_PROC_SEGMENT_DATA_RSS: number
298
+ const GLIBTOP_PROC_SEGMENT_DIRTY_SIZE: number
299
+ const GLIBTOP_PROC_SEGMENT_END_CODE: number
300
+ const GLIBTOP_PROC_SEGMENT_SHLIB_RSS: number
301
+ const GLIBTOP_PROC_SEGMENT_STACK_RSS: number
302
+ const GLIBTOP_PROC_SEGMENT_START_CODE: number
303
+ const GLIBTOP_PROC_SEGMENT_START_STACK: number
304
+ const GLIBTOP_PROC_SEGMENT_TEXT_RSS: number
305
+ const GLIBTOP_PROC_SIGNAL_BLOCKED: number
306
+ const GLIBTOP_PROC_SIGNAL_SIGCATCH: number
307
+ const GLIBTOP_PROC_SIGNAL_SIGIGNORE: number
308
+ const GLIBTOP_PROC_SIGNAL_SIGNAL: number
309
+ const GLIBTOP_PROC_STATE_CMD: number
310
+ const GLIBTOP_PROC_STATE_GID: number
311
+ const GLIBTOP_PROC_STATE_HAS_CPU: number
312
+ const GLIBTOP_PROC_STATE_LAST_PROCESSOR: number
313
+ const GLIBTOP_PROC_STATE_PROCESSOR: number
314
+ const GLIBTOP_PROC_STATE_RGID: number
315
+ const GLIBTOP_PROC_STATE_RUID: number
316
+ const GLIBTOP_PROC_STATE_STATE: number
317
+ const GLIBTOP_PROC_STATE_UID: number
318
+ const GLIBTOP_PROC_TIME_CSTIME: number
319
+ const GLIBTOP_PROC_TIME_CUTIME: number
320
+ const GLIBTOP_PROC_TIME_FREQUENCY: number
321
+ const GLIBTOP_PROC_TIME_IT_REAL_VALUE: number
322
+ const GLIBTOP_PROC_TIME_RTIME: number
323
+ const GLIBTOP_PROC_TIME_START_TIME: number
324
+ const GLIBTOP_PROC_TIME_STIME: number
325
+ const GLIBTOP_PROC_TIME_TIMEOUT: number
326
+ const GLIBTOP_PROC_TIME_UTIME: number
327
+ const GLIBTOP_PROC_TIME_XCPU_STIME: number
328
+ const GLIBTOP_PROC_TIME_XCPU_UTIME: number
329
+ const GLIBTOP_PROC_UID_EGID: number
330
+ const GLIBTOP_PROC_UID_EUID: number
331
+ const GLIBTOP_PROC_UID_FSGID: number
332
+ const GLIBTOP_PROC_UID_FSUID: number
333
+ const GLIBTOP_PROC_UID_GID: number
334
+ const GLIBTOP_PROC_UID_GROUPS: number
335
+ const GLIBTOP_PROC_UID_NGROUPS: number
336
+ const GLIBTOP_PROC_UID_NICE: number
337
+ const GLIBTOP_PROC_UID_PGRP: number
338
+ const GLIBTOP_PROC_UID_PID: number
339
+ const GLIBTOP_PROC_UID_PPID: number
340
+ const GLIBTOP_PROC_UID_PRIORITY: number
341
+ const GLIBTOP_PROC_UID_SESSION: number
342
+ const GLIBTOP_PROC_UID_SGID: number
343
+ const GLIBTOP_PROC_UID_SUID: number
344
+ const GLIBTOP_PROC_UID_TPGID: number
345
+ const GLIBTOP_PROC_UID_TTY: number
346
+ const GLIBTOP_PROC_UID_UID: number
347
+ const GLIBTOP_PROC_WD_EXE: number
348
+ const GLIBTOP_PROC_WD_EXE_LEN: number
349
+ const GLIBTOP_PROC_WD_NUMBER: number
350
+ const GLIBTOP_PROC_WD_ROOT: number
351
+ const GLIBTOP_PROC_WD_ROOT_LEN: number
352
+ const GLIBTOP_SWAP_FREE: number
353
+ const GLIBTOP_SWAP_PAGEIN: number
354
+ const GLIBTOP_SWAP_PAGEOUT: number
355
+ const GLIBTOP_SWAP_TOTAL: number
356
+ const GLIBTOP_SWAP_USED: number
357
+ const GLIBTOP_SYSDEPS_ALL: number
358
+ const GLIBTOP_SYSDEPS_CPU: number
359
+ const GLIBTOP_SYSDEPS_DISK: number
360
+ const GLIBTOP_SYSDEPS_FEATURES: number
361
+ const GLIBTOP_SYSDEPS_FSUSAGE: number
362
+ const GLIBTOP_SYSDEPS_LOADAVG: number
363
+ const GLIBTOP_SYSDEPS_MEM: number
364
+ const GLIBTOP_SYSDEPS_MOUNTLIST: number
365
+ const GLIBTOP_SYSDEPS_MSG_LIMITS: number
366
+ const GLIBTOP_SYSDEPS_NETLIST: number
367
+ const GLIBTOP_SYSDEPS_NETLOAD: number
368
+ const GLIBTOP_SYSDEPS_PPP: number
369
+ const GLIBTOP_SYSDEPS_PROCLIST: number
370
+ const GLIBTOP_SYSDEPS_PROC_AFFINITY: number
371
+ const GLIBTOP_SYSDEPS_PROC_ARGS: number
372
+ const GLIBTOP_SYSDEPS_PROC_IO: number
373
+ const GLIBTOP_SYSDEPS_PROC_KERNEL: number
374
+ const GLIBTOP_SYSDEPS_PROC_MAP: number
375
+ const GLIBTOP_SYSDEPS_PROC_MEM: number
376
+ const GLIBTOP_SYSDEPS_PROC_OPEN_FILES: number
377
+ const GLIBTOP_SYSDEPS_PROC_SEGMENT: number
378
+ const GLIBTOP_SYSDEPS_PROC_SIGNAL: number
379
+ const GLIBTOP_SYSDEPS_PROC_STATE: number
380
+ const GLIBTOP_SYSDEPS_PROC_TIME: number
381
+ const GLIBTOP_SYSDEPS_PROC_UID: number
382
+ const GLIBTOP_SYSDEPS_PROC_WD: number
383
+ const GLIBTOP_SYSDEPS_SEM_LIMITS: number
384
+ const GLIBTOP_SYSDEPS_SHM_LIMITS: number
385
+ const GLIBTOP_SYSDEPS_SWAP: number
386
+ const GLIBTOP_SYSDEPS_UPTIME: number
387
+ const GLIBTOP_SYSINFO_CPUINFO: number
388
+ const GLIBTOP_SYSINFO_NCPU: number
389
+ const GLIBTOP_UPTIME_BOOT_TIME: number
390
+ const GLIBTOP_UPTIME_IDLETIME: number
391
+ const GLIBTOP_UPTIME_UPTIME: number
392
+ const GLIBTOP_XCPU_FLAGS: number
393
+ const GLIBTOP_XCPU_IDLE: number
394
+ const GLIBTOP_XCPU_IOWAIT: number
395
+ const GLIBTOP_XCPU_IRQ: number
396
+ const GLIBTOP_XCPU_NICE: number
397
+ const GLIBTOP_XCPU_SOFTIRQ: number
398
+ const GLIBTOP_XCPU_SYS: number
399
+ const GLIBTOP_XCPU_TOTAL: number
400
+ const GLIBTOP_XCPU_USER: number
401
+ const GLIBTOP_XDISK_SECTORS_READ: number
402
+ const GLIBTOP_XDISK_SECTORS_WRITE: number
403
+ const GLIBTOP_XDISK_TIME_READ: number
404
+ const GLIBTOP_XDISK_TIME_WRITE: number
405
+ const HOSTNAMSZ: number
406
+ const LIBGTOP_MAJOR_VERSION: number
407
+ const LIBGTOP_MICRO_VERSION: number
408
+ const LIBGTOP_MINOR_VERSION: number
409
+ const MCOOKIE_NAME: string | null
410
+ const MCOOKIE_SCREEN: string | null
411
+ const MCOOKIE_X_NAME: string | null
412
+ const PATCHLEVEL: number
413
+ const REPLYSIZ: number
414
+ const TABLE_SIZE: number
415
+ const TRUE: number
416
+ function glibtop_close(): void
417
+ function glibtop_get_cpu(buf: glibtop_cpu): void
418
+ function glibtop_get_disk(buf: glibtop_disk): void
419
+ function glibtop_get_fsusage(buf: glibtop_fsusage, mount_dir: string | null): void
420
+ function glibtop_get_loadavg(buf: glibtop_loadavg): void
421
+ function glibtop_get_mem(buf: glibtop_mem): void
422
+ function glibtop_get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
423
+ function glibtop_get_msg_limits(buf: glibtop_msg_limits): void
424
+ function glibtop_get_netlist(buf: glibtop_netlist): string[]
425
+ function glibtop_get_netload(buf: glibtop_netload, interface: string | null): void
426
+ function glibtop_get_ppp(buf: glibtop_ppp, device: number): void
427
+ function glibtop_get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
428
+ function glibtop_get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
429
+ function glibtop_get_proc_argv(buf: glibtop_proc_args, pid: number, max_len: number): string[]
430
+ function glibtop_get_proc_io(buf: glibtop_proc_io, pid: number): void
431
+ function glibtop_get_proc_kernel(buf: glibtop_proc_kernel, pid: number): void
432
+ function glibtop_get_proc_map(buf: glibtop_proc_map, pid: number): glibtop_map_entry[]
433
+ function glibtop_get_proc_mem(buf: glibtop_proc_mem, pid: number): void
434
+ function glibtop_get_proc_open_files(buf: glibtop_proc_open_files, pid: number): glibtop_open_files_entry[]
435
+ function glibtop_get_proc_segment(buf: glibtop_proc_segment, pid: number): void
436
+ function glibtop_get_proc_signal(buf: glibtop_proc_signal, pid: number): void
437
+ function glibtop_get_proc_state(buf: glibtop_proc_state, pid: number): void
438
+ function glibtop_get_proc_time(buf: glibtop_proc_time, pid: number): void
439
+ function glibtop_get_proc_uid(buf: glibtop_proc_uid, pid: number): void
440
+ function glibtop_get_proc_wd(buf: glibtop_proc_wd, pid: number): string[]
441
+ function glibtop_get_proclist(buf: glibtop_proclist, which: number, arg: number): number[]
442
+ function glibtop_get_sem_limits(buf: glibtop_sem_limits): void
443
+ function glibtop_get_shm_limits(buf: glibtop_shm_limits): void
444
+ function glibtop_get_swap(buf: glibtop_swap): void
445
+ function glibtop_get_sysdeps(buf: glibtop_sysdeps): void
446
+ function glibtop_get_sysinfo(): glibtop_sysinfo
447
+ function glibtop_get_uptime(buf: glibtop_uptime): void
448
+ function glibtop_init(): glibtop
449
+ function glibtop_init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
450
+ function glibtop_internet_addr(host: string | null): number
451
+ function glibtop_make_connection(hostarg: string | null, portarg: number, s: number): number
452
+ interface glibtop {
453
+
454
+ // Own fields of GTop-2.0.GTop.glibtop
455
+
456
+ flags: number
457
+ method: number
458
+ error_method: number
459
+ input: number[]
460
+ output: number[]
461
+ socket: number
462
+ ncpu: number
463
+ real_ncpu: number
464
+ os_version_code: number
465
+ name: string | null
466
+ server_command: string | null
467
+ server_host: string | null
468
+ server_user: string | null
469
+ server_rsh: string | null
470
+ features: number
471
+ server_port: number
472
+ sysdeps: glibtop_sysdeps
473
+ required: glibtop_sysdeps
474
+ pid: number
475
+ uid: number
476
+ euid: number
477
+ gid: number
478
+ egid: number
479
+ machine: glibtop_machine
480
+ ndisk: number
481
+ real_ndisk: number
482
+
483
+ // Owm methods of GTop-2.0.GTop.glibtop
484
+
485
+ call_l(command: number, send_size: number, send_buf: any | null, recv_size: number, recv_buf: any | null): any | null
486
+ call_s(command: number, send_size: number, send_buf: any | null, recv_size: number, recv_buf: any | null): any | null
487
+ close_p(): void
488
+ close_r(): void
489
+ close_s(): void
490
+ get_cpu_l(buf: glibtop_cpu): void
491
+ get_cpu_s(buf: glibtop_cpu): void
492
+ get_disk_l(buf: glibtop_disk): void
493
+ get_disk_s(buf: glibtop_disk): void
494
+ get_fsusage_l(buf: glibtop_fsusage, mount_dir: string | null): void
495
+ get_fsusage_s(buf: glibtop_fsusage, mount_dir: string | null): void
496
+ get_loadavg_l(buf: glibtop_loadavg): void
497
+ get_loadavg_s(buf: glibtop_loadavg): void
498
+ get_mem_l(buf: glibtop_mem): void
499
+ get_mem_s(buf: glibtop_mem): void
500
+ get_mountlist_l(all_fs: number): [ /* returnType */ glibtop_mountentry[], /* buf */ glibtop_mountlist ]
501
+ get_mountlist_s(all_fs: number): [ /* returnType */ glibtop_mountentry[], /* buf */ glibtop_mountlist ]
502
+ get_msg_limits_l(buf: glibtop_msg_limits): void
503
+ get_msg_limits_s(buf: glibtop_msg_limits): void
504
+ get_netlist_l(buf: glibtop_netlist): string[]
505
+ get_netlist_s(buf: glibtop_netlist): string[]
506
+ get_netload_l(buf: glibtop_netload, interface: string | null): void
507
+ get_netload_s(buf: glibtop_netload, interface: string | null): void
508
+ get_parameter_l(parameter: number, data_ptr: any | null, data_size: number): number
509
+ get_ppp_l(buf: glibtop_ppp, device: number): void
510
+ get_ppp_s(buf: glibtop_ppp, device: number): void
511
+ get_proc_affinity_l(buf: glibtop_proc_affinity, pid: number): number
512
+ get_proc_affinity_s(buf: glibtop_proc_affinity, pid: number): number
513
+ get_proc_args_l(buf: glibtop_proc_args, pid: number, max_len: number): string | null
514
+ get_proc_args_s(buf: glibtop_proc_args, pid: number, max_len: number): string | null
515
+ get_proc_io_l(buf: glibtop_proc_io, pid: number): void
516
+ get_proc_io_s(buf: glibtop_proc_io, pid: number): void
517
+ get_proc_kernel_l(buf: glibtop_proc_kernel, pid: number): void
518
+ get_proc_kernel_s(buf: glibtop_proc_kernel, pid: number): void
519
+ get_proc_map_l(pid: number): [ /* returnType */ glibtop_map_entry[], /* buf */ glibtop_proc_map ]
520
+ get_proc_map_s(pid: number): [ /* returnType */ glibtop_map_entry[], /* buf */ glibtop_proc_map ]
521
+ get_proc_mem_l(buf: glibtop_proc_mem, pid: number): void
522
+ get_proc_mem_s(buf: glibtop_proc_mem, pid: number): void
523
+ get_proc_open_files_l(pid: number): [ /* returnType */ glibtop_open_files_entry[], /* buf */ glibtop_proc_open_files ]
524
+ get_proc_open_files_s(buf: glibtop_proc_open_files, pid: number): glibtop_open_files_entry
525
+ get_proc_segment_l(buf: glibtop_proc_segment, pid: number): void
526
+ get_proc_segment_s(buf: glibtop_proc_segment, pid: number): void
527
+ get_proc_signal_l(buf: glibtop_proc_signal, pid: number): void
528
+ get_proc_signal_s(buf: glibtop_proc_signal, pid: number): void
529
+ get_proc_state_l(buf: glibtop_proc_state, pid: number): void
530
+ get_proc_state_s(buf: glibtop_proc_state, pid: number): void
531
+ get_proc_time_l(buf: glibtop_proc_time, pid: number): void
532
+ get_proc_time_s(buf: glibtop_proc_time, pid: number): void
533
+ get_proc_uid_l(buf: glibtop_proc_uid, pid: number): void
534
+ get_proc_uid_s(buf: glibtop_proc_uid, pid: number): void
535
+ get_proclist_l(buf: glibtop_proclist, which: number, arg: number): number[]
536
+ get_proclist_s(buf: glibtop_proclist, which: number, arg: number): number[]
537
+ get_sem_limits_l(buf: glibtop_sem_limits): void
538
+ get_sem_limits_s(buf: glibtop_sem_limits): void
539
+ get_shm_limits_l(buf: glibtop_shm_limits): void
540
+ get_shm_limits_s(buf: glibtop_shm_limits): void
541
+ get_swap_l(buf: glibtop_swap): void
542
+ get_swap_s(buf: glibtop_swap): void
543
+ get_sysdeps_r(buf: glibtop_sysdeps): void
544
+ get_sysinfo_s(): glibtop_sysinfo
545
+ get_uptime_l(buf: glibtop_uptime): void
546
+ get_uptime_s(buf: glibtop_uptime): void
547
+ init_p(features: number, flags: number): void
548
+ open_l(program_name: string | null, features: number, flags: number): void
549
+ open_p(program_name: string | null, features: number, flags: number): void
550
+ open_s(program_name: string | null, features: number, flags: number): void
551
+ set_parameter_l(parameter: number, data_ptr: any | null, data_size: number): void
552
+ }
553
+
554
+ class glibtop {
555
+
556
+ // Own properties of GTop-2.0.GTop.glibtop
557
+
558
+ static name: string
559
+
560
+ // Constructors of GTop-2.0.GTop.glibtop
561
+
562
+ static close(): void
563
+ static get_cpu(buf: glibtop_cpu): void
564
+ static get_disk(buf: glibtop_disk): void
565
+ static get_fsusage(buf: glibtop_fsusage, mount_dir: string | null): void
566
+ static get_loadavg(buf: glibtop_loadavg): void
567
+ static get_mem(buf: glibtop_mem): void
568
+ static get_mountlist(buf: glibtop_mountlist, all_fs: number): glibtop_mountentry[]
569
+ static get_msg_limits(buf: glibtop_msg_limits): void
570
+ static get_netlist(buf: glibtop_netlist): string[]
571
+ static get_netload(buf: glibtop_netload, interface: string | null): void
572
+ static get_ppp(buf: glibtop_ppp, device: number): void
573
+ static get_proc_affinity(buf: glibtop_proc_affinity, pid: number): number
574
+ static get_proc_args(buf: glibtop_proc_args, pid: number, max_len: number): string | null
575
+ static get_proc_argv(buf: glibtop_proc_args, pid: number, max_len: number): string[]
576
+ static get_proc_io(buf: glibtop_proc_io, pid: number): void
577
+ static get_proc_kernel(buf: glibtop_proc_kernel, pid: number): void
578
+ static get_proc_map(buf: glibtop_proc_map, pid: number): glibtop_map_entry[]
579
+ static get_proc_mem(buf: glibtop_proc_mem, pid: number): void
580
+ static get_proc_open_files(buf: glibtop_proc_open_files, pid: number): glibtop_open_files_entry[]
581
+ static get_proc_segment(buf: glibtop_proc_segment, pid: number): void
582
+ static get_proc_signal(buf: glibtop_proc_signal, pid: number): void
583
+ static get_proc_state(buf: glibtop_proc_state, pid: number): void
584
+ static get_proc_time(buf: glibtop_proc_time, pid: number): void
585
+ static get_proc_uid(buf: glibtop_proc_uid, pid: number): void
586
+ static get_proc_wd(buf: glibtop_proc_wd, pid: number): string[]
587
+ static get_proclist(buf: glibtop_proclist, which: number, arg: number): number[]
588
+ static get_sem_limits(buf: glibtop_sem_limits): void
589
+ static get_shm_limits(buf: glibtop_shm_limits): void
590
+ static get_swap(buf: glibtop_swap): void
591
+ static get_sysdeps(buf: glibtop_sysdeps): void
592
+ static get_sysinfo(): glibtop_sysinfo
593
+ static get_uptime(buf: glibtop_uptime): void
594
+ static init(): glibtop
595
+ static init_r(features: number, flags: number): [ /* returnType */ glibtop, /* server_ptr */ glibtop ]
596
+ static internet_addr(host: string | null): number
597
+ static make_connection(hostarg: string | null, portarg: number, s: number): number
598
+ }
599
+
600
+ interface glibtop_command {
601
+
602
+ // Own fields of GTop-2.0.GTop.glibtop_command
603
+
604
+ command: number
605
+ size: number
606
+ data_size: number
607
+ parameter: number[]
608
+ }
609
+
610
+ class glibtop_command {
611
+
612
+ // Own properties of GTop-2.0.GTop.glibtop_command
613
+
614
+ static name: string
615
+ }
616
+
617
+ interface glibtop_cpu {
618
+
619
+ // Own fields of GTop-2.0.GTop.glibtop_cpu
620
+
621
+ flags: number
622
+ total: number
623
+ user: number
624
+ nice: number
625
+ sys: number
626
+ idle: number
627
+ iowait: number
628
+ irq: number
629
+ softirq: number
630
+ frequency: number
631
+ xcpu_total: number[]
632
+ xcpu_user: number[]
633
+ xcpu_nice: number[]
634
+ xcpu_sys: number[]
635
+ xcpu_idle: number[]
636
+ xcpu_iowait: number[]
637
+ xcpu_irq: number[]
638
+ xcpu_softirq: number[]
639
+ xcpu_flags: number
640
+ }
641
+
642
+ class glibtop_cpu {
643
+
644
+ // Own properties of GTop-2.0.GTop.glibtop_cpu
645
+
646
+ static name: string
647
+ }
648
+
649
+ interface glibtop_disk {
650
+
651
+ // Own fields of GTop-2.0.GTop.glibtop_disk
652
+
653
+ flags: number
654
+ xdisk_sectors_read: number[]
655
+ xdisk_time_read: number[]
656
+ xdisk_sectors_write: number[]
657
+ xdisk_time_write: number[]
658
+ xdisk_flags: number
659
+ }
660
+
661
+ class glibtop_disk {
662
+
663
+ // Own properties of GTop-2.0.GTop.glibtop_disk
664
+
665
+ static name: string
666
+ }
667
+
668
+ interface glibtop_entry {
669
+
670
+ // Own fields of GTop-2.0.GTop.glibtop_entry
671
+
672
+ labels: any[]
673
+ values: GLib.HashTable
674
+ descriptions: GLib.HashTable
675
+ }
676
+
677
+ class glibtop_entry {
678
+
679
+ // Own properties of GTop-2.0.GTop.glibtop_entry
680
+
681
+ static name: string
682
+ }
683
+
684
+ interface glibtop_fsusage {
685
+
686
+ // Own fields of GTop-2.0.GTop.glibtop_fsusage
687
+
688
+ flags: number
689
+ blocks: number
690
+ bfree: number
691
+ bavail: number
692
+ files: number
693
+ ffree: number
694
+ block_size: number
695
+ read: number
696
+ write: number
697
+ }
698
+
699
+ class glibtop_fsusage {
700
+
701
+ // Own properties of GTop-2.0.GTop.glibtop_fsusage
702
+
703
+ static name: string
704
+ }
705
+
706
+ interface glibtop_loadavg {
707
+
708
+ // Own fields of GTop-2.0.GTop.glibtop_loadavg
709
+
710
+ flags: number
711
+ loadavg: number[]
712
+ nr_running: number
713
+ nr_tasks: number
714
+ last_pid: number
715
+ }
716
+
717
+ class glibtop_loadavg {
718
+
719
+ // Own properties of GTop-2.0.GTop.glibtop_loadavg
720
+
721
+ static name: string
722
+ }
723
+
724
+ interface glibtop_machine {
725
+ }
726
+
727
+ class glibtop_machine {
728
+
729
+ // Own properties of GTop-2.0.GTop.glibtop_machine
730
+
731
+ static name: string
732
+ }
733
+
734
+ interface glibtop_map_entry {
735
+
736
+ // Own fields of GTop-2.0.GTop.glibtop_map_entry
737
+
738
+ flags: number
739
+ start: number
740
+ end: number
741
+ offset: number
742
+ perm: number
743
+ inode: number
744
+ device: number
745
+ size: number
746
+ rss: number
747
+ shared_clean: number
748
+ shared_dirty: number
749
+ private_clean: number
750
+ private_dirty: number
751
+ pss: number
752
+ swap: number
753
+ filename: number[]
754
+ }
755
+
756
+ class glibtop_map_entry {
757
+
758
+ // Own properties of GTop-2.0.GTop.glibtop_map_entry
759
+
760
+ static name: string
761
+ }
762
+
763
+ interface glibtop_mem {
764
+
765
+ // Own fields of GTop-2.0.GTop.glibtop_mem
766
+
767
+ flags: number
768
+ total: number
769
+ used: number
770
+ free: number
771
+ shared: number
772
+ buffer: number
773
+ cached: number
774
+ user: number
775
+ locked: number
776
+ }
777
+
778
+ class glibtop_mem {
779
+
780
+ // Own properties of GTop-2.0.GTop.glibtop_mem
781
+
782
+ static name: string
783
+ }
784
+
785
+ interface glibtop_mountentry {
786
+
787
+ // Own fields of GTop-2.0.GTop.glibtop_mountentry
788
+
789
+ dev: number
790
+ devname: number[]
791
+ mountdir: number[]
792
+ type: number[]
793
+ }
794
+
795
+ class glibtop_mountentry {
796
+
797
+ // Own properties of GTop-2.0.GTop.glibtop_mountentry
798
+
799
+ static name: string
800
+ }
801
+
802
+ interface glibtop_mountlist {
803
+
804
+ // Own fields of GTop-2.0.GTop.glibtop_mountlist
805
+
806
+ flags: number
807
+ number: number
808
+ total: number
809
+ size: number
810
+ }
811
+
812
+ class glibtop_mountlist {
813
+
814
+ // Own properties of GTop-2.0.GTop.glibtop_mountlist
815
+
816
+ static name: string
817
+ }
818
+
819
+ interface glibtop_msg_limits {
820
+
821
+ // Own fields of GTop-2.0.GTop.glibtop_msg_limits
822
+
823
+ flags: number
824
+ msgpool: number
825
+ msgmap: number
826
+ msgmax: number
827
+ msgmnb: number
828
+ msgmni: number
829
+ msgssz: number
830
+ msgtql: number
831
+ }
832
+
833
+ class glibtop_msg_limits {
834
+
835
+ // Own properties of GTop-2.0.GTop.glibtop_msg_limits
836
+
837
+ static name: string
838
+ }
839
+
840
+ interface glibtop_netlist {
841
+
842
+ // Own fields of GTop-2.0.GTop.glibtop_netlist
843
+
844
+ flags: number
845
+ /**
846
+ * Number of entries in the returned list.
847
+ * @field
848
+ */
849
+ number: number
850
+ }
851
+
852
+ class glibtop_netlist {
853
+
854
+ // Own properties of GTop-2.0.GTop.glibtop_netlist
855
+
856
+ static name: string
857
+ }
858
+
859
+ interface glibtop_netload {
860
+
861
+ // Own fields of GTop-2.0.GTop.glibtop_netload
862
+
863
+ flags: number
864
+ if_flags: number
865
+ mtu: number
866
+ subnet: number
867
+ address: number
868
+ packets_in: number
869
+ packets_out: number
870
+ packets_total: number
871
+ bytes_in: number
872
+ bytes_out: number
873
+ bytes_total: number
874
+ errors_in: number
875
+ errors_out: number
876
+ errors_total: number
877
+ collisions: number
878
+ address6: Uint8Array
879
+ prefix6: Uint8Array
880
+ scope6: number
881
+ hwaddress: Uint8Array
882
+ }
883
+
884
+ class glibtop_netload {
885
+
886
+ // Own properties of GTop-2.0.GTop.glibtop_netload
887
+
888
+ static name: string
889
+ }
890
+
891
+ interface glibtop_open_files_entry {
892
+
893
+ // Own fields of GTop-2.0.GTop.glibtop_open_files_entry
894
+
895
+ fd: number
896
+ type: number
897
+ }
898
+
899
+ class glibtop_open_files_entry {
900
+
901
+ // Own properties of GTop-2.0.GTop.glibtop_open_files_entry
902
+
903
+ static name: string
904
+ }
905
+
906
+ interface glibtop_ppp {
907
+
908
+ // Own fields of GTop-2.0.GTop.glibtop_ppp
909
+
910
+ flags: number
911
+ state: number
912
+ bytes_in: number
913
+ bytes_out: number
914
+ }
915
+
916
+ class glibtop_ppp {
917
+
918
+ // Own properties of GTop-2.0.GTop.glibtop_ppp
919
+
920
+ static name: string
921
+ }
922
+
923
+ interface glibtop_proc_affinity {
924
+
925
+ // Own fields of GTop-2.0.GTop.glibtop_proc_affinity
926
+
927
+ flags: number
928
+ number: number
929
+ all: boolean
930
+ }
931
+
932
+ class glibtop_proc_affinity {
933
+
934
+ // Own properties of GTop-2.0.GTop.glibtop_proc_affinity
935
+
936
+ static name: string
937
+ }
938
+
939
+ interface glibtop_proc_args {
940
+
941
+ // Own fields of GTop-2.0.GTop.glibtop_proc_args
942
+
943
+ flags: number
944
+ size: number
945
+ }
946
+
947
+ class glibtop_proc_args {
948
+
949
+ // Own properties of GTop-2.0.GTop.glibtop_proc_args
950
+
951
+ static name: string
952
+ }
953
+
954
+ interface glibtop_proc_io {
955
+
956
+ // Own fields of GTop-2.0.GTop.glibtop_proc_io
957
+
958
+ flags: number
959
+ /**
960
+ * The number of bytes which this task has caused to be read from storage. This
961
+ * is simply the sum of bytes which this process passed to read() and pread(), also including tty IO,
962
+ * and it is unaffected by whether or not actual physical disk IO was required.
963
+ * @field
964
+ */
965
+ disk_rchar: number
966
+ /**
967
+ * The number of bytes which this task has caused, or shall cause to be written
968
+ * to disk. Similar caveats apply here as with rchar.
969
+ * @field
970
+ */
971
+ disk_wchar: number
972
+ /**
973
+ * Attempt to count the number of bytes which this process really did cause to
974
+ * be fetched from the storage layer. Done at the submit_bio() level, so it is
975
+ * accurate for block-backed filesystems.
976
+ * @field
977
+ */
978
+ disk_rbytes: number
979
+ /**
980
+ * Attempt to count the number of bytes which this process caused to be sent to
981
+ * the storage layer. This is done at page-dirtying time.
982
+ * @field
983
+ */
984
+ disk_wbytes: number
985
+ reserved: number[]
986
+ }
987
+
988
+ /**
989
+ * Process disk io data filled by glibtop_get_proc_io().
990
+ * @record
991
+ */
992
+ class glibtop_proc_io {
993
+
994
+ // Own properties of GTop-2.0.GTop.glibtop_proc_io
995
+
996
+ static name: string
997
+ }
998
+
999
+ interface glibtop_proc_kernel {
1000
+
1001
+ // Own fields of GTop-2.0.GTop.glibtop_proc_kernel
1002
+
1003
+ flags: number
1004
+ k_flags: number
1005
+ min_flt: number
1006
+ maj_flt: number
1007
+ cmin_flt: number
1008
+ cmaj_flt: number
1009
+ kstk_esp: number
1010
+ kstk_eip: number
1011
+ nwchan: number
1012
+ wchan: number[]
1013
+ }
1014
+
1015
+ class glibtop_proc_kernel {
1016
+
1017
+ // Own properties of GTop-2.0.GTop.glibtop_proc_kernel
1018
+
1019
+ static name: string
1020
+ }
1021
+
1022
+ interface glibtop_proc_map {
1023
+
1024
+ // Own fields of GTop-2.0.GTop.glibtop_proc_map
1025
+
1026
+ flags: number
1027
+ number: number
1028
+ total: number
1029
+ size: number
1030
+ }
1031
+
1032
+ class glibtop_proc_map {
1033
+
1034
+ // Own properties of GTop-2.0.GTop.glibtop_proc_map
1035
+
1036
+ static name: string
1037
+ }
1038
+
1039
+ interface glibtop_proc_mem {
1040
+
1041
+ // Own fields of GTop-2.0.GTop.glibtop_proc_mem
1042
+
1043
+ flags: number
1044
+ size: number
1045
+ vsize: number
1046
+ resident: number
1047
+ share: number
1048
+ rss: number
1049
+ rss_rlim: number
1050
+ }
1051
+
1052
+ class glibtop_proc_mem {
1053
+
1054
+ // Own properties of GTop-2.0.GTop.glibtop_proc_mem
1055
+
1056
+ static name: string
1057
+ }
1058
+
1059
+ interface glibtop_proc_open_files {
1060
+
1061
+ // Own fields of GTop-2.0.GTop.glibtop_proc_open_files
1062
+
1063
+ flags: number
1064
+ number: number
1065
+ total: number
1066
+ size: number
1067
+ }
1068
+
1069
+ class glibtop_proc_open_files {
1070
+
1071
+ // Own properties of GTop-2.0.GTop.glibtop_proc_open_files
1072
+
1073
+ static name: string
1074
+ }
1075
+
1076
+ interface glibtop_proc_segment {
1077
+
1078
+ // Own fields of GTop-2.0.GTop.glibtop_proc_segment
1079
+
1080
+ flags: number
1081
+ text_rss: number
1082
+ shlib_rss: number
1083
+ data_rss: number
1084
+ stack_rss: number
1085
+ dirty_size: number
1086
+ start_code: number
1087
+ end_code: number
1088
+ start_stack: number
1089
+ }
1090
+
1091
+ class glibtop_proc_segment {
1092
+
1093
+ // Own properties of GTop-2.0.GTop.glibtop_proc_segment
1094
+
1095
+ static name: string
1096
+ }
1097
+
1098
+ interface glibtop_proc_signal {
1099
+
1100
+ // Own fields of GTop-2.0.GTop.glibtop_proc_signal
1101
+
1102
+ flags: number
1103
+ signal: number[]
1104
+ blocked: number[]
1105
+ sigignore: number[]
1106
+ sigcatch: number[]
1107
+ }
1108
+
1109
+ class glibtop_proc_signal {
1110
+
1111
+ // Own properties of GTop-2.0.GTop.glibtop_proc_signal
1112
+
1113
+ static name: string
1114
+ }
1115
+
1116
+ interface glibtop_proc_state {
1117
+
1118
+ // Own fields of GTop-2.0.GTop.glibtop_proc_state
1119
+
1120
+ flags: number
1121
+ cmd: number[]
1122
+ state: number
1123
+ uid: number
1124
+ gid: number
1125
+ ruid: number
1126
+ rgid: number
1127
+ has_cpu: number
1128
+ processor: number
1129
+ last_processor: number
1130
+ }
1131
+
1132
+ class glibtop_proc_state {
1133
+
1134
+ // Own properties of GTop-2.0.GTop.glibtop_proc_state
1135
+
1136
+ static name: string
1137
+ }
1138
+
1139
+ interface glibtop_proc_time {
1140
+
1141
+ // Own fields of GTop-2.0.GTop.glibtop_proc_time
1142
+
1143
+ /**
1144
+ * Start time of process in seconds since the epoch.
1145
+ * @field
1146
+ */
1147
+ start_time: number
1148
+ /**
1149
+ * Real time accumulated by process (should be `utime` + `stime)`.
1150
+ * @field
1151
+ */
1152
+ rtime: number
1153
+ /**
1154
+ * User-mode CPU time accumulated by process.
1155
+ * @field
1156
+ */
1157
+ utime: number
1158
+ /**
1159
+ * Kernel-mode CPU time accumulated by process.
1160
+ * @field
1161
+ */
1162
+ stime: number
1163
+ /**
1164
+ * Cumulative utime of process and reaped children.
1165
+ * @field
1166
+ */
1167
+ cutime: number
1168
+ /**
1169
+ * Cumulative stime of process and reaped children.
1170
+ * @field
1171
+ */
1172
+ cstime: number
1173
+ /**
1174
+ * The time (in jiffies) of the process’s next timeout.
1175
+ * @field
1176
+ */
1177
+ timeout: number
1178
+ /**
1179
+ * The time (in jiffies) before the next <type>SIGALRM</type>
1180
+ * is sent to the process due to an interval timer.
1181
+ * @field
1182
+ */
1183
+ it_real_value: number
1184
+ /**
1185
+ * Tick frequency.
1186
+ * @field
1187
+ */
1188
+ frequency: number
1189
+ /**
1190
+ * SMP user-mode CPU time accumulated by process.
1191
+ * @field
1192
+ */
1193
+ xcpu_utime: number[]
1194
+ /**
1195
+ * SMP kernel-mode CPU time accumulated by process
1196
+ * @field
1197
+ */
1198
+ xcpu_stime: number[]
1199
+ }
1200
+
1201
+ /**
1202
+ * Process time data filled by glibtop_get_proc_time().
1203
+ *
1204
+ * Under Linux the `start_time` value may be wrong due to the information
1205
+ * available from the kernel.
1206
+ *
1207
+ * The Linux kernel defines <type>INITIAL_JIFFIES</type> which implies a time
1208
+ * shift. Because <type>INITIAL_JIFFIES</type> is not user-space defined,
1209
+ * we cannot use it to compute an accurate `start_time`. On Linux 2.6,
1210
+ * <type>INITIAL_JIFFIES</type> is 300 so `start_time` is
1211
+ * always 3s different from the real start time of the given process. You
1212
+ * may also get shift results if your system clock is not synchronised
1213
+ * with your hardware clock. See <command>man hwclock</command>.
1214
+ * @record
1215
+ */
1216
+ class glibtop_proc_time {
1217
+
1218
+ // Own properties of GTop-2.0.GTop.glibtop_proc_time
1219
+
1220
+ static name: string
1221
+ }
1222
+
1223
+ interface glibtop_proc_uid {
1224
+
1225
+ // Own fields of GTop-2.0.GTop.glibtop_proc_uid
1226
+
1227
+ flags: number
1228
+ uid: number
1229
+ euid: number
1230
+ gid: number
1231
+ egid: number
1232
+ suid: number
1233
+ sgid: number
1234
+ fsuid: number
1235
+ fsgid: number
1236
+ pid: number
1237
+ ppid: number
1238
+ pgrp: number
1239
+ session: number
1240
+ tty: number
1241
+ tpgid: number
1242
+ priority: number
1243
+ nice: number
1244
+ ngroups: number
1245
+ groups: number[]
1246
+ }
1247
+
1248
+ class glibtop_proc_uid {
1249
+
1250
+ // Own properties of GTop-2.0.GTop.glibtop_proc_uid
1251
+
1252
+ static name: string
1253
+ }
1254
+
1255
+ interface glibtop_proc_wd {
1256
+
1257
+ // Own fields of GTop-2.0.GTop.glibtop_proc_wd
1258
+
1259
+ flags: number
1260
+ number: number
1261
+ root: number[]
1262
+ exe: number[]
1263
+ }
1264
+
1265
+ class glibtop_proc_wd {
1266
+
1267
+ // Own properties of GTop-2.0.GTop.glibtop_proc_wd
1268
+
1269
+ static name: string
1270
+ }
1271
+
1272
+ interface glibtop_proclist {
1273
+
1274
+ // Own fields of GTop-2.0.GTop.glibtop_proclist
1275
+
1276
+ flags: number
1277
+ /**
1278
+ * Number of entries in the returned list.
1279
+ * @field
1280
+ */
1281
+ number: number
1282
+ /**
1283
+ * Total size of the returned list (this equals `number` * `size)`.
1284
+ * @field
1285
+ */
1286
+ total: number
1287
+ /**
1288
+ * Size of a single entry in the returned list
1289
+ * (this equals <type>sizeof(unsigned)</type>).
1290
+ * @field
1291
+ */
1292
+ size: number
1293
+ }
1294
+
1295
+ class glibtop_proclist {
1296
+
1297
+ // Own properties of GTop-2.0.GTop.glibtop_proclist
1298
+
1299
+ static name: string
1300
+ }
1301
+
1302
+ interface glibtop_response {
1303
+
1304
+ // Own fields of GTop-2.0.GTop.glibtop_response
1305
+
1306
+ offset: number
1307
+ size: number
1308
+ data_size: number
1309
+ u: glibtop_response_union
1310
+ }
1311
+
1312
+ class glibtop_response {
1313
+
1314
+ // Own properties of GTop-2.0.GTop.glibtop_response
1315
+
1316
+ static name: string
1317
+ }
1318
+
1319
+ interface glibtop_sem_limits {
1320
+
1321
+ // Own fields of GTop-2.0.GTop.glibtop_sem_limits
1322
+
1323
+ flags: number
1324
+ semmap: number
1325
+ semmni: number
1326
+ semmns: number
1327
+ semmnu: number
1328
+ semmsl: number
1329
+ semopm: number
1330
+ semume: number
1331
+ semusz: number
1332
+ semvmx: number
1333
+ semaem: number
1334
+ }
1335
+
1336
+ class glibtop_sem_limits {
1337
+
1338
+ // Own properties of GTop-2.0.GTop.glibtop_sem_limits
1339
+
1340
+ static name: string
1341
+ }
1342
+
1343
+ interface glibtop_shm_limits {
1344
+
1345
+ // Own fields of GTop-2.0.GTop.glibtop_shm_limits
1346
+
1347
+ flags: number
1348
+ shmmax: number
1349
+ shmmin: number
1350
+ shmmni: number
1351
+ shmseg: number
1352
+ shmall: number
1353
+ }
1354
+
1355
+ class glibtop_shm_limits {
1356
+
1357
+ // Own properties of GTop-2.0.GTop.glibtop_shm_limits
1358
+
1359
+ static name: string
1360
+ }
1361
+
1362
+ interface glibtop_signame {
1363
+
1364
+ // Own fields of GTop-2.0.GTop.glibtop_signame
1365
+
1366
+ number: number
1367
+ name: string | null
1368
+ label: string | null
1369
+ }
1370
+
1371
+ class glibtop_signame {
1372
+
1373
+ // Own properties of GTop-2.0.GTop.glibtop_signame
1374
+
1375
+ static name: string
1376
+ }
1377
+
1378
+ interface glibtop_swap {
1379
+
1380
+ // Own fields of GTop-2.0.GTop.glibtop_swap
1381
+
1382
+ flags: number
1383
+ total: number
1384
+ used: number
1385
+ free: number
1386
+ pagein: number
1387
+ pageout: number
1388
+ }
1389
+
1390
+ class glibtop_swap {
1391
+
1392
+ // Own properties of GTop-2.0.GTop.glibtop_swap
1393
+
1394
+ static name: string
1395
+ }
1396
+
1397
+ interface glibtop_sysdeps {
1398
+
1399
+ // Own fields of GTop-2.0.GTop.glibtop_sysdeps
1400
+
1401
+ flags: number
1402
+ features: number
1403
+ cpu: number
1404
+ mem: number
1405
+ swap: number
1406
+ uptime: number
1407
+ loadavg: number
1408
+ shm_limits: number
1409
+ msg_limits: number
1410
+ sem_limits: number
1411
+ proclist: number
1412
+ proc_state: number
1413
+ proc_uid: number
1414
+ proc_mem: number
1415
+ proc_time: number
1416
+ proc_signal: number
1417
+ proc_kernel: number
1418
+ proc_segment: number
1419
+ proc_args: number
1420
+ proc_map: number
1421
+ proc_open_files: number
1422
+ mountlist: number
1423
+ fsusage: number
1424
+ netlist: number
1425
+ netload: number
1426
+ ppp: number
1427
+ proc_wd: number
1428
+ proc_affinity: number
1429
+ proc_io: number
1430
+ disk: number
1431
+ reserved1: number
1432
+ reserved2: number
1433
+ reserved3: number
1434
+ reserved4: number
1435
+ reserved5: number
1436
+ reserved6: number
1437
+ reserved7: number
1438
+ }
1439
+
1440
+ class glibtop_sysdeps {
1441
+
1442
+ // Own properties of GTop-2.0.GTop.glibtop_sysdeps
1443
+
1444
+ static name: string
1445
+ }
1446
+
1447
+ interface glibtop_sysinfo {
1448
+
1449
+ // Own fields of GTop-2.0.GTop.glibtop_sysinfo
1450
+
1451
+ flags: number
1452
+ ncpu: number
1453
+ cpuinfo: glibtop_entry[]
1454
+ }
1455
+
1456
+ class glibtop_sysinfo {
1457
+
1458
+ // Own properties of GTop-2.0.GTop.glibtop_sysinfo
1459
+
1460
+ static name: string
1461
+ }
1462
+
1463
+ interface glibtop_uptime {
1464
+
1465
+ // Own fields of GTop-2.0.GTop.glibtop_uptime
1466
+
1467
+ flags: number
1468
+ uptime: number
1469
+ idletime: number
1470
+ boot_time: number
1471
+ }
1472
+
1473
+ class glibtop_uptime {
1474
+
1475
+ // Own properties of GTop-2.0.GTop.glibtop_uptime
1476
+
1477
+ static name: string
1478
+ }
1479
+
1480
+ interface partition_info {
1481
+
1482
+ // Own fields of GTop-2.0.GTop.partition_info
1483
+
1484
+ name: number[]
1485
+ type: number[]
1486
+ raid_num: number[]
1487
+ max: number
1488
+ }
1489
+
1490
+ class partition_info {
1491
+
1492
+ // Own properties of GTop-2.0.GTop.partition_info
1493
+
1494
+ static name: string
1495
+ }
1496
+
1497
+ interface glibtop_response_union {
1498
+
1499
+ // Own fields of GTop-2.0.GTop.glibtop_response_union
1500
+
1501
+ data: glibtop_union
1502
+ sysdeps: glibtop_sysdeps
1503
+ }
1504
+
1505
+ class glibtop_response_union {
1506
+
1507
+ // Own properties of GTop-2.0.GTop.glibtop_response_union
1508
+
1509
+ static name: string
1510
+ }
1511
+
1512
+ interface glibtop_union {
1513
+
1514
+ // Own fields of GTop-2.0.GTop.glibtop_union
1515
+
1516
+ cpu: glibtop_cpu
1517
+ disk: glibtop_disk
1518
+ mem: glibtop_mem
1519
+ swap: glibtop_swap
1520
+ uptime: glibtop_uptime
1521
+ loadavg: glibtop_loadavg
1522
+ shm_limits: glibtop_shm_limits
1523
+ msg_limits: glibtop_msg_limits
1524
+ sem_limits: glibtop_sem_limits
1525
+ proclist: glibtop_proclist
1526
+ proc_state: glibtop_proc_state
1527
+ proc_uid: glibtop_proc_uid
1528
+ proc_mem: glibtop_proc_mem
1529
+ proc_time: glibtop_proc_time
1530
+ proc_signal: glibtop_proc_signal
1531
+ proc_kernel: glibtop_proc_kernel
1532
+ proc_segment: glibtop_proc_segment
1533
+ proc_args: glibtop_proc_args
1534
+ proc_map: glibtop_proc_map
1535
+ mountlist: glibtop_mountlist
1536
+ fsusage: glibtop_fsusage
1537
+ netlist: glibtop_netlist
1538
+ netload: glibtop_netload
1539
+ ppp: glibtop_ppp
1540
+ proc_open_files: glibtop_proc_open_files
1541
+ proc_wd: glibtop_proc_wd
1542
+ proc_affinity: glibtop_proc_affinity
1543
+ proc_io: glibtop_proc_io
1544
+ }
1545
+
1546
+ class glibtop_union {
1547
+
1548
+ // Own properties of GTop-2.0.GTop.glibtop_union
1549
+
1550
+ static name: string
1551
+ }
1552
+
1553
+ /**
1554
+ * Name of the imported GIR library
1555
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
1556
+ */
1557
+ const __name__: string
1558
+ /**
1559
+ * Version of the imported GIR library
1560
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
1561
+ */
1562
+ const __version__: string
1563
+ }
1564
+
1565
+ export default GTop;
1566
+ // END