Skip to content

Commit

Permalink
Updated generalSpecs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellShibilski-Unkel committed Dec 10, 2023
1 parent 82fbfa1 commit 462084e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,16 @@ def RAMUsage():
totalRAM = np.round(psutil.virtual_memory().total/1000000000, 2)
print(f"RAM Usage: {ram} GB / {totalRAM} GB")

def swapMemory():
swap = np.round(psutil.swap_memory().used/1000000000, 1)
print(f"Swap Memory: {swap} GB")

cpuCoreCount()
processorType()
OS()
computerArchitecture()
phyicalCoresCPU()
logicalCoresCPU()
CPUsage()
RAMUsage()
RAMUsage()
swapMemory()

0 comments on commit 462084e

Please sign in to comment.