Login   Register  
PHP Classes
elePHPant
Icontem

File: pkill.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Yacoub Hatem  >  Process Killer  >  pkill.php  >  Download  
File: pkill.php
Role: Example script
Content type: text/plain
Description: sample usage of the class
Class: Process Killer
kill all instances of a unix process
Author: By
Last change:
Date: 10 years ago
Size: 324 bytes
 

Contents

Class file image Download
#!/usr/bin/php
<?php

/**
 * Sample usage of the Process killer class
 * 
 * @package 
 * @author Ben Yacoub Hatem <hatem@php.net>
 * @copyright Copyright (c) 2004
 * @version $Id$
 * @access public
 **/

require_once('processkiller.class.php');

$k = new processkiller;
$k->Setdebug(true);
$k->run();

?>