https://github.com/noarche/sysmonlog
System Monitor
https://github.com/noarche/sysmonlog
system-monitor
Last synced: 8 months ago
JSON representation
System Monitor
- Host: GitHub
- URL: https://github.com/noarche/sysmonlog
- Owner: noarche
- License: epl-2.0
- Created: 2024-12-29T13:38:44.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-29T13:44:20.000Z (9 months ago)
- Last Synced: 2024-12-29T14:34:47.970Z (9 months ago)
- Topics: system-monitor
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# sysmonlog
System MonitorEdit the first few lines in script to customize what is shown.
#HOW TO USE
`Commands to run are:`
`'-nolog' for faster update and no write to log.json file.`
`'-all' to override user config and toggle all metrics as true. `
`Set the update intervals and path to save log.json below. `` User-configurable settings`
NOLOG_TIMER = 1.25 # Timer when '-nolog' is used
SLEEP_TIMER = 1800 # Default time interval between logs (in seconds)
OUTPUT_PATH = 'log.json' # Default path for the output log file
MAX_LOG_ENTRIES = 0 # 0 for unlimited, >0 to limit entries in log.json
Metrics toggle settings
settings = {"show_uptime": True,
"show_cpu_info": False,
"show_cpu_frequency": False,
"show_cpu_cores": False,
"show_cpu_threads": False,
"show_disk_io": True,
"show_disk_usage": True,
"show_total_processes": True,
"show_active_connections": True,
"show_cpu_usage": True,
"show_ram_usage": True,
"show_network_io": False,
"show_data_downloaded": True,
"show_data_uploaded": True,
"show_cpu_temperature": False,
"show_battery_status": False,
"show_swap_memory": False,
"show_top_processes": False`
`