Prototype d'analyseur de log nfcapd, pour un reporting quotidien, et détermination de saturations sur les liens IP.

plotgnu.sh 486B

123456789101112
  1. #!/usr/bin/gnuplot
  2. reset
  3. #set title ""
  4. set terminal png size 21600,2880
  5. set grid
  6. set xrange [ 1 : 86400 ]
  7. set xtics ( "1h" 3600, "2h" 7200, "3h" 10800, "4h" 14400, "5h" 18000, "6h" 21600, "7h" 25200, "8h" 28800, "9h" 32400, "10h" 36000, "11h" 39600, "12h" 43200, "13h" 46800, "14h" 50400, "15h" 54000, "16h" 57600, "17h" 61200, "18h" 64800, "19h" 68400, "20h" 72000, "21h" 75600, "22h" 79200, "23h" 82800, "24h" 86400 )
  8. plot "/tmp/toplot.csv" using 1 with boxes lc rgb "blueviolet"