X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fdebian%2Fftpstats.R;h=684dbed154f45236e6244ecc8ec97bf3ae6be583;hb=13719603e2224ccebedeec872ea98872f6bfdb0a;hp=e5ace927930f88158ebc42b97d43d2c9d38da271;hpb=4e69ef3ff83607cf48ef06d43409392e3b97475c;p=dak.git diff --git a/scripts/debian/ftpstats.R b/scripts/debian/ftpstats.R index e5ace927..684dbed1 100644 --- a/scripts/debian/ftpstats.R +++ b/scripts/debian/ftpstats.R @@ -1,6 +1,6 @@ -arch <- c("source", "all", "amd64", "i386", "alpha", "arm", "armel", "armhf", "hppa", "hurd-i386", "ia64", - "kfreebsd-amd64", "kfreebsd-i386", "mips", "mipsel", "powerpc", "s390", "s390x", "sparc") -palette(c("midnightblue", "gold", "turquoise", "cyan", "black", "red", "OrangeRed", "green3", "blue", "magenta", +arch <- c("source", "all", "amd64", "arm64", "i386", "alpha", "arm", "armel", "armhf", "hppa", "hurd-i386", "ia64", + "kfreebsd-amd64", "kfreebsd-i386", "mips", "mipsel", "powerpc", "ppc64el", "s390", "s390x", "sparc") +palette(c("midnightblue", "gold", "turquoise", "pink", "cyan", "black", "red", "OrangeRed", "green3", "blue", "magenta", "cornsilk3", "darkolivegreen3", "tomato4", "violetred2","thistle4", "steelblue2", "springgreen4", "salmon","gray")) cname <- c("date",arch) @@ -9,7 +9,7 @@ plotsize <- function(file,title,p,height=11.8,width=16.9) { barplot(t(p),col = 1:19, main=title, xlab="date", ylab="size (MiB)") legend(par("usr")[1]+xinch(5),par("usr")[4]-yinch(0.1),legend=colnames(t), - ncol=3,fill=1:19,xjust=1,yjust=1) + ncol=2,fill=1:19,xjust=1,yjust=1) } t <- (read.table("/srv/ftp-master.debian.org/misc/ftpstats.data",sep=",",header=0,row.names=1,col.names=cname))/1024/1024 v <- t[(length(t$all)-90):(length(t$all)),1:19]