https://github.com/lpenz/gkrellexec
GKrellM plugin that checks the return status of arbitrary shell commands
https://github.com/lpenz/gkrellexec
Last synced: 19 days ago
JSON representation
GKrellM plugin that checks the return status of arbitrary shell commands
- Host: GitHub
- URL: https://github.com/lpenz/gkrellexec
- Owner: lpenz
- License: gpl-2.0
- Created: 2009-11-15T21:17:15.000Z (over 15 years ago)
- Default Branch: main
- Last Pushed: 2025-03-01T16:47:25.000Z (3 months ago)
- Last Synced: 2025-03-30T10:33:46.727Z (about 2 months ago)
- Language: C
- Homepage:
- Size: 79.1 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
[](https://github.com/lpenz/gkrellexec/actions/workflows/ci.yml)
[](https://packagecloud.io/app/lpenz/debian/search?q=gkrellexec)gkrellexec
==========**gkrellexec** is a plugin for gkrellm that displays the return status of
arbitrary shell commands.Up to 10 shell commands can be specified, each with a name, timeout and
different times to sleep after a success or a failure.gkellexec displays a panel in gkrellm, with one line per process, showing its
last exit status (**T** for timeout, **O** for ok, **E** for error) and its
name.## Installation
### Debian
gkrellexec's debian package is kept in https://packagecloud.io/lpenz/debian.
Follow the link for installation instructions.### Manually
To build it, run *cmake .* and then *make*. gkrellm's header files must be
installed.To install, you can either run *make install* so that gkrellexec.so is copied
to the default ``/usr/lib/gkrellm2`` or you can copy it to
``$HOME/.gkrellm2/plugins``.## Configuration
Enable it in gkrellm's plugin configuration.
On the plugins's configuration screen, there is a tab for each process with the
configurable options. The process is disabled if it has no name. The shell
command is run with ``/bin/sh -c ""``, so that shell syntax is fully
available.