Linux: How to get remote page load time with a command from the terminal?

User Avatar
👤 admin
🔴 Admin
✍️ The most important thing in the world is to not be alone.
⏳ Last active: 15 Apr 2025 at 16:01
📅 Created: 12 Feb 2021 at 13:48
👀 Viewed: 19 times
✉️ Send Email

Linux: How to get remote page load time with a command from the terminal?
This will give you the remote page load time in miliseconds.


time wget -p http://www.webleit.info >/dev/null 2>&1

You can implement the command with php like:


<?php

$output = shell_exec('time wget -p http://www.webleit.info >/dev/null 2>&1');

echo "<pre>$output</pre>";

?>
If you want to comment: Login or Register