That's imminently doable, though not something that's supported in the
current code.
To support this properly, I'll need to rewrite the check to use the
more modern getopt-based scheme which uses command-line options rather
than simply fixed-position parameters to define what options are
supported and which ones mean what. So it's a bit weightier of a
change than if it were just a simple "let's add a new flag to support"
patch. Having said that, though, it's still pretty straight-forward
stuff. Shouldn't be too difficult. :-)
Right now the state, device, and rate parameters are all checked as
exact string matches; for the rewrite, I'll most likely make them all
match strings. I could also support, in the case of the rate
parameter, a prefix of a comparison operator (e.g., '>' or '<=') so
that it's not simply a match test but potentially an arithmetic
comparison. Hopefully that would adequately address your use case....
:-)
Would you mind creating an Issue on GitHub for this? That way I can
track it against the milestone of the upcoming 1.4.3 release and make
sure everything comes together correctly and in a timely manner. I'm
targeting SC16 for the release, or before if possible, but there are a
number of "irons in the fire" to pull together, so I want to make sure
everything is tracked cleanly and nothing gets dropped or overlooked.
Thanks!
Michael
> --
> You received this message because you are subscribed to the Google Groups "LBNL Node Health Check" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nhc+uns...@lbl.gov.
> To post to this group, send email to
n...@lbl.gov.
> Visit this group at
https://groups.google.com/a/lbl.gov/group/nhc/.
--
Michael Jennings <
m...@lbl.gov>
Senior HPC Systems Engineer
High-Performance Computing Services
Lawrence Berkeley National Laboratory
Bldg 50B-3209E W:
510-495-2687
MS 050B-3209 F:
510-486-8615