Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/konapun/pkilld
A daemon to monitor a process by name and kill it when it surpasses a given uptime
https://github.com/konapun/pkilld
Last synced: 22 days ago
JSON representation
A daemon to monitor a process by name and kill it when it surpasses a given uptime
- Host: GitHub
- URL: https://github.com/konapun/pkilld
- Owner: konapun
- Created: 2014-02-12T20:57:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-12T21:03:43.000Z (over 10 years ago)
- Last Synced: 2024-04-14T19:58:16.142Z (7 months ago)
- Language: Perl
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pkilld
A daemon to watch for long running processes and kill them based on uptime## usage
```sh
pkilld [OPTIONS] process_name process_uptime
```
### Options
* **uid**: Only kill processes started by user with a specific UID (default: all users)
* **sleep**: Specify the number of seconds between daemon cycles (default: 1 second)## Requirements
You may or may not already have the following list of dependencies (all available via CPAN. Someday I might automate this...)
* Proc::ProcessTable
* Daemon::Daemonize
* Getopt::Long## TODO
Implement the standard daemon API: start, status, stop