Login   Register  
PHP Classes
elePHPant
Icontem

PID process check: Check if a PHP script is running using PID files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Camilo Sperberg
Name: Camilo Sperberg <contact>
Classes: 8 packages by
Country: The Netherlands The Netherlands
Age: 32
All time rank: 85626 in The Netherlands The Netherlands
Week rank: 317 Up12 in The Netherlands The Netherlands Up


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can check if a PHP script is running using PID files.

It looks at a given directory to see if it exists a process identifier file with the number of the current script process.

If the file exists, the class can call a Windows COM object or send a POSIX signal under a Linux/Unix system to determine if a process is running.

If the script is not yet running, the class creates the PID file and stores process number in it.

  Classes of Camilo Sperberg  >  PID process check  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PID process check
Base name: pid-process-check
Description: Check if a PHP script is running using PID files
Version: 2.0.4
PHP version: 5.3.0
License: BSD License
All time users: 403 users
All time rank: 5894
Week users: 1 user
Week rank: 1398 Up
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Unix Use of capabilities specific of POSIX, Unix like operating systems View top rated classes
Group folder image Console Command line and console utilities View top rated classes
Group folder image Windows Use of capabilities specific of the Windows operating systems View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Class on GitHub
Class on GitHub
Packagist
Packagist
Travis-CI
Travis-CI automated build tests

  Files folder image Files  
File Role Description
Files folder imageexamples (5 files)
Files folder imagesrc (1 directory)
Files folder imagetests (1 file)
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file complex-example.php Example Example script
  Accessible without login Plain text file job-with-fatal-error.php Example Example script
  Accessible without login Plain text file longRunningFunction.php Example Example script
  Accessible without login Plain text file simple-example.php Example Example script
  Accessible without login Plain text file stale-process.php Example Example script

  Files folder image Files  /  src  
File Role Description
Files folder imageunreal4u (2 files)

  Files folder image Files  /  src  /  unreal4u  
File Role Description
  Accessible without login Plain text file exceptions.php Aux. Auxiliary script
  Accessible without login Plain text file pid.php Class Class source

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file pidTest.php Test Unit test script

Install with Composer Install with Composer - Download Download all files: pid-process-check.tar.gz pid-process-check.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.