1GTop(3)               User Contributed Perl Documentation              GTop(3)
2
3
4

NAME

6       GTop - Perl interface to libgtop
7

SYNOPSIS

9        use GTop ();
10        my $gtop = GTop->new;
11

DESCRIPTION

13       Perl interface to libgtop:
14
15        http://ftp.gnome.org/pub/gnome/sources/libgtop/
16

CLASSES

18       GTop::Cpu
19
20           my $cpu = $gtop->cpu;
21
22       flags
23               my $flags = $cpu->flags;
24
25       total
26               my $total = $cpu->total;
27
28       user
29               my $user = $cpu->user;
30
31       nice
32               my $nice = $cpu->nice;
33
34       sys
35               my $sys = $cpu->sys;
36
37       idle
38               my $idle = $cpu->idle;
39
40       frequency
41               my $frequency = $cpu->frequency;
42
43       GTop::Fsusage
44
45           my $fsusage = $gtop->fsusage($disk);
46
47       flags
48               my $flags = $fsusage->flags;
49
50       blocks
51               my $blocks = $fsusage->blocks;
52
53       bfree
54               my $bfree = $fsusage->bfree;
55
56       bavail
57               my $bavail = $fsusage->bavail;
58
59       files
60               my $files = $fsusage->files;
61
62       ffree
63               my $ffree = $fsusage->ffree;
64
65       GTop::Loadavg
66
67           my $loadavg = $gtop->loadavg;
68
69       flags
70               my $flags = $loadavg->flags;
71
72       nr_running
73               my $nr_running = $loadavg->nr_running;
74
75       nr_tasks
76               my $nr_tasks = $loadavg->nr_tasks;
77
78       last_pid
79               my $last_pid = $loadavg->last_pid;
80
81       GTop::Mem
82
83           my $mem = $gtop->mem;
84
85       flags
86               my $flags = $mem->flags;
87
88       total
89               my $total = $mem->total;
90
91       used
92               my $used = $mem->used;
93
94       free
95               my $free = $mem->free;
96
97       shared
98               my $shared = $mem->shared;
99
100       buffer
101               my $buffer = $mem->buffer;
102
103       cached
104               my $cached = $mem->cached;
105
106       user
107               my $user = $mem->user;
108
109       locked
110               my $locked = $mem->locked;
111
112       GTop::Mountlist
113
114           my $mountlist = $gtop->mountlist($all_fs);
115
116       flags
117               my $flags = $mountlist->flags;
118
119       number
120               my $number = $mountlist->number;
121
122       total
123               my $total = $mountlist->total;
124
125       size
126               my $size = $mountlist->size;
127
128       GTop::Netload
129
130           my $netload = $gtop->netload($interface);
131
132       flags
133               my $flags = $netload->flags;
134
135       if_flags
136               my $if_flags = $netload->if_flags;
137
138       mtu
139               my $mtu = $netload->mtu;
140
141       subnet
142               my $subnet = $netload->subnet;
143
144       address
145               my $address = $netload->address;
146
147       packets_in
148               my $packets_in = $netload->packets_in;
149
150       packets_out
151               my $packets_out = $netload->packets_out;
152
153       packets_total
154               my $packets_total = $netload->packets_total;
155
156       bytes_in
157               my $bytes_in = $netload->bytes_in;
158
159       bytes_out
160               my $bytes_out = $netload->bytes_out;
161
162       bytes_total
163               my $bytes_total = $netload->bytes_total;
164
165       errors_in
166               my $errors_in = $netload->errors_in;
167
168       errors_out
169               my $errors_out = $netload->errors_out;
170
171       errors_total
172               my $errors_total = $netload->errors_total;
173
174       collisions
175               my $collisions = $netload->collisions;
176
177       GTop::ProcArgs
178
179           my $proc_args = $gtop->proc_args($pid);
180
181       flags
182               my $flags = $proc_args->flags;
183
184       size
185               my $size = $proc_args->size;
186
187       GTop::ProcMap
188
189           my $proc_map = $gtop->proc_map($pid);
190
191       flags
192               my $flags = $proc_map->flags;
193
194       number
195               my $number = $proc_map->number;
196
197       total
198               my $total = $proc_map->total;
199
200       size
201               my $size = $proc_map->size;
202
203       GTop::ProcMem
204
205           my $proc_mem = $gtop->proc_mem($pid);
206
207       flags
208               my $flags = $proc_mem->flags;
209
210       size
211               my $size = $proc_mem->size;
212
213       vsize
214               my $vsize = $proc_mem->vsize;
215
216       resident
217               my $resident = $proc_mem->resident;
218
219       share
220               my $share = $proc_mem->share;
221
222       rss
223               my $rss = $proc_mem->rss;
224
225       rss_rlim
226               my $rss_rlim = $proc_mem->rss_rlim;
227
228       GTop::ProcSegment
229
230           my $proc_segment = $gtop->proc_segment($pid);
231
232       flags
233               my $flags = $proc_segment->flags;
234
235       text_rss
236               my $text_rss = $proc_segment->text_rss;
237
238       shlib_rss
239               my $shlib_rss = $proc_segment->shlib_rss;
240
241       data_rss
242               my $data_rss = $proc_segment->data_rss;
243
244       stack_rss
245               my $stack_rss = $proc_segment->stack_rss;
246
247       dirty_size
248               my $dirty_size = $proc_segment->dirty_size;
249
250       start_code
251               my $start_code = $proc_segment->start_code;
252
253       end_code
254               my $end_code = $proc_segment->end_code;
255
256       start_stack
257               my $start_stack = $proc_segment->start_stack;
258
259       GTop::ProcState
260
261           my $proc_state = $gtop->proc_state($pid);
262
263       flags
264               my $flags = $proc_state->flags;
265
266       GTop::ProcTime
267
268           my $proc_time = $gtop->proc_time($pid);
269
270       flags
271               my $flags = $proc_time->flags;
272
273       start_time
274               my $start_time = $proc_time->start_time;
275
276       rtime
277               my $rtime = $proc_time->rtime;
278
279       utime
280               my $utime = $proc_time->utime;
281
282       stime
283               my $stime = $proc_time->stime;
284
285       cutime
286               my $cutime = $proc_time->cutime;
287
288       cstime
289               my $cstime = $proc_time->cstime;
290
291       timeout
292               my $timeout = $proc_time->timeout;
293
294       it_real_value
295               my $it_real_value = $proc_time->it_real_value;
296
297       frequency
298               my $frequency = $proc_time->frequency;
299
300       GTop::ProcUid
301
302           my $proc_uid = $gtop->proc_uid($pid);
303
304       flags
305               my $flags = $proc_uid->flags;
306
307       uid
308               my $uid = $proc_uid->uid;
309
310       euid
311               my $euid = $proc_uid->euid;
312
313       gid
314               my $gid = $proc_uid->gid;
315
316       egid
317               my $egid = $proc_uid->egid;
318
319       pid
320               my $pid = $proc_uid->pid;
321
322       ppid
323               my $ppid = $proc_uid->ppid;
324
325       pgrp
326               my $pgrp = $proc_uid->pgrp;
327
328       session
329               my $session = $proc_uid->session;
330
331       tty
332               my $tty = $proc_uid->tty;
333
334       tpgid
335               my $tpgid = $proc_uid->tpgid;
336
337       priority
338               my $priority = $proc_uid->priority;
339
340       nice
341               my $nice = $proc_uid->nice;
342
343       GTop::Proclist
344
345           my $proclist = $gtop->proclist;
346
347       flags
348               my $flags = $proclist->flags;
349
350       number
351               my $number = $proclist->number;
352
353       total
354               my $total = $proclist->total;
355
356       size
357               my $size = $proclist->size;
358
359       GTop::Swap
360
361           my $swap = $gtop->swap;
362
363       flags
364               my $flags = $swap->flags;
365
366       total
367               my $total = $swap->total;
368
369       used
370               my $used = $swap->used;
371
372       free
373               my $free = $swap->free;
374
375       pagein
376               my $pagein = $swap->pagein;
377
378       pageout
379               my $pageout = $swap->pageout;
380
381       GTop::Uptime
382
383           my $uptime = $gtop->uptime;
384
385       flags
386               my $flags = $uptime->flags;
387

AUTHOR

389       Doug MacEachern wrote the original version.
390
391       Currently it's maintained by Stas Bekman <stas@stason.org>.
392
393
394
395perl v5.8.8                       2007-04-30                           GTop(3)
Impressum