#!/bin/rc
# usage: cat /sys/log/spf/debug | spfdistrib 
# the grep thing is to select the new lof format:
# date <tab> command <tab> status
grep 'CET' | awk '{  
						split($4,a,":"); 
						hour[a[1]]++;
					} END { 
						for(i=0;i<24;i++) { 
							if ( i< 10) { 
								k="0" i; 
							}  else { 
								k="" i;
							} 
							print i " " hour[k];
						} 
					}' | gview

