Skip to main content

servicecontrol usage

servicecontrol is a script intended to perform a number of functions

  • allow one program to turn on/off any other program

  • log output of that program

  • restart program if it crashes (for whatever reason)

  • monitor that program’s resource utilisation and reboot if necessary

Syntax

The syntax is:

servicecontrol <paramters> "<program with its own parameters>"

As usual you can get help by typing:

serviceconrol --help

Which will produce the built-in help on the available syntax:

usage: servicecontrol.py [-h] [--start] [--addr ADDR] [--port PORT]
                         [--no-echo] [--autorestart] [--cpurestart CPURESTART]
                         [--log LOG] [-i]
                         cmd

positional arguments:
  cmd                   The command to parse

optional arguments:
  -h, --help            show this help message and exit
  --start               Immediately start software (do not wait for start())
  --addr ADDR           xmlrpc address, default=localhost
  --port PORT           xmlrpc port, default=9001
  --no-echo             Do not display output to stdout
  --autorestart         Restart on crash
  --cpurestart CPURESTART
                        Set CPU threshold to automatically restart service at
  --log LOG             Filename to log to (default is None - stdout only)
  -i, --interact

Metadata

Release files for servicecontrol 0.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for servicecontrol 0.11.1
File Size Uploaded Provenance
servicecontrol-0.11.1.tar.gz 9.4 kB Without provenance Details

Release files / servicecontrol-0.11.1.tar.gz

Download URL servicecontrol-0.11.1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1d4802a66da65fd7a4db9900048399183f7b7243a339219ee389a1423ac681e6
BLAKE2b-256 checksum
How to use checksums
450b3634b970b4bc1d653a1372a667ce7b20ec28752c2beeaac0ad95d6a33ce6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.13

Security for servicecontrol 0.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page