Skip to main content

An usefull python module

Project description

System Monitor

System Monitor is a Python module that provides functionality for monitoring system resources and hardware information. It allows you to retrieve information about the CPU, GPU, storage, and other system components.

Installation

You can install the System Monitor module using pip:

Usage

Here's an example of how to use the System Monitor module:

from system_monitor import performance_monitor

# Get CPU model
cpu_model = performance_monitor.cpumodel()
print(f"CPU Model: {cpu_model}")

# Get GPU model
gpu_model = performance_monitor.gpumodel()
print(f"GPU Model: {gpu_model}")

# Get storage information
storage = performance_monitor.storage()
total_storage = storage.storagetotal()
used_storage = storage.storageused()
free_storage = storage.storageleft()

print(f"Total Storage: {total_storage}")
print(f"Used Storage: {used_storage}")
print(f"Free Storage: {free_storage}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mymol-0.5.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file mymol-0.5.0.tar.gz.

File metadata

  • Download URL: mymol-0.5.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for mymol-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5367a6f796ca6f5be73ba7803637d11008eeaead7a6688ecd4f111ea91f531a2
MD5 1e4af7a22a1904c22674ea64f9d614d5
BLAKE2b-256 22cbaab4203b214c58ac4542ad7252282cdc345faf2e82dd4fc18d25e7b6bf9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page