PHP Classes

File: heavy_program.php

Recommend this page to a friend!
  Classes of Manuel Lemos   System monitor and Throttle   heavy_program.php   Download  
File: heavy_program.php
Role: Auxiliary script
Content type: text/plain
Description: Example script of an heavy program
Class: System monitor and Throttle
Monitor system usage and throttle heavy programs
Author: By
Last change: Set the priority.
Date: 13 years ago
Size: 208 bytes
 

Contents

Class file image Download
<?php
/*
 * heavy_program.php
 *
 * @(#) $Id: heavy_program.php,v 1.1 2010/10/25 06:04:01 mlemos Exp $
 *
 */

   
for($j = 0; ++$j < 1000;)
    {
        for(
$i = 0; ++$i < 1000000;);
        echo
$j, "\n";
    }
?>