Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| monitor:syslog [2016/11/19 03:29] – Example top usage for monitoring sbbs threads. digital man | monitor:syslog [2024/12/16 01:18] (current) – [Monitoring] add a Darwin/macOS example use of 'log' digital man | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== Monitoring Node Status ===== | + | Synchronet for *nix-like OSes can send its server and services output to your system' |
| - | $watch /sbbs/exec/node list | + | |
| - | < | + | $ sbbs syslog |
| - | Every 2.0s: /sbbs/exec/node list | + | |
| - | Synchronet Node Display/ | + | ===== Configuring ===== |
| - | Node 1: User #1 posting message | + | The syslog functionality is configurable |
| - | Node 2: Waiting for connection | + | |
| - | Node 3: Waiting for connection | + | |
| - | Node 4: Waiting for connection | + | |
| - | Node 5: Waiting for connection | + | |
| - | Node 6: Waiting for connection | + | |
| - | Node 7: Waiting for connection | + | |
| - | Node 8: Waiting for connection | + | |
| - | Node 9: Waiting for connection | + | |
| - | Node 10: Waiting for connection | + | |
| - | </code> | + | |
| - | ===== Monitoring | + | You can further configure your syslog output (e.g. directories and filenames) through the setup of your system' |
| + | |||
| + | ===== Monitoring ===== | ||
| The '' | The '' | ||
| + | $ tail -f / | ||
| - | $tail -f /var/log/messages | + | If you're using **systemd** to start and control '' |
| - | + | $ journalctl | |
| - | ===== Monitoring Socket Usage ===== | + | |
| - | $watch ' | + | |
| - | ===== Monitoring Threads ===== | + | Another option for systemd systems is to use '' |
| - | $top -o -COMMAND -H -p " | + | $ sudo watch systemctl status |
| | | ||
| + | An alternative tool to actively monitor log files is the '' | ||
| + | |||
| + | $ sudo lnav / | ||
| + | |||
| + | On Darwin/ | ||
| + | |||
| + | $ log stream --debug --process sbbs | ||
| + | |||
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||
| + | * [[: | ||
| - | {{tag> | + | {{tag> |
| {{indexmenu_n> | {{indexmenu_n> | ||