Iptraf – removing a dead iptraf session
I was running iptraf via ssh on my box when the connection soured on me. After logging back in, running iptraf to do a detailed monitoring of ppp0 device, I got an error message saying “Detailed interface stats already monitoring ppp0″.
Running ps aux, reveals that no iptraf process is currently running. After thinking about it for a while, I started looking for a lock file. I found it under /var/run/iptraf directory, iptraf-detstat.tag.ppp0. Removing the lock file enabled iptraf to start monitoring ppp0 again.
