This came up back on August 9th 2020 in #lobsters on freenode. They were doing a system upgrade and providing a report by using `watch` to `cat` together a HTML header and footer with `mysql -e ‘select * from information_schema.processlist’` to provide a status report. Thought that was a neat hack.
So today I added a Power section to John’s Linux page.
Particularly some notes on using the ‘upsc’ and ‘upscmd’ commands in Reporting on PowerShield DEFENDER UPS status and Run commands on PowerShield DEFENDER UPS batteries sections.
Today learned about the dpkg -s command, e.g.
# dpkg -s kde-baseapps
Getting spammed courtesy my Debian VMWare image, notifying me of an “mpt raid status change”. Looked here and fixed the problem with:
# /etc/init.d/mpt-statusd stop # update-rc.d -f mpt-statusd remove
Today I learned that you can get a status report from fail2ban by running:
$ sudo fail2ban-client status