Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upScripts for additional suspension checks #5
Comments
This comment has been minimized.
This comment has been minimized.
|
How about a library of common, reusable shell scripts that ships with the software? Then we can prefix
|
This comment has been minimized.
This comment has been minimized.
|
That's a good idea, and it's then simple to package it and place these scripts under |
offlinehacker
changed the title
Implement scripts for additional suspension checks
Scripts for additional suspension checks
Jan 12, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
offlinehacker commentedJan 12, 2019
•
edited
Idea
Implement a scripts that checks whether suspension is needed or not based on current process behavior. Have an option which scripts to activate for a profile.
Example checks
pacmd list-sink-inputs shortcommand gives information which processes are playing sound, also PID of processIf application is under high CPU load it might not be wise to suspend processes, as it might be processing something.
If application is having high network traffic it might not be wise to suspend processes, as it might be downloading or uploading something.