Skip to content

Instantly share code, notes, and snippets.

View davefinster's full-sized avatar

Dave Finster davefinster

  • Google
  • Mountain View, California
View GitHub Profile
@davefinster
davefinster / alpine-debug-firstrun.log
Last active May 20, 2016 04:54
Strace Output for RethinkDB on LX
65510 execve("/usr/bin/rethinkdb", ["rethinkdb"], [/* 6 vars */]) = 0
65510 arch_prctl(ARCH_SET_FS, 0x7ffffcc88da8) = 0
65510 set_tid_address(0x7ffffcc88de0) = 65510
65510 open("/etc/ld-musl-x86_64.path", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
65510 open("/lib/libexecinfo.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
65510 open("/usr/local/lib/libexecinfo.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
65510 open("/usr/lib/libexecinfo.so.1", O_RDONLY|O_CLOEXEC) = 3
65510 fcntl(3, F_SETFD, FD_CLOEXEC) = 0
65510 fstat(3, {st_mode=S_IFREG|0755, st_size=63048, ...}) = 0
65510 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\t\0\0\0\0\0\0"..., 960) = 960
var suspendable = async (function () {
var promise1 = new Promise(.../* eventually produces the value 'p1' */);
var promise2 = new Promise(.../* eventually produces the value 'p2' */);
var thunk1 = function(callback) {.../* eventually produces the value 't1' */});
var thunk2 = function(callback) {.../* eventually produces the value 't2' */});
var thunk3 = ..., thunk4 = ...;
var r1 = await (promise1);
var r2 = await (thunk1);
var r3 = await (3.14);
var r4 = await ([promise2, 2, ['222', thunk2]]);
[root@00-25-90-85-46-2c ~]# dladm show-aggr
LINK POLICY ADDRPOLICY LACPACTIVITY LACPTIMER FLAGS
aggr0 L4 auto active short -----
[root@00-25-90-85-46-2c ~]# dladm show-aggr -L
LINK PORT AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIRED
aggr0 igb0 yes yes yes yes no no
-- igb1 yes yes yes yes no no
-- igb2 yes yes yes yes no no
-- igb3 yes yes yes yes no no
f6360ebc-8901-11e5-ba99-6bdb6d58c2ff amon release-20151112-20151112T054657Z-g7aa462f I smartos 2015-11-12T05:54:38Z
c9c33a02-8902-11e5-b575-67d8702073d6 redis release-20151112-20151112T055828Z-g0d6e5b9 I smartos 2015-11-12T06:01:04Z
ca483cfc-8902-11e5-b833-933f683a721e amonredis release-20151112-20151112T055849Z-g4bbca77 I smartos 2015-11-12T06:01:07Z
0864a534-8903-11e5-ae1b-b7a29fc73282 rabbitmq release-20151112-20151112T055838Z-gb1ad38d I smartos 2015-11-12T06:01:34Z
14d25e9c-8903-11e5-a6c3-fb40660505ba papi release-20151112-20151112T055911Z-g115b46f I smartos 2015-11-12T06:02:58Z
41110526-8903-11e5-b526-4fea9c94c3ae workflow release-20151112-20151112T060006Z-gda166cf I smartos 2015-11-12T06:04:25Z
53e52e3e-8903-11e5-8e72-6f005262cfa8 ufds release-20151112-20151112T055850Z-g7f31528 I smartos 2015-11-12T06:04:51Z
8cd6cd38-8903-11e5-9d51
8405d3c4-83f0-11e5-b676-8310425bb366 amon master-20151105T190005Z-g7aa462f I smartos 2015-11-05T19:07:31Z
4674b646-83f1-11e5-808a-ab67cadfd5b3 amonredis master-20151105T191031Z-g4bbca77 I smartos 2015-11-05T19:13:06Z
0148e442-83f2-11e5-80ec-1b732d5c2f99 manta-nameservice master-20151105T191044Z-g1d17fc1 I smartos 2015-11-05T19:16:31Z
cd2d08a0-83f1-11e5-8684-f383641a9854 assets master-20151105T191440Z-g7c6c02e I smartos 2015-11-05T19:16:56Z
de0a7eaa-83f1-11e5-9472-737952a0bba1 redis master-20151105T191504Z-g0d6e5b9 I smartos 2015-11-05T19:17:20Z
3dbd8c16-83f2-11e5-9d9a-67c164af795f ufds master-20151105T191331Z-g7f31528 I smartos 2015-11-05T19:19:38Z
4dac60de-83f2-11e5-a89a-cf321a773951 cnapi master-20151105T191451Z-g1b10189 I smartos 2015-11-05T19:20:08Z
61d065ec-83f2-11e5-95b8-33620b4fcb49 fwapi m
bed7db52-7dfe-11e5-8c49-07d2eb7642ee amon release-20151029-20151029T052637Z-g7aa462f I smartos 2015-10-29T05:34:05Z
90a3d9ec-7dff-11e5-a79c-f3d5392bad8c amonredis release-20151029-20151029T053744Z-g4bbca77 I smartos 2015-10-29T05:40:08Z
ef8935e2-7dff-11e5-9929-43ce928c6035 sdc-postgres release-20151029-20151029T053755Z-gaf20bc7 I smartos 2015-10-29T05:42:11Z
f68302c4-7dff-11e5-bd14-53043969142d redis release-20151029-20151029T054052Z-g0d6e5b9 I smartos 2015-10-29T05:43:01Z
6124aa88-7e00-11e5-87b1-67f7897d7bed manta-nameservice release-20151029-20151029T053904Z-g1d17fc1 I smartos 2015-10-29T05:44:43Z
5359aa84-7e00-11e5-9027-87e0f4cc9ecd assets release-20151029-20151029T054342Z-g7c6c02e I smartos 2015-10-29T05:45:43Z
7e0ae89c-7e00-11e5-8a63-0b2f57660143 ufds release-20151029-20151029T054004Z-g7f31528 I smartos 2015-10-29T05:46:55Z
a1bd02a2-7e00-11e5-af48-cfd6a894278a fwapi r
{
"v": 2,
"uuid": "bf816828-2862-4e9d-8c4a-e22372b83f53",
"owner": "930896af-bf8c-48d4-885c-6573a94b1853",
"name": "windows-2012-r2-std",
"version": "20151116",
"state": "active",
"disabled": false,
"public": true,
"type": "zvol",
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
vmaddr 0x0000000000000000
vmsize 0x0000000100000000
fileoff 0
filesize 0
maxprot 0x00000000
initprot 0x00000000
VNICState {
VLANClientState vns_nc = {
NetClientInfo *info = qemu-system-x86_64`net_vnic_info
int link_down = 0
struct next = {
struct VLANClientState *tqe_next = 0x101121f70
struct VLANClientState **tqe_prev = 0xf64508
}
struct VLANState *vlan = 0xf64500
VLANClientState *peer = 0
#!/bin/bash
#install a set of pre-req packages
sudo pkgin in build-essential git libX11 xproto xcb-proto xextproto inputproto checkperms renderproto libtool nbpatch kbproto xproto xcb-proto xextproto inputproto xineramaproto dri2proto glproto damageproto fixesproto xf86vidmodeproto xf86driproto randrproto freetype2 ghostscript libXrender urw-fonts libiconv libdrm
#clone from development
git clone --recursive https://github.com/wkhtmltopdf/wkhtmltopdf.git
cd wkhtmltopdf
cd qt
#fetch the set of patches