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.2.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for mymol-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d26a7bccd80a0c60264f60e48b217d2b47d2e2d7dfcccb30e838d2600e7809f6
MD5 95136f32ef2f32308d32400a246aaa7e
BLAKE2b-256 d37aba8490d4fe7a61d2fe8b1747b96a8105e49ec45af75c431d666fde8b74f5

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