[ASK] Disk Quota Php

Discussion in 'Desain Web dan Programming' started by newbea, 12 Dec 2013.

Thread Status:
Not open for further replies.
  1. newbea

    newbea Poster 1.0

    Messages:
    96
    Likes Received:
    2
    Trophy Points:
    8
    Mau tanya sesepuh disini, gimana caranya lihat total size di vps pake php?
    kalo di windows misal

    Code:
    <?php
    $ds = disk_total_space("/");
    $ds = disk_total_space("E:");
    echo" $ds";
    ?> 
    
     
  2. pluto01

    pluto01 Hosting Guru Web Hosting

    Messages:
    3,649
    Likes Received:
    754
    Trophy Points:
    113
    kurang lebih basicnya :

    <b>Memory Usage (MB):</b>
    <?php system("free -m"); ?>


    <b>Disk Usage:</b>
    <?php system("df -h"); ?>
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...