|
which script is best for the job
hi all,
was wondering which scripting language would be best for the following task :
have got about 20 application servers which get assigned port numbers from a known range (2750 - 2770). when a server is assigned a port from the given range it gets written to the log file for that server e.g for server1.log this would be written out "port:2750".
i wanted a script which would search each servers log file, grep the port and count the number of connections established on that port (by using netstat).
many thanks in advance.
|