intel / intel/xpumanager

xpumd / xpumcli do not error out & show help on incorrect arguments

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
194
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Version: V1.2.9

*Issues*

`xpumd` runs although it's given arguments it does not recognized / support, instead of exiting with help output:
```
# xpumd policy
[2023-05-23 16:34:58.288] [I] [247-247] XPUM: Init xpum library
[2023-05-23 16:34:58.288] [I] [247-247] XPU Manager: 1.2.9.20230517
...
^C
```

After accidentally running second instance of XPUM like above and terminating that with ^C, the correct XPUM instance dies also for some reason.

After that, `xpumcli` does not show help output anymore when required options are missing, or it's given argument it does not recognize at all:
```
# xpumcli agentset
Error: XPUM Service Status Error.
# xpumcli foobar
Error: XPUM Service Status Error.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.