PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Ben Yacoub Hatem   Process Killer   readme.txt   Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: Process Killer
kill all instances of a unix process
Author: By
Last change:
Date: 20 years ago
Size: 535 bytes


Class file image Download
Process Killer Author : Ben Yacoub Hatem <hatem at php dot net> This class is meant to kill all instances of a unix process by entering its name. Inspite of running "ps -aux", check the pid of the process and then kill it ... this script can help you to automate this task. Sample USAGE : For example run 2 instances of php $php & $php & $ps -aux then cd to Process killer directory $cd processkiller $php pkill.php php run again ps to verify that the 2 instances have been killed. $ps -aux Any comment ?