The psutil module (short for process and system utilities) is a cross-platform Python library used to gather information on system utilization (CPU, memory, disks, network, and sensors), and to manage processes. It allows you to monitor and control system resources, making it useful for system administration, performance monitoring, and automating tasks related to process management.
Â
Key Features:
Process Management: Access detailed information about running processes, including memory usage, CPU time, and process status.
System Resource Monitoring: Monitor CPU, memory, disk, network usage, and other system statistics in real-time.
Cross-Platform: psutil works across multiple platforms, including Windows, Linux, macOS, and BSD.
Command to install psutil :