View Single Post
  #1  
Old 28th May 2013, 18:07
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 3 Times in 3 Posts
Default Website load time test

Hi all
I want to monitor my loadtime of an website. If the loadtime is bigger than 30s the apache2 should restart.

For the loadtime found this:
Code:
(time wget -p --no-cache --delete-after www.linuxweblog.com -q ) 2>&1 | awk '/real/ {print $2}'
output
Code:
0m0.207s
How could I do the rest?
Thanks
admins
Reply With Quote
Sponsored Links