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