Skip to main content

Uses psutil to observe/log processes during a certain time

pip install procobserver

from procobserver import observe_procs

df = observe_procs(

    executables=("Vpn.exe",), # list or tuple of exe files (not the whole path!)

    pids=(5800, 18166), # list or tuple of pids 

    pickle_output_path="f:\\picklefileobj.pkl", # If None, nothing will be saved to your HDD 

    sleeptime=0.2, # sleep between each scan 

	timeout=30, # If timeout is None, you have to press ctrl+c 

)

# Press ctrl+c to stop the observation

Out[2]: '\n^CStopping observation ...

df

Out[3]: 

0 num_handles  ...  aa_localtime

0         484  ...  1.678241e+09

1         604  ...  1.678241e+09

2         870  ...  1.678241e+09

3        1336  ...  1.678241e+09

4         419  ...  1.678241e+09

5         484  ...  1.678241e+09

6         604  ...  1.678241e+09

7         870  ...  1.678241e+09

8        1336  ...  1.678241e+09

9         419  ...  1.678241e+09

[10 rows x 28 columns]

Metadata

Release files for procobserver 0.10

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

Source distribution (sdist)

Source distribution for procobserver 0.10
File Size Uploaded Provenance Actions
procobserver-0.10.tar.gz 3.9 kB Without provenance Details for procobserver-0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procobserver 0.10
File Interpreter ABI Platform Actions
procobserver-0.10-py3-none-any.whl Python 3 none any Details for procobserver-0.10-py3-none-any.whl

Total release size: 9.2 kB

Release files / procobserver-0.10.tar.gz

Download URL procobserver-0.10.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d5992f0cb945a1ad08ac7a6ac9fea3ae6b16ec6d8620e804148de20b78ff6df5
BLAKE2b-256 checksum
How to use checksums
a88bb7d604a39cfb1497af8557479735902356402da4a431c73f17ae0bd4345e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / procobserver-0.10-py3-none-any.whl

Download URL procobserver-0.10-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
768d9a242302404fa79fc0d29f555a1808c2df4ef0e87b8049379272fae93106
BLAKE2b-256 checksum
How to use checksums
7a8798e0d44bcacec89a07d0b793cb25046a65b427054ef5f8a218c68dea3e1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for procobserver 0.10

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.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

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