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

cpu_watcher:实现sar功能百分比输出&调度延迟输出进程名 #797

Merged
merged 16 commits into from
May 17, 2024

Conversation

vvzxy
Copy link
Contributor

@vvzxy vvzxy commented May 16, 2024

1.为sar功能添加两个选项:
①-i 选择输出间隔
②-P 以百分比形式输出数据,超过百分之六十的标红输出。
./cpu_watcher -s -i 2 -P输出:
微信图片_20240516204410
2.schedule_delay功能在用户态通过pid获取最大最小调度延迟的进程名:
微信图片_20240516204543

Copy link
Contributor

@zhangzihengya zhangzihengya left a comment

Choose a reason for hiding this comment

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

LGTM

@helight helight merged commit eea66dc into linuxkerneltravel:develop May 17, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants