mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
18 lines
416 B
Awk
18 lines
416 B
Awk
|
BEGIN { COUNT = 1
|
||
|
if (TYPE == "") TYPE = "vms";
|
||
|
}
|
||
|
|
||
|
/^[0-9]/ { if (TYPE == "vms") print COUNT, $1;
|
||
|
else if (TYPE == "vmd") print COUNT, $4;
|
||
|
else if (TYPE == "vmx") print COUNT, $2 + $3;
|
||
|
else if (TYPE == "rss") print COUNT, $6;
|
||
|
|
||
|
COUNT = COUNT + 1;
|
||
|
}
|
||
|
|
||
|
/^ / { print COUNT, "0";
|
||
|
COUNT = COUNT + 1; \
|
||
|
}
|
||
|
|
||
|
|