Remotely Monitor Logs via Mac OS X Terminal
System log auditing and monitoring is important in a corporate network. One way of monitoring logs can be done using SSH.
You can monitor system logs of a remote machine using the following command:
To output it as a file on your local machine, append '> YourPath/outputLogFile'. Thus,
You can monitor system logs of a remote machine using the following command:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh adminuser@remotehost 'tail -f /var/log/system.log' |
To output it as a file on your local machine, append '> YourPath/outputLogFile'. Thus,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh adminuser@remotehost 'tail -f /va/log/system.log' > YourPath/outputLogFile.log |
Post Title :
Remotely Monitor Logs via Mac OS X Terminal