Login   Register  
PHP Classes
elePHPant
Icontem

Process Killer: kill all instances of a unix process

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-11-25 (8 years ago) RSS 2.0 feedStarStarStar 44%Total: 1,258 All time: 2,829 This week: 1,523Up
Version License Categories  
processkiller 1.0GNU General Public Lice...Unix, Console
Description Author  

This class is meant to kill all instances of a Unix process by specifying its name.

It takes the name of the command to kill from the current script comand line arguments, uses the command ps to list all running processes and kills those with a name that matched the specified argument.

Picture of Ben Yacoub Hatem
Name: Ben Yacoub Hatem <contact>
Classes: 18 packages by
Country: Tunisia Tunisia
Age: 36
All time rank: 211 in Tunisia Tunisia
Week rank: 376 Down1 in Tunisia Tunisia Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file pkill.php Example sample usage of the class
Plain text file processkiller.class.php Class The main class
Accessible without login Plain text file readme.txt Doc. Readme file

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,258All time:2,829
 This week:0This week:1,523Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:56%StarStarStar
Documentation:68%StarStarStarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:44%StarStarStar
Rank:1978