Skip to content

Instantly share code, notes, and snippets.

# img pull -d registry-1.docker.io/grayhemp/base:master
DEBU[0000] using backend: native
Pulling registry-1.docker.io/grayhemp/base:master...
DEBU[0000] serving grpc connection
DEBU[0000] resolving
DEBU[0000] do request request.headers="map[Accept:[application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, *]]" request.method=HEAD url="https://registry-1.docker.io/v2/grayhemp/base/manifests/master"
DEBU[0000] fetch response received response.headers="map[Strict-Transport-Security:[max-age=31536000] Content-Type:[application/json; charset=utf-8] Docker-Distribution-Api-Version:[registry/2.0] Www-Authenticate:[Bearer realm=\"https://auth.docker.io/token\",service=\"registry.docker.io\",scope=\"repository:grayhemp/base:pull\"] Date:[Fri, 2
skonoplev@OSF10074:~/Projects/pgcookbook$ sudo bash bin/stat_system.sh
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Load average: 1min=0.21 5min=0.31 15min=0.32
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO CPU usage, %: user=4.25 nice=0.00 system=2.48 idle=93.23 iowait=0.02 irq=0.00 softirq=0.00 steal=0.00 guest=0.00 guest_nice=0.00
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Memory size, kB: total=15521756 used=2666064 free=9988544 buffers=321688 cached=2545460
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Swap size, kB: total=15850492 used=0 free=15850492
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Context switch, /s: value=4218
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Page count, /s: in=0 out=903
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Swap page count, /s: in=0 out=0
2015-06-29T01:11:54-0700 OSF10074 18740 stat_system.sh INFO Disk IO count, /s: partition=sda1 read=0 read_merged=0 write=16 wri
$ docker run --link syslog:syslog ubuntu:14.04 bash -c \
> 'echo netcat:"hello remote tcp" \
> | nc -w 1 $SYSLOG_PORT_514_TCP_ADDR $SYSLOG_PORT_514_TCP_PORT'
$ docker run --link syslog:syslog ubuntu:14.04 bash -c \
> 'echo netcat:"hello remote udp" \
> | nc -w 1 $SYSLOG_PORT_514_UDP_ADDR $SYSLOG_PORT_514_UDP_PORT'
$ docker run --link syslog:syslog ubuntu:14.04 bash -c \
> 'logger -n $SYSLOG_PORT_514_TCP_ADDR -P $SYSLOG_PORT_514_TCP_PORT \
nspname | relname | pgstattuple | pgtoolkit | pgtoolkit_dev | ioguix | ioguix_dev | pgx | pgx_dev
---------+-----------+-------------+-----------+---------------+--------+------------+-----+---------
public | table7 | 79.84 | 80.76 | -0.92 | 80.62 | -0.78 | 81 | -1.16
public | table5_p2 | 58.09 | 60.97 | -2.88 | 57.71 | 0.38 | 60 | -1.91
public | table2 | 45.70 | 56.52 | -10.82 | 47.83 | -2.13 | 48 | -2.30
public | table1 | 44.02 | 54.93 | -10.91 | 49.30 | -5.28 | 75 | -30.98
public | table4 | 45.96 | 44.00 | 1.96 | 44.00 | 1.96 | 28 | 17.96
public | table5_p1 | 30.30 | 33.62 | -3.32 | 23.83 | 6.47 | 33 | -2.70
public | table5 | 50.07 | 14.52 | 35.55 | 50.81 | -0.74 | 14 | 36.07
public | table3 | 7.28 | -4.00 | 11.28 | 0.00 | 7.28 | 0 | 7.28