I am using psutil to analyze the open_files() at any given point of time. As soon as program creates a file with a specific extension of interest (cou ...
I am using psutil to analyze the open_files() at any given point of time. As soon as program creates a file with a specific extension of interest (cou ...
Im trying to make a program and i need to link two process together. if one of them stoped the other one stops too and for some reason my gui lagging ...
function psutil.net_if_addrs() returns a dictionary where for each network card includes a list of objects of type snicaddr, but I have not been able ...
I'm trying to run and kill site.py python script every 5 minutes using webreset.py script. webreset.py: But when I run webreset.py on Ubuntu 20.04 ...
I am trying to write a program that can measure the overall CPU usage. I tried using psutil.cpu_percent(), but it is returning the CPU usage for only ...
I have installed psutil and pywin32, and I am trying to use this code: In Visual Studio Code, the attributes just appear as white text. I get an e ...
I am currently running the following script to get the system_md status of each host. Its working but the output I am getting is a Process Class and I ...
. Answers to this question are eligible for a +50 reputation bounty. Ch ...
I've been trying to create a monitor to know which process is using cpu the most and the overall cpu usage I need it to be refreshing the information ...
In Python 3.8.5, if I run psutil.process_iter() and then iterate through the processes I get an error. Here's some simple code that does it: The re ...
I tried to install python module psutl in docker python:3.9.13-alpine3.16 But it reported the following mistake: Recurrence process: docker pul ...
This Dockerfile works fine on Windows/Linux I build the image by doing but the same Dockerfile fails on MacOS. I tried in two different Macs ( ...
I want to get the pid by passing in the user name. For example, in the picture of a macOS activity monitor, the user name is 'root', and I want someth ...
i use from psutil import Popen to open another .py file: But when i click the button (Tkinter) to open that file/widget (file2.py) in file1.exe aft ...
When I run my code that includes psutil module I encounter the following error: Although, when trying to install the module in terminal, I can see ...
I am writing a python application, which uses Popen to start other exectutables. I then use Psutil to collect information about them. One of the thin ...
I have a Python Script that creates a Windows Service and checks whether Powershell is running using psutil. However there is an issue in the code tha ...
I wrote this code to calculate my internet consumption starting from the time it is started, but it seems to give large number that did not express th ...
I've working on a windows python program and I need it to run once I open an app. Is it possible ? If so how would I implement it ? ...
output: "notepad.exe" was open from the start and until the end of the script. ...