Linux sysadmins of Twitter -- is there some way to have warnings / errors / crits broadcasted to all active terminal sessions on a server so that if something goes wrong while I'm SSH'ed into a server, I'll see a live warning in my terminal session? Like from dmesg, etc.?
Conversation
'wall' is good. So is logger.
$ logger -p emerg 'Hello'
Unlike 'wall', logger will also log to syslog.
You can also modify syslog to write certain messages to 'wall' users, but that can get annoying fast.
2


