I have created a Perl script to find out number of Total/Active/Current users in database. I provide a file which contains a list of databases as an input argument (perl_script -i <filename>)
After querying every database i print out result to a file in a tabular format.
The complete script takes around 2-3 hrs to run depending on the database usage. Currently script runs 1 by 1 on each database starting from first till the end.
I want to know if i can run the script on all databases in parallel so that it takes a less time to complete.