proc-validate summary

Plugin Name: proc-validate
Version: 0.1.3
Author: @melezhik
Realease Date: 2017-04-20 15:04:12
Short Description: Simple Linux/UNIX process validator
Category: test tools
Plugin web page:
Download link: proc-validate-v0.001003.tar.gz
Latest version link:

proc-validate documentation


Simple Linux/UNIX process validator.

Check if process set by PID taken from pid file exists.


  $ sparrow plg install proc-validate



  # check process by PID taken from pid file
  $ sparrow plg run proc-validate --param pid_file=/var/run/

  # check process by footprint 
  $ sparrow plg run proc-validate --param footprint='sshd\s+-D'

Via Sparrowdo

  $ cat sparrowfile

  use v6;

  use Sparrowdo;

  task-run 'check foo process', 'proc-validate', %(
    parameters => %(
      pid_file => '/var/run/'

Advanced usage

Sometimes you need to verify that process data taken from ps
matches some regular expression, use footprint parameter for this:

  $ sparrow plg run proc-validate --param pid_file=/var/run/ --param footprint='nginx.*master'

Or via sparrowdo:

  task-run 'check nginx', 'proc-validate', %(
    parameters => %(
      pid_file => '/var/run/',
      footprint => 'nginx.*master'


Alexey Melezhik