plugins

Home

Plugins

GitHub

Blog

stale-proc-check

version: 0.5.1 |  date: 06/27/2021 |  Find stale processes at your server |  source code

# SYNOPSIS

Find stale processes at your server. 

It is very handy when for some reasons you have an old, stale processes on your server not died for some reasons ...


# Dependencies

ps utility should be installed

# INSTALL

    $ s6 --install stale-proc-check


# USAGE

    # lets find all nginx processes running since last week

    $ s6 --plg-run stale-proc-check@filter=nginx,history="1 weeks"

# Plugin settings

## filter

Sets pattern to filter desired processes. Should be perl regexp.

## history

Check process for given period of time. Default value is `1 days`, 

Example values:

* 1 months
* 10 days
* 2 weeks

This parameter should complies with [DateTime::subtract method](https://metacpan.org/pod/DateTime#Math-Methods) format.

# AUTHOR

[Alexey Melezhik](mailto:melezhik@gmail.com)