C # File Monitoring tool (monitoring and output of append content)

Source: Internet
Author: User

C # File monitoring (Monitoring and output of additional content), suitable for monitoring log files (logs) in a directory, was originally developed on Linux to be deployed on the Jexus deployment site to the real-time output of Jexus log and its own site log files (has been tested by the run under Mono, So it's a tool that supports win and Linux).

This way I ssh link after mono AppendContentToCosole.exe can view log in real time, no longer use cat log.log.

Print output monitoring directory and related parameters after running

The application sibling has a parem.txt configuration file that configures the monitored directory and the file types required for monitoring, and then outputs the appended content (that is, the log information) in real time after running.

Rename Test succeeded

New file Test succeeded

Append content Display Success

Run under Ubuntu14.04

Attach source code

Download

C # File Monitoring tool (monitoring and output of append content)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.