2017 © Pedro Peláez
 

library processlist

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms.

image

kavanpancholi/processlist

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms.

  • Thursday, September 14, 2017
  • by kavanpancholi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ProcessList

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms., (*1)

Add following line to your config/app.php under providers list, (*2)

Kavanpancholi\Processlist\ProcesslistServiceProvider::class,

Run, (*3)

composer dump-autoload

Steps to check if artisan command already running or not, (*4)

Command File: e.g. Inspire.php in Console/Command, (*5)

Use, (*6)

use Kavanpancholi\Processlist\ProcessList;

Check for process in handler, (*7)

public function handle(ProcessList $processList)
{
    $isRunning = $processList->checkRunningCommand('command:name');
    if (!$isRunning) {
        // Do something
    }
    echo "This process is already running".PHP_EOL;
}

The Versions

14/09 2017

dev-master

9999999-dev

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms.

  Sources   Download

MIT

by Kavan Pancholi

14/09 2017

v1.0

1.0.0.0

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms.

  Sources   Download

by Kavan Pancholi

14/09 2017

v1.1

1.1.0.0

A platform-independent way to retrieve the list of processes running on your systems. It works both on the Windows and Unix platforms.

  Sources   Download

by Kavan Pancholi