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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file psus-1.0.1.tar.gz.

File metadata

  • Download URL: psus-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for psus-1.0.1.tar.gz
Algorithm Hash digest
SHA256 db39c2d69a64df2badffd7972eeac45c1027c27953bb7372091926f07fffb46f
MD5 5698602049a07b43423414fe95f08b6b
BLAKE2b-256 2c1d35e1fd187c8c7b00b6997793af5fc3a0ee8d345bcb73636040c6b188a5df

See more details on using hashes here.

File details

Details for the file psus-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: psus-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for psus-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 310bee19d367e8aaf789f3d7a10817161a0bc6183fdfa437af100b4072f9cde9
MD5 3642c8374c2b621b4df18b36932baa5a
BLAKE2b-256 6e465fabecdb1ccf1a20418ecb64d0cd7dfd82bf7742c588809772513e41e72b

See more details on using hashes here.

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