Amazon EC2 System Monitor for macOS is a small agent that runs on every mac1.metal instance to provide on-instance metrics in CloudWatch. Currently the primary use case for this agent is to send CPU utilization metrics. This uses a serial connection attached via the AWS Nitro System and is forwarded to CloudWatch for the instance automatically. The agent is installed and enabled by default for all AMIs vended by AWS. It logs to /var/log/amazon/ec2/system-monitoring.log and can be updated via Homebrew. The package includes a shell script for enabling, disabling, and listing the current status of the agent according to launched. The Amazon EC2 System Monitor for macOS uses multiple goroutines to manage two primary mechanisms. The serial relay takes data from a UNIX domain socket and writes the data in a payload via a basic wire protocol. Runs a ticker that reads CPU utilization and sends the CPU usage percentage to the UNIX domain socket.

Features

  • Allows for multiple different processes to write to the serial device while allowing one process to always have the device open for writing
  • The wire protocol's primary purpose is to ensure the payload is complete by wrapping the payload in a checksum
  • There is a tag which is used as a namespace to ensure the reader knows what type of data is being written
  • This project is licensed under the Apache License, version 2.0
  • The agent is installed and enabled by default for all AMIs vended by AWS
  • Runs on every mac1.metal instance to provide on-instance metrics in CloudWatch

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Amazon EC2 System Monitor for macOS

Amazon EC2 System Monitor for macOS Web Site

You Might Also Like
La version gratuite d'Auth0 s'enrichit ! Icon
La version gratuite d'Auth0 s'enrichit !

Gratuit pour 25 000 utilisateurs avec intégration Okta illimitée : concentrez-vous sur le développement de vos applications.

Vous l'avez demandé, nous l'avons fait ! Les versions gratuite et payante d'Auth0 incluent des options qui vous permettent de développer, déployer et faire évoluer vos applications en toute sécurité. Utilisez Auth0 dès maintenant pour découvrir tous ses avantages.
Essayez Auth0 gratuitement
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Amazon EC2 System Monitor for macOS!

Additional Project Details

Operating Systems

Mac

Programming Language

Go

Related Categories

Go System Software, Go Network Monitoring Software

Registered

2022-07-07