Skip to main content

Script to send suspend/continue signals to processes through psutil

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psus-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

psus-1.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page