kiwi-simple-metrics/kiwi_simple_metrics/main.py

12 lines
183 B
Python

import psutil
from .settings import SETTINGS
def main() -> None:
print(psutil.cpu_percent(interval=1))
print(SETTINGS.model_dump())
if __name__ == "__main__":
main()