Skip to content

Instantly share code, notes, and snippets.

View isavcic's full-sized avatar

Ivan Savčić isavcic

View GitHub Profile
@isavcic
isavcic / nsjail-static-build.sh
Created February 21, 2020 11:05
nsjail static build
#!/bin/bash
### Usage:
# docker run --rm -v $(pwd)/nsjail-static-build.sh:/nsjail-static-build.sh -v $(pwd):/out ubuntu:18.04 ./nsjail-static-build.sh
apt-get -y update && apt-get install -y \
autoconf \
bison \
flex \
gcc \
# ./node_exporter-0.16.0.linux-amd64/node_exporter --collector.textfile.directory=/etc/prometheus/node_exporter --collector.supervisord
INFO[0000] Starting node_exporter (version=0.16.0, branch=HEAD, revision=d42bd70f4363dced6b77d8fc311ea57b63387e4f) source="node_exporter.go:82"
INFO[0000] Build context (go=go1.9.6, user=root@a67a9bc13a69, date=20180515-15:52:42) source="node_exporter.go:83"
INFO[0000] Enabled collectors: source="node_exporter.go:90"
INFO[0000] - arp source="node_exporter.go:97"
INFO[0000] - bcache source="node_exporter.go:97"
INFO[0000] - bonding source="node_exporter.go:97"
INFO[0000] - conntrack source="node_exporter.go:97"
INFO[0000] - cpu source="node_exporter.go:97"
INFO[0000] - diskstats source="node_exporter.go:97"