[Tutor] Fetch CPU and GPU values from python
boB Stepp
robertvstepp at gmail.com
Thu Jan 16 23:13:18 EST 2020
On Thu, Jan 16, 2020 at 7:25 AM Nandish N <nandishn17 at gmail.com> wrote:
> And does proc.cpu_percent() give process cpu value?
> Is there any function to get values for Data-In/Data-Out, Memeory info?
Searching for "psutil docs" I found:
https://psutil.readthedocs.io/en/latest/#system-related-functions
> How to call shell script from python?
Perhaps the subprocess module in the Python 3 standard library might
be helpful? https://docs.python.org/3/library/subprocess.html
--
boB
More information about the Tutor
mailing list