Skip to content

4ndrs/psus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psus

Change the status of a given process (or a group of processes) sending SIGSTOP/SIGCONT.

Usage

$ psus firefox suspend
Signaled 101 processes

$ psus firefox continue
Signaled 101 processes

The script will search for processes with the string in the first command-line argument and execute the action specified in the second command-line argument. The action can be either suspend, or continue.

Installation

pip install psus

About

Script to send suspend/continue signals to processes through psutil

Resources

License

Stars

Watchers

Forks

Contributors

Languages