TurboTurtle / rig

A lightweight, flexible, easy to use system monitoring and event handling utility
GNU General Public License v2.0
10 stars 7 forks source link

[process] State value should accept single-character shorthand for state #21

Closed TurboTurtle closed 5 years ago

TurboTurtle commented 5 years ago

The process rig requires the full status string to be given to the state option when monitoring for process status. E.G. users must specify --state disk-sleep.

Realistically, sysadmins and support representative typically use the character shorthand for these statuses, e.g. "D-state". The process rig should therefore accept these shorthand state strings.