I have 60 websites in a Linux webserver (nginx) and i like to monitor how much time each website takes to full load. Something like tools.pingdom.com, where i put the URL and the locale and returns the time to full load the page. But i need this via Linux terminal, to automate this task for all websites and to new future websites. Someone knows any API or tool via Linux to do this job ? I tried wget and curl but the results are unstable, the wget i used:
(time wget -p --no-cache --delete-after example.com -q ) 2>&1 | awk '/real/ {print $2}'
But i cant set the locale and most of times the results are unstable, with the same websites resulting in 2 seconds to load and 10 seconds a few minutes ago.
Thanks !