1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-03 06:38:24 +00:00

Extract tarballs committed to git as plugins.

This commit is contained in:
Diego Elio Pettenò 2012-08-06 22:16:31 -07:00
parent 2dad4c6f70
commit 038c3ce96b
15 changed files with 352 additions and 0 deletions

View file

@ -0,0 +1,10 @@
BEGIN { FIELDWIDTHS = "7 4 13 10 7 9 7 13 40" }
NR > 1 {
split($1,torrentid," ")
if(torrentid[1] != "Sum:") {
split($7,ratio," ")
ratio[1] = ratio[1] * 100
print "ID" torrentid[1] ".value " ratio[1]
}
}