Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 3.142.43.53
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
landscape /
sysinfo /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-09-18 19:49
__init__.py
0
B
-rw-r--r--
2023-02-07 18:55
deployment.py
4.86
KB
-rw-r--r--
2023-02-07 18:55
disk.py
2.52
KB
-rw-r--r--
2023-02-07 18:55
landscapelink.py
336
B
-rw-r--r--
2023-02-07 18:55
load.py
287
B
-rw-r--r--
2023-02-07 18:55
loggedinusers.py
497
B
-rw-r--r--
2023-02-07 18:55
memory.py
606
B
-rw-r--r--
2023-02-07 18:55
network.py
1.66
KB
-rw-r--r--
2023-02-07 18:55
processes.py
896
B
-rw-r--r--
2023-02-07 18:55
sysinfo.py
9.67
KB
-rw-r--r--
2023-02-07 18:55
temperature.py
806
B
-rw-r--r--
2023-02-07 18:55
testplugin.py
541
B
-rw-r--r--
2023-02-07 18:55
Save
Rename
from twisted.internet.defer import succeed from landscape.lib.sysstats import get_thermal_zones class Temperature(object): def __init__(self, thermal_zone_path=None): self._thermal_zone_path = thermal_zone_path def register(self, sysinfo): self._sysinfo = sysinfo def run(self): temperature = None max_value = None for zone in get_thermal_zones(self._thermal_zone_path): if (zone.temperature_value is not None and (max_value is None or zone.temperature_value > max_value) ): temperature = zone.temperature max_value = zone.temperature_value if temperature is not None: self._sysinfo.add_header("Temperature", temperature) return succeed(None)