mirror of
https://github.com/KevinMidboe/Node-Com-Handler.git
synced 2025-10-29 17:50:27 +00:00
Added better header items
This commit is contained in:
@@ -1,8 +1,15 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
# @Author: KevinMidboe
|
||||||
|
# @Date: 2017-02-15 23:37:36
|
||||||
|
# @Last Modified by: KevinMidboe
|
||||||
|
# @Last Modified time: 2017-02-15 23:49:18
|
||||||
|
|
||||||
import psutil
|
import psutil
|
||||||
from platform import system
|
from platform import system
|
||||||
|
|
||||||
|
# TODO: Add cpu reading for macOS
|
||||||
|
|
||||||
def getCpuTemp():
|
def getCpuTemp():
|
||||||
sysName = system()
|
sysName = system()
|
||||||
if sysName != 'Linux':
|
if sysName != 'Linux':
|
||||||
|
|||||||
Reference in New Issue
Block a user