Sudev Barar <sba...@...> writes:

> Problem: the number of of netcat process started run in excess of
> 84000 (a process a second) so the counter simply restarts. So I guess
> it is script modification to add/update counter to a file and then
> read it/reset it.
> 
> This will add number of steps
> read file value
> increment
> write file
 

inotify could monitor how often nc is opened for you, saving you some work. You
may want to use it with incron.

PJ (gmane dot to dot peejay at spamgourmet dot com)


_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to