Tools for gathering system info on target
Hello,
What methods / tools do you use to gather system information on target for easier troubleshooting? System info like procFS & sysFS files, and output of various helpful commands like systemctl --status. Is there some tool or infra that's already available in OpenEmbedded layers?
I was thinking of porting sos report to Yocto to leverage the sos python framework for gathering system info. sos report has a --batch option that creates an archive containing many system files and outputs of many commands. sos provides many plugins that can be leveraged in Yocto targets like a systemd plugin which saves /etc/systemd/system.conf and other config files and collects the output of many systemctl & journalctl commands. https://github.com/sosreport/sos/blob/4.9.2/sos/report/plugins/systemd.py#L26-L57
Thank you,
Eric