aboutsummaryrefslogtreecommitdiff
path: root/reference/proc.pd
blob: 65411ae409e82d40f8a218e5480e77161109a945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#N canvas 179 113 717 546 10;
#X obj 151 118 proc;
#X text 96 15 interface to the linux proc filesystem;
#X msg 88 80 cpuinfo;
#X obj 27 281 unpack f f f;
#X floatatom 25 304 5 0 0;
#X floatatom 67 305 5 0 0;
#X floatatom 109 304 5 0 0;
#X text 37 254 cpu-id \, cpu-mhz \, bogomips;
#X obj 151 147 print proc_raw;
#X msg 151 94 proc \$1;
#X obj 151 71 symbol;
#X msg 123 38 cpuinfo;
#X msg 183 38 uptime;
#X msg 351 38 stat;
#X msg 389 38 blubb;
#X obj 242 276 unpack f f;
#X text 241 255 uptime in s \, idle-time in s;
#X floatatom 241 301 5 0 0;
#X floatatom 302 305 5 0 0;
#X msg 237 38 loadavg;
#X msg 297 39 version;
#X obj 174 349 unpack f f f f f f;
#X floatatom 172 373 5 0 0;
#X floatatom 187 397 5 0 0;
#X floatatom 220 373 5 0 0;
#X floatatom 238 397 5 0 0;
#X floatatom 271 372 5 0 0;
#X floatatom 289 396 5 0 0;
#X text 315 345 apparently the loadavg format is something liek this
;
#X text 318 359 my manpage seems outdated ...;
#X text 330 379 1: number of jobs in the run queue (1');
#X text 340 394 2: numofjobs in R qu (5');
#X text 348 411 3: numofjobs in R qu (15');
#X text 339 425 4: num of procs waiting for disk io?;
#X text 339 452 6: num of processes ever total;
#X text 339 438 5: num of processes now total;
#X obj 27 234 route cpuinfo uptime loadavg version stat;
#X obj 458 241 unpack f f f;
#X floatatom 458 267 5 0 0;
#X floatatom 484 293 5 0 0;
#X floatatom 516 266 5 0 0;
#X text 462 215 uname -r;
#X text 307 82 really useless stuff but maybe good for estimating number
of voices in self-generating patches;
#X connect 0 0 8 0;
#X connect 0 0 36 0;
#X connect 2 0 0 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 3 2 6 0;
#X connect 9 0 0 0;
#X connect 10 0 9 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 13 0 10 0;
#X connect 14 0 10 0;
#X connect 15 0 17 0;
#X connect 15 1 18 0;
#X connect 19 0 10 0;
#X connect 20 0 10 0;
#X connect 21 0 22 0;
#X connect 21 1 23 0;
#X connect 21 2 24 0;
#X connect 21 3 25 0;
#X connect 21 4 26 0;
#X connect 21 5 27 0;
#X connect 36 0 3 0;
#X connect 36 1 15 0;
#X connect 36 2 21 0;
#X connect 36 3 37 0;
#X connect 37 0 38 0;
#X connect 37 1 39 0;
#X connect 37 2 40 0;