https://augustpinch.com/qnd7d2fhd?key=ed5dbed8ecdd9af92e2b54e652945382
8
Monday, May 19, 2025
SYSTEM INFORMATION CHECKER TOOL
import platform
import psutil
import socket
import shutil
def get_system_info():
print("=== System Information Checker ===\n")
# OS details
print(f"Operating System: {platform.system()} {platform.release()} ({platform.version()})")
print(f"Machine: {platform.machine()}")
print(f"Processor: {platform.processor()}")
print(f"Architecture: {' '.join(platform.architecture())}")
# CPU info
print(f"CPU Cores (Logical): {psutil.cpu_count(logical=True)}")
print(f"CPU Cores (Physical): {psutil.cpu_count(logical=False)}")
# Memory info
virtual_mem = psutil.virtual_memory()
print(f"Total RAM: {virtual_mem.total / (1024 ** 3):.2f} GB")
print(f"Available RAM: {virtual_mem.available / (1024 ** 3):.2f} GB")
# Disk info
total, used, free = shutil.disk_usage("/")
print(f"Disk Total: {total / (1024 ** 3):.2f} GB")
print(f"Disk Used: {used / (1024 ** 3):.2f} GB")
print(f"Disk Free: {free / (1024 ** 3):.2f} GB")
# Network info
hostname = socket.gethostname()
ip_address = socket.gethostbyname(hostname)
print(f"Hostname: {hostname}")
print(f"IP Address: {ip_address}")
print("\n=== End of Report ===")
if __name__ == "__main__":
get_system_info()
Subscribe to:
Post Comments (Atom)
SMART AFFILIATE LINK GENERATOR
Smart Affiliate Link Generator 💰 Smart Affiliate Link Generator Enter your blog/content: Enter keywords and affili...
-
Smart Affiliate Link Generator 💰 Smart Affiliate Link Generator Enter your blog/content: Enter keywords and affili...
-
*Online Stock Photography: Sell Your Snaps* Are you a budding photographer with a penchant for snapping stunning images? Look no further! O...
-
AI Story Writing Tool AI Story Writing Tool Moral Educational Historical ...
No comments:
Post a Comment