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

task: add more options to "ps" module #67

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

SiddhiK29
Copy link
Member

Allow passing pid | task | command to filter output by these.
-k: display only kernel threads
-u: display only user threads
-G: display only the thread group leader

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 1, 2024
@brenns10 brenns10 self-requested a review February 23, 2024 05:10
Copy link
Member

@brenns10 brenns10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment regarding testing, and one regarding a slight reorganization that may help reduce the code duplication. Sorry for the delayed review!

drgn_tools/task.py Outdated Show resolved Hide resolved
tests/test_task.py Outdated Show resolved Hide resolved
Allow passing pid | task | command to filter output by these.
-k: display only kernel threads
-u: display only user threads
-G: display only the thread group leader

Signed-off-by: Siddhi Katage <[email protected]>
@brenns10 brenns10 merged commit 2d6039d into oracle-samples:main Mar 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants