Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBS plugin JSON parsing #315

Open
fgeorgatos opened this issue Oct 16, 2023 · 0 comments
Open

PBS plugin JSON parsing #315

fgeorgatos opened this issue Oct 16, 2023 · 0 comments

Comments

@fgeorgatos
Copy link
Collaborator

Newer versions of PBS support qstat JSON output with the -F json option. This would resolve inaccuracies in the RegEx parsing which is currently used to get qstat output into a structured form.

To retain backwards compatibility qtop should probably detect the given format automatically and support parsing of both formats.

sebinbash pushed a commit that referenced this issue Dec 4, 2023
- use qstat -f -F json instead of qstat by default
- handle parsing of both output formats in extractor for backwards
  compatibility

Signed-off-by: Sebastian Schnorbus <sebastian.schnorbus@hpe.com>
sebinbash pushed a commit that referenced this issue Dec 4, 2023
- use qstat -Q -f -F json instead of qstat -q
- handle parsing of both output formats in extractor for backwards
  compatibility

Signed-off-by: Sebastian Schnorbus <sebastian.schnorbus@hpe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant