Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mmoulton on github.
  • I am mmoulton (https://keybase.io/mmoulton) on keybase.
  • I have a public key whose fingerprint is EBAF A967 B451 E6F0 BF50 0F01 BC10 96C2 A1FF 0FB6

To claim this, I am signing this object:

@mmoulton
mmoulton / README.md
Last active November 7, 2020 18:19
Docker Container Stats Collection Using Collectd

Docker stats collection for collectd

This script can be used to feed collectd with cpu and memory usage statistics for running docker containers using the collectd exec plugin.

This script will report the used and cached memory as well as the user and system cpu usage by inspecting the appropriate cgroup stat file for each running container.

Usage

This script is intented to be executed by collectd on a host with running docker containers. To use, simply configure the exec plugin in collectd to execute the collectd-docker.sh script. You may need to adjust the script to match your particulars, such as the mount location for cgroup.

@mmoulton
mmoulton / OpenSourceOrganization.md
Created July 18, 2013 17:03
Proposed Open Source Software / Hardware Professional Organization

Mision

To promote the professional development of open source software and hardware through financial and professional services support.

Charter

  • Ongoing funding of established projects as selected by organization / members
  • Incubate new projects via grant process
  • Provided professional services to members
    • Mentoring
    • Legal
  • Etc.
@mmoulton
mmoulton / README.md
Last active December 11, 2015 04:28
How to capture screenshots of website using 'crawl' and 'capture'

Install

First install 'crawl' and 'capture'

npm install -g crawl
npm install -g capture

Note: 'capture' requires PhantomJS. I generaly install using homebrew on a Mac.

Crawl Site