Bundled with LeSysBot
system-info
Basic machine information and free disk space.
Install#
Nothing to do — this package ships inside LeSysBot and is available as soon as the installer finishes.
Tools#
This package exposes 2 tools.
get_system_info()#
Report OS, hostname, architecture, CPU count, memory, and uptime for the machine LeSysBot runs on.
Parameters
Takes no parameters.
disk_usage()#
Report total, used, and free space for the machine's filesystems.
Parameters
Takes no parameters.
Notes#
- Pure Python and standard library only — works on every supported OS with no extra install.
Source#
Every package is a folder holding a README.md and a tool.py. Read this one on GitHub: lesysbot/lesysbot/tools/system-info.
To write your own, see Writing tools.