Skip to content

.NET 6 worker service that monitors the CPU usage of ssh-agent.exe and kills it as soon as it exceeds a defined limit for a defined amount of time

License

Notifications You must be signed in to change notification settings

MA-Maddin/ssh-agent-monitor

Repository files navigation

SSH Agent Monitor

This repository contains the source code of the SSH Agent Monitor project (C# .NET 6 worker service) and a Wix 3 project to build the Windows Service installer for it.

If you just want to use the software, follow Setup Prerequisites below and then use the latest released *.msi package to install SSH Agent Monitor as a Windows Service.
You may customize the monitoring behavior of the service by editing the "Monitoring" section of appsettings.json (can be found in install folder C:\Program Files (x86)\SSH Agent Monitor [default location]). See MonitoringOptions.cs for documentation.

If you want to touch the code and build it yourself, see Development/Build Requirements below.

Setup Prerequisites

  • .NET Desktop Runtime 6.0 installed. Download (6.0.9)
    Or latest version from here: Download (".NET Desktop Runtime", Windows, x86).

Development/Build Requirements

For Worker Service project

  • Visual Studio 2022 (Community or better). Download

For Setup project

  • Wix Toolset build tools (3.11). Download
  • Wix Toolset Visual Studio 2022 Extension. Download

About

.NET 6 worker service that monitors the CPU usage of ssh-agent.exe and kills it as soon as it exceeds a defined limit for a defined amount of time

Resources

License

Stars

Watchers

Forks

Packages

No packages published