Unlimited Space & Bandwidth Only $10.00 PER YEAR!! Limited Offer

Discussion in 'Web Hosting' started by BackupDrone.com, May 15, 2007.

  1. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #121
    Sure, and please keep me updated on the progress.:)
     
    BackupDrone.com, Jun 5, 2007 IP
  2. machikakara

    machikakara Banned

    Messages:
    428
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #122
    i am reading from were i first say it but cant seem to find it the last time i say it was i a bittorent client for servers install it on to aserver for your self and the thing is called torrentfelx

    here is one that i found

    function get_server_load($windows = 0) {
    $os = strtolower(PHP_OS);
    if(strpos($os, "win") === false) {
    if(file_exists("/proc/loadavg")) {
    $load = file_get_contents("/proc/loadavg");
    $load = explode(' ', $load);
    return $load[0];
    }
    elseif(function_exists("shell_exec")) {
    $load = explode(' ', `uptime`);
    return $load[count($load)-1];
    }
    else {
    return "";
    }
    }
    elseif($windows) {
    if(class_exists("COM")) {
    $wmi = new COM("WinMgmts:\\\\.");
    $cpus = $wmi->InstancesOf("Win32_Processor");

    $cpuload = 0;
    $i = 0;
    while ($cpu = $cpus->Next()) {
    $cpuload += $cpu->LoadPercentage;
    $i++;
    }

    $cpuload = round($cpuload / $i, 2);
    return "$cpuload%";
    }
    else {
    return "";
    }
    }
    }
     
    machikakara, Jun 5, 2007 IP
  3. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #123
    I'm not sure at what you meant by that, but I know for one thing that my datacenter will not allow anything that has to do with torrents on the server, but again, I'm not sure if that was what you were saying :)
     
    BackupDrone.com, Jun 5, 2007 IP
  4. machikakara

    machikakara Banned

    Messages:
    428
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #124
    i know but if you install it some were else to test it will give you that servers cpu useage and i looked for the code but i was unable to find it but i will look again
     
    machikakara, Jun 5, 2007 IP
  5. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #125
    Ok the first time I read that previous message, that coding was not there, but now I understand :)
     
    BackupDrone.com, Jun 5, 2007 IP
  6. machikakara

    machikakara Banned

    Messages:
    428
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #126
    ok yea i did not want to bumb and all so i put it there but yea that is one of the things you can use i am googling other way to do that but it would be soething good to have so people know if they are close to there limit or not and if i amy ask really quick why does your data enter not like bittorent.

    here is another

    <?php
    // Average server load (1min, 5min and 15min)...
    function serverload()
    {
    $loadavg_array = explode(" ", exec("cat /proc/loadavg"));
    $a = $loadavg_array[0];
    $b = $loadavg_array[1];
    $c = $loadavg_array[2];
    return $a.', '.$b.', '.$c;
    }

    echo serverload();

    ?>
     
    machikakara, Jun 5, 2007 IP
  7. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #127
    If you could upload that, or give some random pictures of how it looks and works, that would be wonderful. Many thanks in advance if it does work :)


     
    BackupDrone.com, Jun 5, 2007 IP
  8. machikakara

    machikakara Banned

    Messages:
    428
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #128
    ok here is one last one and then i will look for a bit of how it looks but you need to rember its the code not the look you can change the look with css or html.

    <?php
    $uptime = shell_exec("cut -d. -f1 /proc/uptime");
    $loadavg_array = explode(" ", exec("cat /proc/loadavg"));
    $loadavg = $loadavg_array[2];
    $days = floor($uptime/60/60/24);
    $hours = $uptime/60/60%24;
    $mins = $uptime/60%60;
    $secs = $uptime%60;
    echo "This server has been up $days day(s) $hours hour(s) $mins minute(s) and $secs second(s)";
    echo "<p><br>";
    print("[ Current server load: " . $loadavg . " ]");
    ?>
     
    machikakara, Jun 5, 2007 IP
  9. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #129
    Thats ok, I would just like to see how it works and etc.. as I have never used a tool like this.
     
    BackupDrone.com, Jun 5, 2007 IP
  10. machikakara

    machikakara Banned

    Messages:
    428
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #130
    i am uploading it to another one of my servers so you can see what it looks like and what it does.
     
    machikakara, Jun 5, 2007 IP
  11. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #131
    OFFER HAS NOW ENDED
     
    BackupDrone.com, Jun 16, 2007 IP
  12. arpitagarwal82

    arpitagarwal82 Notable Member

    Messages:
    2,996
    Likes Received:
    398
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #132
    I was just in time to take the package from him.. I took one hosting package. Things are looking good. Rest I cant give much feedback about hosting service right now.
    But I can say that this man has excellent support. Actually I was facing some problem and he helped me inside out with it.
    Excellent support and communication.
    Recommended Seller.
     
    arpitagarwal82, Jun 16, 2007 IP
  13. Hilschi

    Hilschi Guest

    Messages:
    60
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #133
    I'm in agreement with arpita.

    Very nice host, great support by mail, msn and teamspeak!
     
    Hilschi, Jun 17, 2007 IP
  14. shyamali2007

    shyamali2007 Banned

    Messages:
    133
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #134
    send me the details - configuage of the site... u mean that i can resell this space to our customers. do reply
     
    shyamali2007, Jun 17, 2007 IP
  15. BackupDrone.com

    BackupDrone.com Well-Known Member

    Messages:
    718
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #135
    This Special has ended.

    Look forward to more great specials :)

    And yes, the clients that bought this package, cannot, sell web hosting accounts (not a reseller account)

    Thanks
     
    BackupDrone.com, Jun 17, 2007 IP