Dengan bantuang fungsi shell_exec, scriptnya sangat sederhana

uptime.php

<?php
echo shell_exec("uptime");
?>

tapi biasanya di web hosting ngga bisa dijalankan, karena admin membatasi akses terhadap fungsi shell_exec, contoh output script diatas

22:10:30 up  4:49,  4 users,  load average: 1.08, 0.87, 0.84

Leave a comment

Your email address will not be published. Required fields are marked *