
Python
How to Use Python to Monitor Files and Processes With psutil
Monitor processes, memory, disk and open files from Python with psutil: list top processes, check a service, watch CPU and alert on thresholds.
6 min read
Tag
3 posts

Monitor processes, memory, disk and open files from Python with psutil: list top processes, check a service, watch CPU and alert on thresholds.

Speed up file processing in Go with a bounded worker pool or errgroup: walk the tree, hash files in parallel, collect results safely and measure honestly.

Limit a Linux process with namespaces and seccomp: unshare, systemd sandbox options, SystemCallFilter, no_new_privs, and what each layer protects against.