Skip to content

Instantly share code, notes, and snippets.

@derduher
Created June 18, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derduher/84540961e7f70b7d2172 to your computer and use it in GitHub Desktop.
Save derduher/84540961e7f70b7d2172 to your computer and use it in GitHub Desktop.
npm rebuilds non-commit git urls
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm sill cache add args [ 'nsutil@git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add null ]
npm verb cache add spec nsutil@git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache add parsed spec { raw: 'nsutil@git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add scope: null,
npm sill cache add name: 'nsutil',
npm sill cache add rawSpec: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add spec: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add type: 'hosted',
npm sill cache add hosted:
npm sill cache add { type: 'github',
npm sill cache add ssh: 'git@github.com:derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add sshUrl: 'git+ssh://git@github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add httpsUrl: 'git+https://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add gitUrl: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add shortcut: 'github:derduher/nsutil#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill cache add directUrl: 'https://raw.githubusercontent.com/derduher/nsutil/9853529409926b6a33dc5eb52528f3aadd2a1a51/package.json' } }
npm verb addRemoteGit caching git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addRemoteGit git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 is a repository hosted by github
npm sill tryClone cloning git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 via git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb tryClone git-github-com-derduher-nsutil-git-c1546081 not in flight; caching
npm info git [ 'config', '--get', 'remote.origin.url' ]
npm sill validateExistingRemote git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 remote.origin.url: git://github.com/derduher/nsutil.git
npm verb validateExistingRemote git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 is updating existing cached remote /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-c1546081
npm info git [ 'fetch', '-a', 'origin' ]
npm verb updateRemote git fetch -a origin (git://github.com/derduher/nsutil.git)
npm verb setPermissions git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 set permissions on /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-c1546081
npm verb resolveHead git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 original treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'rev-list', '-n1', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm sill resolveHead git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 resolved treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb resolveHead git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 resolved Git URL: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill resolveHead Git working directory: /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-75674-20e228cc/git-cache-f13224b12bd8/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'clone',
npm info git '/Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-c1546081',
npm info git '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-75674-20e228cc/git-cache-f13224b12bd8/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb cloneResolved git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 clone Cloning into '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-75674-20e228cc/git-cache-f13224b12bd8/9853529409926b6a33dc5eb52528f3aadd2a1a51'...
npm verb cloneResolved done.
npm info git [ 'checkout', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb checkoutTreeish git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 checkout Note: checking out '9853529409926b6a33dc5eb52528f3aadd2a1a51'.
npm verb checkoutTreeish
npm verb checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
npm verb checkoutTreeish changes and commit them, and you can discard any commits you make in this
npm verb checkoutTreeish state without impacting any branches by performing another checkout.
npm verb checkoutTreeish
npm verb checkoutTreeish If you want to create a new branch to retain commits you create, you may
npm verb checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
npm verb checkoutTreeish
npm verb checkoutTreeish git checkout -b new_branch_name
npm verb checkoutTreeish
npm verb checkoutTreeish HEAD is now at 9853529... Merge pull request #1 from derduher/forknversion
npm verb addLocalDirectory /Users/patrick/.npm/nsutil/0.1.5/package.tgz not in flight; packing
npm verb tar pack [ '/Users/patrick/.npm/nsutil/0.1.5/package.tgz',
npm verb tar pack '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-75674-20e228cc/git-cache-f13224b12bd8/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb tarball /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb folder /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-75674-20e228cc/git-cache-f13224b12bd8/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addLocalTarball adding from inside cache /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb addRemoteGit data._from: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addRemoteGit data._resolved: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache afterAdd nsutil@0.1.5
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json written
npm sill install resolved [ { name: 'nsutil',
npm sill install resolved description: 'Node.js system utilities',
npm sill install resolved keywords:
npm sill install resolved [ 'system',
npm sill install resolved 'utilities',
npm sill install resolved 'performance',
npm sill install resolved 'cpu',
npm sill install resolved 'memory',
npm sill install resolved 'io',
npm sill install resolved 'net' ],
npm sill install resolved version: '0.1.5',
npm sill install resolved author: { name: 'Dx.Yang', email: 'x6doooo@gmail.com' },
npm sill install resolved repository:
npm sill install resolved { type: 'git',
npm sill install resolved url: 'git+ssh://git@github.com/x6doooo/nsutil.git' },
npm sill install resolved bugs: { url: 'http://github.com/x6doooo/nsutil/issues' },
npm sill install resolved dependencies: { nan: '^1.8.4' },
npm sill install resolved devDependencies: { mocha: '*' },
npm sill install resolved license: [ [Object] ],
npm sill install resolved engines: [ 'node >= 0.8.0' ],
npm sill install resolved main: './lib/nsutil.js',
npm sill install resolved homepage: 'https://github.com/x6doooo/nsutil',
npm sill install resolved scripts: { install: 'node-gyp rebuild' },
npm sill install resolved gypfile: true,
npm sill install resolved gitHead: '9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved readme: 'Nsutil.js\n===\nNode.js system utilities\n\n[![NPM](https://nodei.co/npm/nsutil.png)](https://nodei.co/npm/nsutil/)\n\n##Summary\n\n* a distribution of [psutil](https://code.google.com/p/psutil/), rebuilt with Node.js\n* support OSX & Linux\n\n##Install\n\n npm install nsutil\n\n##Prebuilt binaries (node v0.10.28)\n\n OSX 64-bit\n Linux 64-bit\n Linux 32-bit\n\n##Rebuild (if you need)\n\n```bash\nnode-gyp configure build\n```\n\n##Usage\n\n```js\nvar ns = require(\'nsutil\')\n\n// synchronous with return\nres = ns.cpuTimes()\n\n// callback (asynchronous or synchronous)\nns.cpuTimes(function(err, res) {\n if (!err) console.log(res);\n})\n\n// output => \n { user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n##APIs\n\n####CPU\n\n#####[Function] cpuTimes\n```js\n// sync\nres = ns.cpuTimes()\n\n// callback\nns.cpuTimes(function(err, res) { ... });\n\n// output => \n{ user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n#####[Function] perCpuTimes\n```js\n// sync\nres = ns.perCpuTimes()\n \n// callback\nns.perCpuTimes(function(err, res) { ... })\n\n// output =>\n [ { user: 174.18, nice: 0, sys: 123.64, idle: 1411.73 },\n { user: 68.05, nice: 0, sys: 42.15, idle: 1599.30 },\n { user: 129.05, nice: 0, sys: 62.55, idle: 1517.90 },\n { user: 58.15, nice: 0, sys: 28.77, idle: 1622.58 } ] \n```\n\n#####[Function] cpuCountLogical (cpuCountPhysical)\n```js\n// sync\nres = ns.cpuCountLogical()\n\n// callback\nns.cpuCountLogical(function(err, res) { ... })\n\n// output =>\n 2\n```\n\n####Memory\n\n#####[Function] virtualMemory\n```js\n// sync\nres = ns.virtualMemory()\n\n// callback\nns.virtualMemory(function(err, res) { ... })\n\n// output =>\n // OSX\n { total: 4294967296,\n active: 1476833280,\n avail: 1163386880,\n used: 3606433792,\n free: 237256704,\n inactive: 926130176,\n wire: 1203470336 }\n // Linux\n { total: 383238144,\n active: 66637824,\n avail: 315265024,\n used: 206503936,\n free: 176734208,\n inactive: 71880704,\n buffers: 25927680,\n cached: 112603136 }\n```\n\n#####[Function] swapMemory\n```js\n// sync\nres = ns.swapMemory()\n\n// callback\nns.swapMemory(function(err, res) { ... });\n\n// output =>\n { total: 1073741824,\n used: 6815744,\n free: 1066926080,\n sin: 2724483072,\n sout: 20860928 } \n```\n\n####Disks\n\n#####[Function] diskUsage\n```js\n// sync\nres = ns.diskUsage(\'/\')\n\n// callback\nns.diskUsage(\'/\', function(err, res) { ... })\n\n// output => unit:bytes\n { free: 816916015625,\n total: 1148920703125,\n used: 10647291015625 }\n```\n\n#####[Function] diskPartitions\n```js\n// sync\nres = ns.diskPartitions()\n\n// callback\nns.diskPartitions(function(err, res) { ... })\n\n// output =>\n [ { device: \'/dev/disk0s2\',\n mount_point: \'/\',\n fs_type: \'hfs\',\n options: \'rw,local,rootfs,dovolfs,journaled,multilabel\' },\n { device: \'devfs\',\n mount_point: \'/dev\',\n fs_type: \'devfs\',\n options: \'rw,local,dontbrowse,multilabel\' },\n ...] \n```\n\n#####[Function] diskIOCounters\n```js\n// sync\nres = ns.diskIOCounters()\n\n// callback\nns.diskIOCounters(function(err, res) { ... })\n\n// output =>\n { disk0: \n { reads: 1170484,\n writes: 668337,\n read_bytes: 18236701696,\n write_bytes: 21262711296,\n read_time: 825561,\n write_time: 540807 },\n disk1:\n { reads: 11704,\n writes: 6683,\n read_bytes: 182367016,\n write_bytes: 212627112,\n read_time: 8255,\n write_time: 5408 }\n ...} \n```\n\n####Network\n\n#####[Function] netConnections\n```js\n// sync\nres = ns.netConnections()\n\n// callback\nns.netConnections(function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...]\n```\n\n#####[Function] netIOCounters\n```js\n// sync\nres = ns.netIOCounters()\n\n// callback\nns.netIOCounters(function(err, res) { ... })\n\n// output => \n { bridge0: \n { obytes: 684,\n ibytes: 0,\n opkts: 2,\n ipkts: 0,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n en0: \n { obytes: 160304770,\n ibytes: 2578607670,\n opkts: 1614175,\n ipkts: 2421909,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n ...}\n```\n\n####Other system info\n\n#####[Function] bootTime\n```js\n// sync\nres = ns.bootTime()\n\n// callback\nns.bootTime(function(err, res) { ... })\n\n// output =>\n 1400543744000 // timestamp ms\n```\n\n#####[Function] users\n```js\n// sync\nres = ns.users()\n\n// callback\nns.users(function(err, res) { ... })\n\n// output =>\n [\n {"username":"Dx.Yang", "tty":"console", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys000", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys001", "host":"", "startTime":1400548608}\n ]\n```\n\n####Process management\n\n#####[Function] pids\n```js\n// sync\nres = ns.pids()\n\n// callback\nns.pids(function(err, res) { ... })\n\n// output =>\n [6652,6651,6640,6639,6638,6633,6632,6615,6606...]\n```\n\n####[Class] Process\n```js\n// only sync\nproc = ns.Process(6652) // arguments[0] is a pid\n// return a instance of Process\n```\n\n#####[Method] proc.name\n```js\n// sync\nres = proc.name()\n\n// callback\nproc.name(function(err, res) { ... })\n\n// output =>\n \'node\'\n```\n\n#####[Method] proc.exe\n```js\n// sync\nres = proc.exe()\n\n// callback\nproc.exe(function(err, res) { ... })\n\n// output =>\n \'/usr/local/bin/node\'\n```\n\n#####[Method] proc.cmdline\n```js\n// sync\nres = proc.cmdline()\n\n// callback\nproc.cmdline(function(err, res) { ... })\n\n// output =>\n [ \'node\',\n \'/usr/local/lib/node_modules/mocha/bin/_mocha\',\n \'test_osx.js\',\n \'-R\',\n \'spec\' ]\n```\n\n#####[Method] proc.ppid\n```js\n// sync\nres = proc.ppid()\n\n// callback\nproc.ppid(function(err, res) { ... })\n\n// output =>\n 6651 //parent process id \n```\n\n#####[Method] proc.cwd\n```js\n// sync\nres = proc.cwd()\n\n// callback\nproc.cwd(function(err, res) { ... })\n\n// output =>\n \'/Users/node_modules/nsutil/test\'\n```\n\n#####[Method] proc.uids\n```js\n// sync\nres = proc.uids()\n\n// callback\nproc.uids(function(err, res) { ... })\n\n// output =>\n { real: 501, effective: 501, saved: 501 }\n```\n\n#####[Method] proc.gids\n```js\n// sync\nres = proc.gids()\n\n// callback\nproc.gids(function(err, res) { ... })\n\n// output =>\n { real: 20, effective: 20, saved: 20 }\n```\n\n#####[Method] proc.terminal\n```js\n// sync\nres = proc.terminal()\n\n// callback\nproc.terminal(funciton(err, res) { ... })\n\n// output =>\n \'/dev/ttys004\'\n```\n\n#####[Method] proc.memoryInfo\n```js\n// sync\nres = proc.memoryInfo() \n\n// callback\nproc.memoryInfo(function(err, res) { ... })\n\n// output =>\n { rss: 18440192, vms: 3119169536 }\n```\n\n#####[Method] proc.cpuTimes\n```js\n// sync\nres = proc.cpuTimes()\n\n// callback\nproc.cpuTimes(function(err, res) { ... })\n\n// output =>\n { user: 0.139774113, sys: 0.027113125 }\n```\n\n#####[Method] proc.createTime\n```js\n// sync\nproc.createTime()\n\n// callback\nproc.createTime(function(err, res) { ... })\n\n// output => \n 1400565545000 // timestamp ms\n```\n\n#####[Method] proc.numCtxSwitches\n```js\n// sync\nres = proc.numCtxSwitches()\n\n// callback\nproc.numCtxSwitches(function(err, res) { ... })\n\n// output =>\n { voluntary: 32, involuntary: 4 } \n```\n\n#####[Method] proc.numThreads\n```js\n// sync\nres = proc.numThreads()\n\n// callback\nproc.numThreads(function(err, res) { ... })\n\n// output =>\n 4\n```\n\n#####[Method] proc.openFiles\n```js\n// sync\nres = proc.openFiles()\n\n// callback\nproc.openFiles(function(err, res) { ... })\n\n// output =>\n [ { path: \'/dev/ttys004\', fd: 0 },\n { path: \'/dev/ttys004\', fd: 1 },\n { path: \'/dev/ttys004\', fd: 2 },\n ... ]\n```\n\n#####[Method] proc.connections\n```js\n// sync\nres = proc.connections() // default is \'all\'\n// or\nres = proc.connections(\'inet\') // or tcp、tcp4、tcp6、udp、udp4、udp6、unix、inet、inet4、inet6\n\n// callback\nproc.connections(function(err, res) { ... })\n// or\nproc.connections(\'inet\', function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...] \n```\n\n#####[Method] proc.numFds\n```js\n// sync\nres = proc.numFds()\n\n// callback\nproc.numFds(function(err, res) { ... })\n\n// output =>\n 12\n```\n\n#####[Method] proc.getNice\n```js\n// sync\nres = proc.getNice()\n\n// callback\nproc.getNice(function(err, res) { ... })\n\n// output =>\n 0\n```\n\n#####[Method] proc.setNice\n```js\n// sync\nres = proc.setNice(10) // arguments[0] is nice value\n\n// callback\nproc.setNice(10, function(err, res) { ... });\n\n// output =>\n 0 // success\n -1 // fail\n```\n\n#####[Method] proc.status\n```js\n// sync\nres = proc.status()\n\n// callback\nproc.status(function(err, res) { ... })\n\n// output =>\n \'running\'\n```\n\n#####[Method] proc.threads\n```js\n// sync\nres = proc.threads()\n\n// callback\nproc.threads(function(err, res) { ... })\n\n// output =>\n [ { idx: 1, \n user: 0.14695000648498535, \n sys: 0.02574799954891205 },\n { idx: 2,\n user: 0.00007100000220816582,\n sys: 0.00008600000001024455 },\n { idx: 3,\n user: 0.00002499999936844688,\n sys: 0.00008499999967170879 },\n { idx: 4,\n user: 0.0006169999833218753,\n sys: 0.0019920000340789557 } ]\n```\n\n#####[Method] proc.memMaps\n```js\n// sync\nres = proc.memMaps()\n\n// callback\nproc.memMaps(function(err, res) { ... })\n\n// output =>\n // OSX\n [\n {\n "pmmap_ext" : "0000000100000000-0000000100617000",\n "addr_perms" : "r-x/rwx",\n "path":"/usr/local/bin/node",\n "rss" : 45056,\n "private" : 0,\n "swapped" : 0,\n "dirtied" : 0,\n "ref_count" : 7,\n "shadow_depth" : 1\n },\n ...]\n // Linux\n [\n { \n "pmmap_ext": "7f1517342000-7f151734e000",\n "addr_perms": "r-xp",\n "path": "/lib/x86_64-linux-gnu/libnss_files-2.17.so",\n "Size": 49152,\n "Rss": 0, \n "Pss": 0, \n "Shared_Clean": 0, \n "Shared_Dirty": 0, \n "Private_Clean": 0,\n "Private_Dirty": 0,\n "Referenced": 0,\n "Anonymous": 0,\n "AnonHugePages": 0,\n "Swap": 0,\n "KernelPageSize": 4096,\n "MMUPageSize": 4096,\n "Locked": 0\n },\n ...]\n```\n\n#####[Method] proc.ioCounters (Linux only)\n```js\n// sync\nres = proc.ioCounters()\n\n// callback\nproc.ioCounters(function(err, res) { ... })\n\n// output=>\n { rcount: 20474, wcount: 14600, rbytes: 2109440, wbytes: 8192 }\n```\n\n\n\n',
npm sill install resolved readmeFilename: 'README.md',
npm sill install resolved _id: 'nsutil@0.1.5',
npm sill install resolved _shasum: 'b8adbce4b2e544cb04894e19a36ed1129d9300b5',
npm sill install resolved _from: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved _resolved: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51' } ]
npm info install nsutil@0.1.5 into /Users/patrick/projects/unifi-video-nodejs
npm info installOne nsutil@0.1.5
npm verb installOne of nsutil to /Users/patrick/projects/unifi-video-nodejs not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill install write writing nsutil 0.1.5 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb unbuild node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb tar unpack /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_osx.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_osx.node
npm sill gunzTarPerm extractEntry lib/nsutil.js
npm sill gunzTarPerm extractEntry src/nsutil/common.js
npm sill gunzTarPerm extractEntry src/nsutil/nsosx.js
npm sill gunzTarPerm extractEntry src/nsutil/nsposix.js
npm sill gunzTarPerm extractEntry src/nsutil/nslinux.js
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.h
npm sill gunzTarPerm extractEntry test/test.js
npm sill gunzTarPerm extractEntry test/Makefile
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info preinstall nsutil@0.1.5
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill prepareForInstallMany adding nan@^1.8.4 from nsutil dependencies
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nan@^1.8.4', null ]
npm verb cache add spec nan@^1.8.4
npm sill cache add parsed spec { raw: 'nan@^1.8.4',
npm sill cache add scope: null,
npm sill cache add name: 'nan',
npm sill cache add rawSpec: '^1.8.4',
npm sill cache add spec: '>=1.8.4 <2.0.0',
npm sill cache add type: 'range' }
npm sill addNamed nan@>=1.8.4 <2.0.0
npm verb addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
npm sill addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
npm sill mapToRegistry name nan
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 1:16:40 PM
npm verb request id e6a614b89ad18d58
npm verb etag "CWMZR9BQ6YD6KL99MGG0CU5U5"
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm sill get cb [ 304,
npm sill get { date: 'Thu, 18 Jun 2015 20:16:40 GMT',
npm sill get via: '1.1 varnish',
npm sill get 'cache-control': 'max-age=60',
npm sill get etag: '"CWMZR9BQ6YD6KL99MGG0CU5U5"',
npm sill get age: '36',
npm sill get connection: 'keep-alive',
npm sill get 'x-served-by': 'cache-lax1427-LAX',
npm sill get 'x-cache': 'HIT',
npm sill get 'x-cache-hits': '2',
npm sill get 'x-timer': 'S1434658600.780298,VS0,VE0',
npm sill get vary: 'Accept' } ]
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/patrick/.npm/registry.npmjs.org/nan/.cache.json
npm sill addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
npm sill addNameRange versions [ 'nan',
npm sill addNameRange [ '0.3.0-wip',
npm sill addNameRange '0.3.0-wip2',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.4',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.8.0',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1',
npm sill addNameRange '1.1.2',
npm sill addNameRange '1.2.0',
npm sill addNameRange '1.3.0',
npm sill addNameRange '1.4.0',
npm sill addNameRange '1.4.1',
npm sill addNameRange '1.5.0',
npm sill addNameRange '1.4.2',
npm sill addNameRange '1.4.3',
npm sill addNameRange '1.5.1',
npm sill addNameRange '1.5.2',
npm sill addNameRange '1.6.0',
npm sill addNameRange '1.5.3',
npm sill addNameRange '1.6.1',
npm sill addNameRange '1.6.2',
npm sill addNameRange '1.7.0',
npm sill addNameRange '1.8.0',
npm sill addNameRange '1.8.1',
npm sill addNameRange '1.8.2',
npm sill addNameRange '1.8.3',
npm sill addNameRange '1.8.4' ] ]
npm sill addNamed nan@1.8.4
npm verb addNamed "1.8.4" is a plain semver version for nan
npm sill cache afterAdd nan@1.8.4
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json written
npm sill install resolved [ { name: 'nan',
npm sill install resolved version: '1.8.4',
npm sill install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
npm sill install resolved main: 'include_dirs.js',
npm sill install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
npm sill install resolved scripts:
npm sill install resolved { test: 'tap --gc test/js/*-test.js',
npm sill install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
npm sill install resolved contributors:
npm sill install resolved [ [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object] ],
npm sill install resolved devDependencies:
npm sill install resolved { bindings: '~1.2.1',
npm sill install resolved 'node-gyp': '~1.0.2',
npm sill install resolved pangyp: '~2.0.1',
npm sill install resolved tap: '~0.7.1',
npm sill install resolved xtend: '~4.0.0' },
npm sill install resolved license: 'MIT',
npm sill install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
npm sill install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
npm sill install resolved homepage: 'https://github.com/iojs/nan#readme',
npm sill install resolved _id: 'nan@1.8.4',
npm sill install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved _from: 'nan@>=1.8.4 <2.0.0',
npm sill install resolved _npmVersion: '2.8.3',
npm sill install resolved _nodeVersion: '0.12.2',
npm sill install resolved _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
npm sill install resolved maintainers: [ [Object], [Object] ],
npm sill install resolved dist:
npm sill install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
npm sill install resolved directories: {},
npm sill install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
npm sill install resolved readme: 'ERROR: No README data found!' } ]
npm info install nan@1.8.4 into /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info installOne nan@1.8.4
npm verb installOne of nan to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill install write writing nan 1.8.4 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb unbuild node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb tar unpack /Users/patrick/.npm/nan/1.8.4/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm modified mode [ 'package.json', 436, 420 ]
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm modified mode [ 'README.md', 436, 420 ]
npm sill gunzTarPerm extractEntry include_dirs.js
npm sill gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
npm sill gunzTarPerm extractEntry LICENSE.md
npm sill gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
npm sill gunzTarPerm extractEntry .dntrc
npm sill gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
npm sill gunzTarPerm extractEntry appveyor.yml
npm sill gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
npm sill gunzTarPerm extractEntry nan.h
npm sill gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_new.h
npm sill gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_string_bytes.h
npm sill gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
npm sill gunzTarPerm extractEntry CHANGELOG.md
npm sill gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm info preinstall nan@1.8.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm sill install resolved []
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info linkStuff nan@1.8.4
npm sill linkStuff nan@1.8.4 has /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules as its parent node_modules
npm verb linkBins nan@1.8.4
npm verb linkMans nan@1.8.4
npm verb rebuildBundles nan@1.8.4
npm info install nan@1.8.4
npm info postinstall nan@1.8.4
npm verb unlock done using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info linkStuff nsutil@0.1.5
npm sill linkStuff nsutil@0.1.5 has /Users/patrick/projects/unifi-video-nodejs/node_modules as its parent node_modules
npm verb linkBins nsutil@0.1.5
npm verb linkMans nsutil@0.1.5
npm verb rebuildBundles nsutil@0.1.5
npm verb rebuildBundles [ 'nan' ]
npm info install nsutil@0.1.5
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.12.4 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/local/bin/python
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.12.4
gyp verb command install [ 'v0.12.4' ]
gyp verb install input version string "v0.12.4"
gyp verb install installing version: 0.12.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.12.4
gyp verb build dir attempting to create "build" dir: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build dir "build" dir needed to be created? /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { clang: 1,
gyp sill build/config.gypi host_arch: 'x64',
gyp sill build/config.gypi icu_data_file: 'icudt54l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu/source/data/in/icudt54l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: './deps/icu',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '54',
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_v8: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_dtrace: true,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_mdb: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi python: '/usr/bin/python',
gyp sill build/config.gypi target_arch: 'x64',
gyp sill build/config.gypi uv_library: 'static_library',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: true,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_use_snapshot: false,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/Users/patrick/.node-gyp/0.12.4',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi globalignorefile: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmignore',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi shell: '/usr/local/bin/bash',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi npat: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi globalconfig: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmrc',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi spin: 'true',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi cafile: '',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi proprietary_attribs: 'true',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi json: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi init_module: '/Users/patrick/.npm-init.js',
gyp sill build/config.gypi userconfig: '/Users/patrick/.npmrc',
gyp sill build/config.gypi node_version: '0.12.4',
gyp sill build/config.gypi user: '501',
gyp sill build/config.gypi editor: 'vim',
gyp sill build/config.gypi save: '',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi searchsort: 'name',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi group: '20',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi cache: '/Users/patrick/.npm',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi user_agent: 'npm/2.10.1 node/v0.12.4 darwin x64',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi tmp: '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi prefix: '/Users/patrick/.nvm/versions/node/v0.12.4' } }
gyp verb build/config.gypi writing out config file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/config.gypi
gyp verb common.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/patrick/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/patrick/.node-gyp/0.12.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm verb unsafe-perm in lifecycle true
npm info postinstall nsutil@0.1.5
npm verb unlock done using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb installManyTop reading scoped package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info package.json nsutil@0.1.5 license should be a valid SPDX license expression
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb targetResolver reading package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm verb already installed skipping nsutil@git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51 /Users/patrick/projects/unifi-video-nodejs
npm sill install resolved []
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm sill cache add args [ 'nsutil@git://github.com/derduher/nsutil.git', null ]
npm verb cache add spec nsutil@git://github.com/derduher/nsutil.git
npm sill cache add parsed spec { raw: 'nsutil@git://github.com/derduher/nsutil.git',
npm sill cache add scope: null,
npm sill cache add name: 'nsutil',
npm sill cache add rawSpec: 'git://github.com/derduher/nsutil.git',
npm sill cache add spec: 'git://github.com/derduher/nsutil.git',
npm sill cache add type: 'hosted',
npm sill cache add hosted:
npm sill cache add { type: 'github',
npm sill cache add ssh: 'git@github.com:derduher/nsutil.git',
npm sill cache add sshUrl: 'git+ssh://git@github.com/derduher/nsutil.git',
npm sill cache add httpsUrl: 'git+https://github.com/derduher/nsutil.git',
npm sill cache add gitUrl: 'git://github.com/derduher/nsutil.git',
npm sill cache add shortcut: 'github:derduher/nsutil',
npm sill cache add directUrl: 'https://raw.githubusercontent.com/derduher/nsutil/master/package.json' } }
npm verb addRemoteGit caching git://github.com/derduher/nsutil.git
npm verb addRemoteGit git://github.com/derduher/nsutil.git is a repository hosted by github
npm sill tryClone cloning git://github.com/derduher/nsutil.git via git://github.com/derduher/nsutil.git
npm verb tryClone git-github-com-derduher-nsutil-git-5fbf8e47 not in flight; caching
npm info git [ 'config', '--get', 'remote.origin.url' ]
npm sill validateExistingRemote git://github.com/derduher/nsutil.git remote.origin.url: git://github.com/derduher/nsutil.git
npm verb validateExistingRemote git://github.com/derduher/nsutil.git is updating existing cached remote /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47
npm info git [ 'fetch', '-a', 'origin' ]
npm verb updateRemote git fetch -a origin (git://github.com/derduher/nsutil.git)
npm verb setPermissions git://github.com/derduher/nsutil.git set permissions on /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47
npm verb resolveHead git://github.com/derduher/nsutil.git original treeish: master
npm info git [ 'rev-list', '-n1', 'master' ]
npm sill resolveHead git://github.com/derduher/nsutil.git resolved treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb resolveHead git://github.com/derduher/nsutil.git resolved Git URL: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill resolveHead Git working directory: /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-79545-f564f073/git-cache-850d06ef148e/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'clone',
npm info git '/Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47',
npm info git '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-79545-f564f073/git-cache-850d06ef148e/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb cloneResolved git://github.com/derduher/nsutil.git clone Cloning into '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-79545-f564f073/git-cache-850d06ef148e/9853529409926b6a33dc5eb52528f3aadd2a1a51'...
npm verb cloneResolved done.
npm info git [ 'checkout', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb checkoutTreeish git://github.com/derduher/nsutil.git checkout Note: checking out '9853529409926b6a33dc5eb52528f3aadd2a1a51'.
npm verb checkoutTreeish
npm verb checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
npm verb checkoutTreeish changes and commit them, and you can discard any commits you make in this
npm verb checkoutTreeish state without impacting any branches by performing another checkout.
npm verb checkoutTreeish
npm verb checkoutTreeish If you want to create a new branch to retain commits you create, you may
npm verb checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
npm verb checkoutTreeish
npm verb checkoutTreeish git checkout -b new_branch_name
npm verb checkoutTreeish
npm verb checkoutTreeish HEAD is now at 9853529... Merge pull request #1 from derduher/forknversion
npm verb addLocalDirectory /Users/patrick/.npm/nsutil/0.1.5/package.tgz not in flight; packing
npm verb tar pack [ '/Users/patrick/.npm/nsutil/0.1.5/package.tgz',
npm verb tar pack '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-79545-f564f073/git-cache-850d06ef148e/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb tarball /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb folder /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-79545-f564f073/git-cache-850d06ef148e/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addLocalTarball adding from inside cache /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb addRemoteGit data._from: git://github.com/derduher/nsutil.git
npm verb addRemoteGit data._resolved: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache afterAdd nsutil@0.1.5
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json written
npm sill install resolved [ { name: 'nsutil',
npm sill install resolved description: 'Node.js system utilities',
npm sill install resolved keywords:
npm sill install resolved [ 'system',
npm sill install resolved 'utilities',
npm sill install resolved 'performance',
npm sill install resolved 'cpu',
npm sill install resolved 'memory',
npm sill install resolved 'io',
npm sill install resolved 'net' ],
npm sill install resolved version: '0.1.5',
npm sill install resolved author: { name: 'Dx.Yang', email: 'x6doooo@gmail.com' },
npm sill install resolved repository:
npm sill install resolved { type: 'git',
npm sill install resolved url: 'git+ssh://git@github.com/x6doooo/nsutil.git' },
npm sill install resolved bugs: { url: 'http://github.com/x6doooo/nsutil/issues' },
npm sill install resolved dependencies: { nan: '^1.8.4' },
npm sill install resolved devDependencies: { mocha: '*' },
npm sill install resolved license: [ [Object] ],
npm sill install resolved engines: [ 'node >= 0.8.0' ],
npm sill install resolved main: './lib/nsutil.js',
npm sill install resolved homepage: 'https://github.com/x6doooo/nsutil',
npm sill install resolved scripts: { install: 'node-gyp rebuild' },
npm sill install resolved gypfile: true,
npm sill install resolved gitHead: '9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved readme: 'Nsutil.js\n===\nNode.js system utilities\n\n[![NPM](https://nodei.co/npm/nsutil.png)](https://nodei.co/npm/nsutil/)\n\n##Summary\n\n* a distribution of [psutil](https://code.google.com/p/psutil/), rebuilt with Node.js\n* support OSX & Linux\n\n##Install\n\n npm install nsutil\n\n##Prebuilt binaries (node v0.10.28)\n\n OSX 64-bit\n Linux 64-bit\n Linux 32-bit\n\n##Rebuild (if you need)\n\n```bash\nnode-gyp configure build\n```\n\n##Usage\n\n```js\nvar ns = require(\'nsutil\')\n\n// synchronous with return\nres = ns.cpuTimes()\n\n// callback (asynchronous or synchronous)\nns.cpuTimes(function(err, res) {\n if (!err) console.log(res);\n})\n\n// output => \n { user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n##APIs\n\n####CPU\n\n#####[Function] cpuTimes\n```js\n// sync\nres = ns.cpuTimes()\n\n// callback\nns.cpuTimes(function(err, res) { ... });\n\n// output => \n{ user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n#####[Function] perCpuTimes\n```js\n// sync\nres = ns.perCpuTimes()\n \n// callback\nns.perCpuTimes(function(err, res) { ... })\n\n// output =>\n [ { user: 174.18, nice: 0, sys: 123.64, idle: 1411.73 },\n { user: 68.05, nice: 0, sys: 42.15, idle: 1599.30 },\n { user: 129.05, nice: 0, sys: 62.55, idle: 1517.90 },\n { user: 58.15, nice: 0, sys: 28.77, idle: 1622.58 } ] \n```\n\n#####[Function] cpuCountLogical (cpuCountPhysical)\n```js\n// sync\nres = ns.cpuCountLogical()\n\n// callback\nns.cpuCountLogical(function(err, res) { ... })\n\n// output =>\n 2\n```\n\n####Memory\n\n#####[Function] virtualMemory\n```js\n// sync\nres = ns.virtualMemory()\n\n// callback\nns.virtualMemory(function(err, res) { ... })\n\n// output =>\n // OSX\n { total: 4294967296,\n active: 1476833280,\n avail: 1163386880,\n used: 3606433792,\n free: 237256704,\n inactive: 926130176,\n wire: 1203470336 }\n // Linux\n { total: 383238144,\n active: 66637824,\n avail: 315265024,\n used: 206503936,\n free: 176734208,\n inactive: 71880704,\n buffers: 25927680,\n cached: 112603136 }\n```\n\n#####[Function] swapMemory\n```js\n// sync\nres = ns.swapMemory()\n\n// callback\nns.swapMemory(function(err, res) { ... });\n\n// output =>\n { total: 1073741824,\n used: 6815744,\n free: 1066926080,\n sin: 2724483072,\n sout: 20860928 } \n```\n\n####Disks\n\n#####[Function] diskUsage\n```js\n// sync\nres = ns.diskUsage(\'/\')\n\n// callback\nns.diskUsage(\'/\', function(err, res) { ... })\n\n// output => unit:bytes\n { free: 816916015625,\n total: 1148920703125,\n used: 10647291015625 }\n```\n\n#####[Function] diskPartitions\n```js\n// sync\nres = ns.diskPartitions()\n\n// callback\nns.diskPartitions(function(err, res) { ... })\n\n// output =>\n [ { device: \'/dev/disk0s2\',\n mount_point: \'/\',\n fs_type: \'hfs\',\n options: \'rw,local,rootfs,dovolfs,journaled,multilabel\' },\n { device: \'devfs\',\n mount_point: \'/dev\',\n fs_type: \'devfs\',\n options: \'rw,local,dontbrowse,multilabel\' },\n ...] \n```\n\n#####[Function] diskIOCounters\n```js\n// sync\nres = ns.diskIOCounters()\n\n// callback\nns.diskIOCounters(function(err, res) { ... })\n\n// output =>\n { disk0: \n { reads: 1170484,\n writes: 668337,\n read_bytes: 18236701696,\n write_bytes: 21262711296,\n read_time: 825561,\n write_time: 540807 },\n disk1:\n { reads: 11704,\n writes: 6683,\n read_bytes: 182367016,\n write_bytes: 212627112,\n read_time: 8255,\n write_time: 5408 }\n ...} \n```\n\n####Network\n\n#####[Function] netConnections\n```js\n// sync\nres = ns.netConnections()\n\n// callback\nns.netConnections(function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...]\n```\n\n#####[Function] netIOCounters\n```js\n// sync\nres = ns.netIOCounters()\n\n// callback\nns.netIOCounters(function(err, res) { ... })\n\n// output => \n { bridge0: \n { obytes: 684,\n ibytes: 0,\n opkts: 2,\n ipkts: 0,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n en0: \n { obytes: 160304770,\n ibytes: 2578607670,\n opkts: 1614175,\n ipkts: 2421909,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n ...}\n```\n\n####Other system info\n\n#####[Function] bootTime\n```js\n// sync\nres = ns.bootTime()\n\n// callback\nns.bootTime(function(err, res) { ... })\n\n// output =>\n 1400543744000 // timestamp ms\n```\n\n#####[Function] users\n```js\n// sync\nres = ns.users()\n\n// callback\nns.users(function(err, res) { ... })\n\n// output =>\n [\n {"username":"Dx.Yang", "tty":"console", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys000", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys001", "host":"", "startTime":1400548608}\n ]\n```\n\n####Process management\n\n#####[Function] pids\n```js\n// sync\nres = ns.pids()\n\n// callback\nns.pids(function(err, res) { ... })\n\n// output =>\n [6652,6651,6640,6639,6638,6633,6632,6615,6606...]\n```\n\n####[Class] Process\n```js\n// only sync\nproc = ns.Process(6652) // arguments[0] is a pid\n// return a instance of Process\n```\n\n#####[Method] proc.name\n```js\n// sync\nres = proc.name()\n\n// callback\nproc.name(function(err, res) { ... })\n\n// output =>\n \'node\'\n```\n\n#####[Method] proc.exe\n```js\n// sync\nres = proc.exe()\n\n// callback\nproc.exe(function(err, res) { ... })\n\n// output =>\n \'/usr/local/bin/node\'\n```\n\n#####[Method] proc.cmdline\n```js\n// sync\nres = proc.cmdline()\n\n// callback\nproc.cmdline(function(err, res) { ... })\n\n// output =>\n [ \'node\',\n \'/usr/local/lib/node_modules/mocha/bin/_mocha\',\n \'test_osx.js\',\n \'-R\',\n \'spec\' ]\n```\n\n#####[Method] proc.ppid\n```js\n// sync\nres = proc.ppid()\n\n// callback\nproc.ppid(function(err, res) { ... })\n\n// output =>\n 6651 //parent process id \n```\n\n#####[Method] proc.cwd\n```js\n// sync\nres = proc.cwd()\n\n// callback\nproc.cwd(function(err, res) { ... })\n\n// output =>\n \'/Users/node_modules/nsutil/test\'\n```\n\n#####[Method] proc.uids\n```js\n// sync\nres = proc.uids()\n\n// callback\nproc.uids(function(err, res) { ... })\n\n// output =>\n { real: 501, effective: 501, saved: 501 }\n```\n\n#####[Method] proc.gids\n```js\n// sync\nres = proc.gids()\n\n// callback\nproc.gids(function(err, res) { ... })\n\n// output =>\n { real: 20, effective: 20, saved: 20 }\n```\n\n#####[Method] proc.terminal\n```js\n// sync\nres = proc.terminal()\n\n// callback\nproc.terminal(funciton(err, res) { ... })\n\n// output =>\n \'/dev/ttys004\'\n```\n\n#####[Method] proc.memoryInfo\n```js\n// sync\nres = proc.memoryInfo() \n\n// callback\nproc.memoryInfo(function(err, res) { ... })\n\n// output =>\n { rss: 18440192, vms: 3119169536 }\n```\n\n#####[Method] proc.cpuTimes\n```js\n// sync\nres = proc.cpuTimes()\n\n// callback\nproc.cpuTimes(function(err, res) { ... })\n\n// output =>\n { user: 0.139774113, sys: 0.027113125 }\n```\n\n#####[Method] proc.createTime\n```js\n// sync\nproc.createTime()\n\n// callback\nproc.createTime(function(err, res) { ... })\n\n// output => \n 1400565545000 // timestamp ms\n```\n\n#####[Method] proc.numCtxSwitches\n```js\n// sync\nres = proc.numCtxSwitches()\n\n// callback\nproc.numCtxSwitches(function(err, res) { ... })\n\n// output =>\n { voluntary: 32, involuntary: 4 } \n```\n\n#####[Method] proc.numThreads\n```js\n// sync\nres = proc.numThreads()\n\n// callback\nproc.numThreads(function(err, res) { ... })\n\n// output =>\n 4\n```\n\n#####[Method] proc.openFiles\n```js\n// sync\nres = proc.openFiles()\n\n// callback\nproc.openFiles(function(err, res) { ... })\n\n// output =>\n [ { path: \'/dev/ttys004\', fd: 0 },\n { path: \'/dev/ttys004\', fd: 1 },\n { path: \'/dev/ttys004\', fd: 2 },\n ... ]\n```\n\n#####[Method] proc.connections\n```js\n// sync\nres = proc.connections() // default is \'all\'\n// or\nres = proc.connections(\'inet\') // or tcp、tcp4、tcp6、udp、udp4、udp6、unix、inet、inet4、inet6\n\n// callback\nproc.connections(function(err, res) { ... })\n// or\nproc.connections(\'inet\', function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...] \n```\n\n#####[Method] proc.numFds\n```js\n// sync\nres = proc.numFds()\n\n// callback\nproc.numFds(function(err, res) { ... })\n\n// output =>\n 12\n```\n\n#####[Method] proc.getNice\n```js\n// sync\nres = proc.getNice()\n\n// callback\nproc.getNice(function(err, res) { ... })\n\n// output =>\n 0\n```\n\n#####[Method] proc.setNice\n```js\n// sync\nres = proc.setNice(10) // arguments[0] is nice value\n\n// callback\nproc.setNice(10, function(err, res) { ... });\n\n// output =>\n 0 // success\n -1 // fail\n```\n\n#####[Method] proc.status\n```js\n// sync\nres = proc.status()\n\n// callback\nproc.status(function(err, res) { ... })\n\n// output =>\n \'running\'\n```\n\n#####[Method] proc.threads\n```js\n// sync\nres = proc.threads()\n\n// callback\nproc.threads(function(err, res) { ... })\n\n// output =>\n [ { idx: 1, \n user: 0.14695000648498535, \n sys: 0.02574799954891205 },\n { idx: 2,\n user: 0.00007100000220816582,\n sys: 0.00008600000001024455 },\n { idx: 3,\n user: 0.00002499999936844688,\n sys: 0.00008499999967170879 },\n { idx: 4,\n user: 0.0006169999833218753,\n sys: 0.0019920000340789557 } ]\n```\n\n#####[Method] proc.memMaps\n```js\n// sync\nres = proc.memMaps()\n\n// callback\nproc.memMaps(function(err, res) { ... })\n\n// output =>\n // OSX\n [\n {\n "pmmap_ext" : "0000000100000000-0000000100617000",\n "addr_perms" : "r-x/rwx",\n "path":"/usr/local/bin/node",\n "rss" : 45056,\n "private" : 0,\n "swapped" : 0,\n "dirtied" : 0,\n "ref_count" : 7,\n "shadow_depth" : 1\n },\n ...]\n // Linux\n [\n { \n "pmmap_ext": "7f1517342000-7f151734e000",\n "addr_perms": "r-xp",\n "path": "/lib/x86_64-linux-gnu/libnss_files-2.17.so",\n "Size": 49152,\n "Rss": 0, \n "Pss": 0, \n "Shared_Clean": 0, \n "Shared_Dirty": 0, \n "Private_Clean": 0,\n "Private_Dirty": 0,\n "Referenced": 0,\n "Anonymous": 0,\n "AnonHugePages": 0,\n "Swap": 0,\n "KernelPageSize": 4096,\n "MMUPageSize": 4096,\n "Locked": 0\n },\n ...]\n```\n\n#####[Method] proc.ioCounters (Linux only)\n```js\n// sync\nres = proc.ioCounters()\n\n// callback\nproc.ioCounters(function(err, res) { ... })\n\n// output=>\n { rcount: 20474, wcount: 14600, rbytes: 2109440, wbytes: 8192 }\n```\n\n\n\n',
npm sill install resolved readmeFilename: 'README.md',
npm sill install resolved _id: 'nsutil@0.1.5',
npm sill install resolved _shasum: '2b6500f83371ee50c6af18629798b66cdf6486d9',
npm sill install resolved _from: 'git://github.com/derduher/nsutil.git',
npm sill install resolved _resolved: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51' } ]
npm info install nsutil@0.1.5 into /Users/patrick/projects/unifi-video-nodejs
npm info installOne nsutil@0.1.5
npm verb installOne of nsutil to /Users/patrick/projects/unifi-video-nodejs not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill install write writing nsutil 0.1.5 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb unbuild node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb tar unpack /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_osx.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_osx.node
npm sill gunzTarPerm extractEntry lib/nsutil.js
npm sill gunzTarPerm extractEntry src/nsutil/common.js
npm sill gunzTarPerm extractEntry src/nsutil/nsosx.js
npm sill gunzTarPerm extractEntry src/nsutil/nsposix.js
npm sill gunzTarPerm extractEntry src/nsutil/nslinux.js
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.h
npm sill gunzTarPerm extractEntry test/test.js
npm sill gunzTarPerm extractEntry test/Makefile
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info preinstall nsutil@0.1.5
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill prepareForInstallMany adding nan@^1.8.4 from nsutil dependencies
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nan@^1.8.4', null ]
npm verb cache add spec nan@^1.8.4
npm sill cache add parsed spec { raw: 'nan@^1.8.4',
npm sill cache add scope: null,
npm sill cache add name: 'nan',
npm sill cache add rawSpec: '^1.8.4',
npm sill cache add spec: '>=1.8.4 <2.0.0',
npm sill cache add type: 'range' }
npm sill addNamed nan@>=1.8.4 <2.0.0
npm verb addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
npm sill addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
npm sill mapToRegistry name nan
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 1:21:55 PM
npm verb request id 9b60e69a159c6342
npm verb etag "CWMZR9BQ6YD6KL99MGG0CU5U5"
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm sill get cb [ 304,
npm sill get { date: 'Thu, 18 Jun 2015 20:21:55 GMT',
npm sill get via: '1.1 varnish',
npm sill get 'cache-control': 'max-age=60',
npm sill get etag: '"CWMZR9BQ6YD6KL99MGG0CU5U5"',
npm sill get age: '39',
npm sill get connection: 'keep-alive',
npm sill get 'x-served-by': 'cache-lax1433-LAX',
npm sill get 'x-cache': 'HIT',
npm sill get 'x-cache-hits': '4',
npm sill get 'x-timer': 'S1434658915.909817,VS0,VE0',
npm sill get vary: 'Accept' } ]
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/patrick/.npm/registry.npmjs.org/nan/.cache.json
npm sill addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
npm sill addNameRange versions [ 'nan',
npm sill addNameRange [ '0.3.0-wip',
npm sill addNameRange '0.3.0-wip2',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.4',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.8.0',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1',
npm sill addNameRange '1.1.2',
npm sill addNameRange '1.2.0',
npm sill addNameRange '1.3.0',
npm sill addNameRange '1.4.0',
npm sill addNameRange '1.4.1',
npm sill addNameRange '1.5.0',
npm sill addNameRange '1.4.2',
npm sill addNameRange '1.4.3',
npm sill addNameRange '1.5.1',
npm sill addNameRange '1.5.2',
npm sill addNameRange '1.6.0',
npm sill addNameRange '1.5.3',
npm sill addNameRange '1.6.1',
npm sill addNameRange '1.6.2',
npm sill addNameRange '1.7.0',
npm sill addNameRange '1.8.0',
npm sill addNameRange '1.8.1',
npm sill addNameRange '1.8.2',
npm sill addNameRange '1.8.3',
npm sill addNameRange '1.8.4' ] ]
npm sill addNamed nan@1.8.4
npm verb addNamed "1.8.4" is a plain semver version for nan
npm sill cache afterAdd nan@1.8.4
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json written
npm sill install resolved [ { name: 'nan',
npm sill install resolved version: '1.8.4',
npm sill install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
npm sill install resolved main: 'include_dirs.js',
npm sill install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
npm sill install resolved scripts:
npm sill install resolved { test: 'tap --gc test/js/*-test.js',
npm sill install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
npm sill install resolved contributors:
npm sill install resolved [ [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object] ],
npm sill install resolved devDependencies:
npm sill install resolved { bindings: '~1.2.1',
npm sill install resolved 'node-gyp': '~1.0.2',
npm sill install resolved pangyp: '~2.0.1',
npm sill install resolved tap: '~0.7.1',
npm sill install resolved xtend: '~4.0.0' },
npm sill install resolved license: 'MIT',
npm sill install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
npm sill install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
npm sill install resolved homepage: 'https://github.com/iojs/nan#readme',
npm sill install resolved _id: 'nan@1.8.4',
npm sill install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved _from: 'nan@>=1.8.4 <2.0.0',
npm sill install resolved _npmVersion: '2.8.3',
npm sill install resolved _nodeVersion: '0.12.2',
npm sill install resolved _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
npm sill install resolved maintainers: [ [Object], [Object] ],
npm sill install resolved dist:
npm sill install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
npm sill install resolved directories: {},
npm sill install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
npm sill install resolved readme: 'ERROR: No README data found!' } ]
npm info install nan@1.8.4 into /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info installOne nan@1.8.4
npm verb installOne of nan to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill install write writing nan 1.8.4 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb unbuild node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb tar unpack /Users/patrick/.npm/nan/1.8.4/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm modified mode [ 'package.json', 436, 420 ]
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm modified mode [ 'README.md', 436, 420 ]
npm sill gunzTarPerm extractEntry include_dirs.js
npm sill gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
npm sill gunzTarPerm extractEntry LICENSE.md
npm sill gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
npm sill gunzTarPerm extractEntry .dntrc
npm sill gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
npm sill gunzTarPerm extractEntry appveyor.yml
npm sill gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
npm sill gunzTarPerm extractEntry nan.h
npm sill gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_new.h
npm sill gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_string_bytes.h
npm sill gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
npm sill gunzTarPerm extractEntry CHANGELOG.md
npm sill gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm info preinstall nan@1.8.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm sill install resolved []
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info linkStuff nan@1.8.4
npm sill linkStuff nan@1.8.4 has /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules as its parent node_modules
npm verb linkBins nan@1.8.4
npm verb linkMans nan@1.8.4
npm verb rebuildBundles nan@1.8.4
npm info install nan@1.8.4
npm info postinstall nan@1.8.4
npm verb unlock done using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info linkStuff nsutil@0.1.5
npm sill linkStuff nsutil@0.1.5 has /Users/patrick/projects/unifi-video-nodejs/node_modules as its parent node_modules
npm verb linkBins nsutil@0.1.5
npm verb linkMans nsutil@0.1.5
npm verb rebuildBundles nsutil@0.1.5
npm verb rebuildBundles [ 'nan' ]
npm info install nsutil@0.1.5
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.12.4 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/local/bin/python
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.12.4
gyp verb command install [ 'v0.12.4' ]
gyp verb install input version string "v0.12.4"
gyp verb install installing version: 0.12.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.12.4
gyp verb build dir attempting to create "build" dir: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build dir "build" dir needed to be created? /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { clang: 1,
gyp sill build/config.gypi host_arch: 'x64',
gyp sill build/config.gypi icu_data_file: 'icudt54l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu/source/data/in/icudt54l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: './deps/icu',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '54',
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_v8: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_dtrace: true,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_mdb: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi python: '/usr/bin/python',
gyp sill build/config.gypi target_arch: 'x64',
gyp sill build/config.gypi uv_library: 'static_library',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: true,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_use_snapshot: false,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/Users/patrick/.node-gyp/0.12.4',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi globalignorefile: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmignore',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi shell: '/usr/local/bin/bash',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi npat: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi globalconfig: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmrc',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi spin: 'true',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi cafile: '',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi proprietary_attribs: 'true',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi json: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi init_module: '/Users/patrick/.npm-init.js',
gyp sill build/config.gypi userconfig: '/Users/patrick/.npmrc',
gyp sill build/config.gypi node_version: '0.12.4',
gyp sill build/config.gypi user: '501',
gyp sill build/config.gypi editor: 'vim',
gyp sill build/config.gypi save: '',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi searchsort: 'name',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi group: '20',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi cache: '/Users/patrick/.npm',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi user_agent: 'npm/2.10.1 node/v0.12.4 darwin x64',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi tmp: '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi prefix: '/Users/patrick/.nvm/versions/node/v0.12.4' } }
gyp verb build/config.gypi writing out config file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/config.gypi
gyp verb common.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/patrick/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/patrick/.node-gyp/0.12.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm verb unsafe-perm in lifecycle true
npm info postinstall nsutil@0.1.5
npm verb unlock done using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb installManyTop reading scoped package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info package.json nsutil@0.1.5 license should be a valid SPDX license expression
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb targetResolver reading package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nsutil@git://github.com/derduher/nsutil.git', null ]
npm verb cache add spec nsutil@git://github.com/derduher/nsutil.git
npm sill cache add parsed spec { raw: 'nsutil@git://github.com/derduher/nsutil.git',
npm sill cache add scope: null,
npm sill cache add name: 'nsutil',
npm sill cache add rawSpec: 'git://github.com/derduher/nsutil.git',
npm sill cache add spec: 'git://github.com/derduher/nsutil.git',
npm sill cache add type: 'hosted',
npm sill cache add hosted:
npm sill cache add { type: 'github',
npm sill cache add ssh: 'git@github.com:derduher/nsutil.git',
npm sill cache add sshUrl: 'git+ssh://git@github.com/derduher/nsutil.git',
npm sill cache add httpsUrl: 'git+https://github.com/derduher/nsutil.git',
npm sill cache add gitUrl: 'git://github.com/derduher/nsutil.git',
npm sill cache add shortcut: 'github:derduher/nsutil',
npm sill cache add directUrl: 'https://raw.githubusercontent.com/derduher/nsutil/master/package.json' } }
npm verb addRemoteGit caching git://github.com/derduher/nsutil.git
npm verb addRemoteGit git://github.com/derduher/nsutil.git is a repository hosted by github
npm sill tryClone cloning git://github.com/derduher/nsutil.git via git://github.com/derduher/nsutil.git
npm verb tryClone git-github-com-derduher-nsutil-git-5fbf8e47 not in flight; caching
npm info git [ 'config', '--get', 'remote.origin.url' ]
npm sill validateExistingRemote git://github.com/derduher/nsutil.git remote.origin.url: git://github.com/derduher/nsutil.git
npm verb validateExistingRemote git://github.com/derduher/nsutil.git is updating existing cached remote /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47
npm info git [ 'fetch', '-a', 'origin' ]
npm verb updateRemote git fetch -a origin (git://github.com/derduher/nsutil.git)
npm verb setPermissions git://github.com/derduher/nsutil.git set permissions on /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47
npm verb resolveHead git://github.com/derduher/nsutil.git original treeish: master
npm info git [ 'rev-list', '-n1', 'master' ]
npm sill resolveHead git://github.com/derduher/nsutil.git resolved treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb resolveHead git://github.com/derduher/nsutil.git resolved Git URL: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill resolveHead Git working directory: /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-80224-3ba00a8c/git-cache-337abbad763f/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'clone',
npm info git '/Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-5fbf8e47',
npm info git '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-80224-3ba00a8c/git-cache-337abbad763f/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb cloneResolved git://github.com/derduher/nsutil.git clone Cloning into '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-80224-3ba00a8c/git-cache-337abbad763f/9853529409926b6a33dc5eb52528f3aadd2a1a51'...
npm verb cloneResolved done.
npm info git [ 'checkout', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb checkoutTreeish git://github.com/derduher/nsutil.git checkout Note: checking out '9853529409926b6a33dc5eb52528f3aadd2a1a51'.
npm verb checkoutTreeish
npm verb checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
npm verb checkoutTreeish changes and commit them, and you can discard any commits you make in this
npm verb checkoutTreeish state without impacting any branches by performing another checkout.
npm verb checkoutTreeish
npm verb checkoutTreeish If you want to create a new branch to retain commits you create, you may
npm verb checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
npm verb checkoutTreeish
npm verb checkoutTreeish git checkout -b new_branch_name
npm verb checkoutTreeish
npm verb checkoutTreeish HEAD is now at 9853529... Merge pull request #1 from derduher/forknversion
npm verb addLocalDirectory /Users/patrick/.npm/nsutil/0.1.5/package.tgz not in flight; packing
npm verb tar pack [ '/Users/patrick/.npm/nsutil/0.1.5/package.tgz',
npm verb tar pack '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-80224-3ba00a8c/git-cache-337abbad763f/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb tarball /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb folder /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-80224-3ba00a8c/git-cache-337abbad763f/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addLocalTarball adding from inside cache /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb addRemoteGit data._from: git://github.com/derduher/nsutil.git
npm verb addRemoteGit data._resolved: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache afterAdd nsutil@0.1.5
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json written
npm sill install resolved [ { name: 'nsutil',
npm sill install resolved description: 'Node.js system utilities',
npm sill install resolved keywords:
npm sill install resolved [ 'system',
npm sill install resolved 'utilities',
npm sill install resolved 'performance',
npm sill install resolved 'cpu',
npm sill install resolved 'memory',
npm sill install resolved 'io',
npm sill install resolved 'net' ],
npm sill install resolved version: '0.1.5',
npm sill install resolved author: { name: 'Dx.Yang', email: 'x6doooo@gmail.com' },
npm sill install resolved repository:
npm sill install resolved { type: 'git',
npm sill install resolved url: 'git+ssh://git@github.com/x6doooo/nsutil.git' },
npm sill install resolved bugs: { url: 'http://github.com/x6doooo/nsutil/issues' },
npm sill install resolved dependencies: { nan: '^1.8.4' },
npm sill install resolved devDependencies: { mocha: '*' },
npm sill install resolved license: [ [Object] ],
npm sill install resolved engines: [ 'node >= 0.8.0' ],
npm sill install resolved main: './lib/nsutil.js',
npm sill install resolved homepage: 'https://github.com/x6doooo/nsutil',
npm sill install resolved scripts: { install: 'node-gyp rebuild' },
npm sill install resolved gypfile: true,
npm sill install resolved gitHead: '9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved readme: 'Nsutil.js\n===\nNode.js system utilities\n\n[![NPM](https://nodei.co/npm/nsutil.png)](https://nodei.co/npm/nsutil/)\n\n##Summary\n\n* a distribution of [psutil](https://code.google.com/p/psutil/), rebuilt with Node.js\n* support OSX & Linux\n\n##Install\n\n npm install nsutil\n\n##Prebuilt binaries (node v0.10.28)\n\n OSX 64-bit\n Linux 64-bit\n Linux 32-bit\n\n##Rebuild (if you need)\n\n```bash\nnode-gyp configure build\n```\n\n##Usage\n\n```js\nvar ns = require(\'nsutil\')\n\n// synchronous with return\nres = ns.cpuTimes()\n\n// callback (asynchronous or synchronous)\nns.cpuTimes(function(err, res) {\n if (!err) console.log(res);\n})\n\n// output => \n { user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n##APIs\n\n####CPU\n\n#####[Function] cpuTimes\n```js\n// sync\nres = ns.cpuTimes()\n\n// callback\nns.cpuTimes(function(err, res) { ... });\n\n// output => \n{ user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n#####[Function] perCpuTimes\n```js\n// sync\nres = ns.perCpuTimes()\n \n// callback\nns.perCpuTimes(function(err, res) { ... })\n\n// output =>\n [ { user: 174.18, nice: 0, sys: 123.64, idle: 1411.73 },\n { user: 68.05, nice: 0, sys: 42.15, idle: 1599.30 },\n { user: 129.05, nice: 0, sys: 62.55, idle: 1517.90 },\n { user: 58.15, nice: 0, sys: 28.77, idle: 1622.58 } ] \n```\n\n#####[Function] cpuCountLogical (cpuCountPhysical)\n```js\n// sync\nres = ns.cpuCountLogical()\n\n// callback\nns.cpuCountLogical(function(err, res) { ... })\n\n// output =>\n 2\n```\n\n####Memory\n\n#####[Function] virtualMemory\n```js\n// sync\nres = ns.virtualMemory()\n\n// callback\nns.virtualMemory(function(err, res) { ... })\n\n// output =>\n // OSX\n { total: 4294967296,\n active: 1476833280,\n avail: 1163386880,\n used: 3606433792,\n free: 237256704,\n inactive: 926130176,\n wire: 1203470336 }\n // Linux\n { total: 383238144,\n active: 66637824,\n avail: 315265024,\n used: 206503936,\n free: 176734208,\n inactive: 71880704,\n buffers: 25927680,\n cached: 112603136 }\n```\n\n#####[Function] swapMemory\n```js\n// sync\nres = ns.swapMemory()\n\n// callback\nns.swapMemory(function(err, res) { ... });\n\n// output =>\n { total: 1073741824,\n used: 6815744,\n free: 1066926080,\n sin: 2724483072,\n sout: 20860928 } \n```\n\n####Disks\n\n#####[Function] diskUsage\n```js\n// sync\nres = ns.diskUsage(\'/\')\n\n// callback\nns.diskUsage(\'/\', function(err, res) { ... })\n\n// output => unit:bytes\n { free: 816916015625,\n total: 1148920703125,\n used: 10647291015625 }\n```\n\n#####[Function] diskPartitions\n```js\n// sync\nres = ns.diskPartitions()\n\n// callback\nns.diskPartitions(function(err, res) { ... })\n\n// output =>\n [ { device: \'/dev/disk0s2\',\n mount_point: \'/\',\n fs_type: \'hfs\',\n options: \'rw,local,rootfs,dovolfs,journaled,multilabel\' },\n { device: \'devfs\',\n mount_point: \'/dev\',\n fs_type: \'devfs\',\n options: \'rw,local,dontbrowse,multilabel\' },\n ...] \n```\n\n#####[Function] diskIOCounters\n```js\n// sync\nres = ns.diskIOCounters()\n\n// callback\nns.diskIOCounters(function(err, res) { ... })\n\n// output =>\n { disk0: \n { reads: 1170484,\n writes: 668337,\n read_bytes: 18236701696,\n write_bytes: 21262711296,\n read_time: 825561,\n write_time: 540807 },\n disk1:\n { reads: 11704,\n writes: 6683,\n read_bytes: 182367016,\n write_bytes: 212627112,\n read_time: 8255,\n write_time: 5408 }\n ...} \n```\n\n####Network\n\n#####[Function] netConnections\n```js\n// sync\nres = ns.netConnections()\n\n// callback\nns.netConnections(function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...]\n```\n\n#####[Function] netIOCounters\n```js\n// sync\nres = ns.netIOCounters()\n\n// callback\nns.netIOCounters(function(err, res) { ... })\n\n// output => \n { bridge0: \n { obytes: 684,\n ibytes: 0,\n opkts: 2,\n ipkts: 0,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n en0: \n { obytes: 160304770,\n ibytes: 2578607670,\n opkts: 1614175,\n ipkts: 2421909,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n ...}\n```\n\n####Other system info\n\n#####[Function] bootTime\n```js\n// sync\nres = ns.bootTime()\n\n// callback\nns.bootTime(function(err, res) { ... })\n\n// output =>\n 1400543744000 // timestamp ms\n```\n\n#####[Function] users\n```js\n// sync\nres = ns.users()\n\n// callback\nns.users(function(err, res) { ... })\n\n// output =>\n [\n {"username":"Dx.Yang", "tty":"console", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys000", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys001", "host":"", "startTime":1400548608}\n ]\n```\n\n####Process management\n\n#####[Function] pids\n```js\n// sync\nres = ns.pids()\n\n// callback\nns.pids(function(err, res) { ... })\n\n// output =>\n [6652,6651,6640,6639,6638,6633,6632,6615,6606...]\n```\n\n####[Class] Process\n```js\n// only sync\nproc = ns.Process(6652) // arguments[0] is a pid\n// return a instance of Process\n```\n\n#####[Method] proc.name\n```js\n// sync\nres = proc.name()\n\n// callback\nproc.name(function(err, res) { ... })\n\n// output =>\n \'node\'\n```\n\n#####[Method] proc.exe\n```js\n// sync\nres = proc.exe()\n\n// callback\nproc.exe(function(err, res) { ... })\n\n// output =>\n \'/usr/local/bin/node\'\n```\n\n#####[Method] proc.cmdline\n```js\n// sync\nres = proc.cmdline()\n\n// callback\nproc.cmdline(function(err, res) { ... })\n\n// output =>\n [ \'node\',\n \'/usr/local/lib/node_modules/mocha/bin/_mocha\',\n \'test_osx.js\',\n \'-R\',\n \'spec\' ]\n```\n\n#####[Method] proc.ppid\n```js\n// sync\nres = proc.ppid()\n\n// callback\nproc.ppid(function(err, res) { ... })\n\n// output =>\n 6651 //parent process id \n```\n\n#####[Method] proc.cwd\n```js\n// sync\nres = proc.cwd()\n\n// callback\nproc.cwd(function(err, res) { ... })\n\n// output =>\n \'/Users/node_modules/nsutil/test\'\n```\n\n#####[Method] proc.uids\n```js\n// sync\nres = proc.uids()\n\n// callback\nproc.uids(function(err, res) { ... })\n\n// output =>\n { real: 501, effective: 501, saved: 501 }\n```\n\n#####[Method] proc.gids\n```js\n// sync\nres = proc.gids()\n\n// callback\nproc.gids(function(err, res) { ... })\n\n// output =>\n { real: 20, effective: 20, saved: 20 }\n```\n\n#####[Method] proc.terminal\n```js\n// sync\nres = proc.terminal()\n\n// callback\nproc.terminal(funciton(err, res) { ... })\n\n// output =>\n \'/dev/ttys004\'\n```\n\n#####[Method] proc.memoryInfo\n```js\n// sync\nres = proc.memoryInfo() \n\n// callback\nproc.memoryInfo(function(err, res) { ... })\n\n// output =>\n { rss: 18440192, vms: 3119169536 }\n```\n\n#####[Method] proc.cpuTimes\n```js\n// sync\nres = proc.cpuTimes()\n\n// callback\nproc.cpuTimes(function(err, res) { ... })\n\n// output =>\n { user: 0.139774113, sys: 0.027113125 }\n```\n\n#####[Method] proc.createTime\n```js\n// sync\nproc.createTime()\n\n// callback\nproc.createTime(function(err, res) { ... })\n\n// output => \n 1400565545000 // timestamp ms\n```\n\n#####[Method] proc.numCtxSwitches\n```js\n// sync\nres = proc.numCtxSwitches()\n\n// callback\nproc.numCtxSwitches(function(err, res) { ... })\n\n// output =>\n { voluntary: 32, involuntary: 4 } \n```\n\n#####[Method] proc.numThreads\n```js\n// sync\nres = proc.numThreads()\n\n// callback\nproc.numThreads(function(err, res) { ... })\n\n// output =>\n 4\n```\n\n#####[Method] proc.openFiles\n```js\n// sync\nres = proc.openFiles()\n\n// callback\nproc.openFiles(function(err, res) { ... })\n\n// output =>\n [ { path: \'/dev/ttys004\', fd: 0 },\n { path: \'/dev/ttys004\', fd: 1 },\n { path: \'/dev/ttys004\', fd: 2 },\n ... ]\n```\n\n#####[Method] proc.connections\n```js\n// sync\nres = proc.connections() // default is \'all\'\n// or\nres = proc.connections(\'inet\') // or tcp、tcp4、tcp6、udp、udp4、udp6、unix、inet、inet4、inet6\n\n// callback\nproc.connections(function(err, res) { ... })\n// or\nproc.connections(\'inet\', function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...] \n```\n\n#####[Method] proc.numFds\n```js\n// sync\nres = proc.numFds()\n\n// callback\nproc.numFds(function(err, res) { ... })\n\n// output =>\n 12\n```\n\n#####[Method] proc.getNice\n```js\n// sync\nres = proc.getNice()\n\n// callback\nproc.getNice(function(err, res) { ... })\n\n// output =>\n 0\n```\n\n#####[Method] proc.setNice\n```js\n// sync\nres = proc.setNice(10) // arguments[0] is nice value\n\n// callback\nproc.setNice(10, function(err, res) { ... });\n\n// output =>\n 0 // success\n -1 // fail\n```\n\n#####[Method] proc.status\n```js\n// sync\nres = proc.status()\n\n// callback\nproc.status(function(err, res) { ... })\n\n// output =>\n \'running\'\n```\n\n#####[Method] proc.threads\n```js\n// sync\nres = proc.threads()\n\n// callback\nproc.threads(function(err, res) { ... })\n\n// output =>\n [ { idx: 1, \n user: 0.14695000648498535, \n sys: 0.02574799954891205 },\n { idx: 2,\n user: 0.00007100000220816582,\n sys: 0.00008600000001024455 },\n { idx: 3,\n user: 0.00002499999936844688,\n sys: 0.00008499999967170879 },\n { idx: 4,\n user: 0.0006169999833218753,\n sys: 0.0019920000340789557 } ]\n```\n\n#####[Method] proc.memMaps\n```js\n// sync\nres = proc.memMaps()\n\n// callback\nproc.memMaps(function(err, res) { ... })\n\n// output =>\n // OSX\n [\n {\n "pmmap_ext" : "0000000100000000-0000000100617000",\n "addr_perms" : "r-x/rwx",\n "path":"/usr/local/bin/node",\n "rss" : 45056,\n "private" : 0,\n "swapped" : 0,\n "dirtied" : 0,\n "ref_count" : 7,\n "shadow_depth" : 1\n },\n ...]\n // Linux\n [\n { \n "pmmap_ext": "7f1517342000-7f151734e000",\n "addr_perms": "r-xp",\n "path": "/lib/x86_64-linux-gnu/libnss_files-2.17.so",\n "Size": 49152,\n "Rss": 0, \n "Pss": 0, \n "Shared_Clean": 0, \n "Shared_Dirty": 0, \n "Private_Clean": 0,\n "Private_Dirty": 0,\n "Referenced": 0,\n "Anonymous": 0,\n "AnonHugePages": 0,\n "Swap": 0,\n "KernelPageSize": 4096,\n "MMUPageSize": 4096,\n "Locked": 0\n },\n ...]\n```\n\n#####[Method] proc.ioCounters (Linux only)\n```js\n// sync\nres = proc.ioCounters()\n\n// callback\nproc.ioCounters(function(err, res) { ... })\n\n// output=>\n { rcount: 20474, wcount: 14600, rbytes: 2109440, wbytes: 8192 }\n```\n\n\n\n',
npm sill install resolved readmeFilename: 'README.md',
npm sill install resolved _id: 'nsutil@0.1.5',
npm sill install resolved _shasum: 'ff5ae8efb388aa5b45850a72e3e8cda7ed33a293',
npm sill install resolved _from: 'git://github.com/derduher/nsutil.git',
npm sill install resolved _resolved: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51' } ]
npm info install nsutil@0.1.5 into /Users/patrick/projects/unifi-video-nodejs
npm info installOne nsutil@0.1.5
npm verb installOne of nsutil to /Users/patrick/projects/unifi-video-nodejs not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill install write writing nsutil 0.1.5 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb unbuild node_modules/nsutil
npm info preuninstall nsutil@0.1.5
npm info uninstall nsutil@0.1.5
npm verb unbuild rmStuff nsutil@0.1.5 from /Users/patrick/projects/unifi-video-nodejs/node_modules
npm info postuninstall nsutil@0.1.5
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill vacuum-fs purging /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill vacuum-fs removing /Users/patrick/projects/unifi-video-nodejs/node_modules
npm sill vacuum-fs finished vacuuming up to /Users/patrick/projects/unifi-video-nodejs
npm verb tar unpack /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_osx.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_osx.node
npm sill gunzTarPerm extractEntry lib/nsutil.js
npm sill gunzTarPerm extractEntry src/nsutil/common.js
npm sill gunzTarPerm extractEntry src/nsutil/nsosx.js
npm sill gunzTarPerm extractEntry src/nsutil/nsposix.js
npm sill gunzTarPerm extractEntry src/nsutil/nslinux.js
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.h
npm sill gunzTarPerm extractEntry test/test.js
npm sill gunzTarPerm extractEntry test/Makefile
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info preinstall nsutil@0.1.5
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill prepareForInstallMany adding nan@^1.8.4 from nsutil dependencies
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nan@^1.8.4', null ]
npm verb cache add spec nan@^1.8.4
npm sill cache add parsed spec { raw: 'nan@^1.8.4',
npm sill cache add scope: null,
npm sill cache add name: 'nan',
npm sill cache add rawSpec: '^1.8.4',
npm sill cache add spec: '>=1.8.4 <2.0.0',
npm sill cache add type: 'range' }
npm sill addNamed nan@>=1.8.4 <2.0.0
npm verb addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
npm sill addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
npm sill mapToRegistry name nan
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 1:22:14 PM
npm verb request id b21b9f4769b3bf34
npm verb etag "CWMZR9BQ6YD6KL99MGG0CU5U5"
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm sill get cb [ 304,
npm sill get { date: 'Thu, 18 Jun 2015 20:22:14 GMT',
npm sill get via: '1.1 varnish',
npm sill get 'cache-control': 'max-age=60',
npm sill get etag: '"CWMZR9BQ6YD6KL99MGG0CU5U5"',
npm sill get age: '58',
npm sill get connection: 'keep-alive',
npm sill get 'x-served-by': 'cache-lax1431-LAX',
npm sill get 'x-cache': 'HIT',
npm sill get 'x-cache-hits': '6',
npm sill get 'x-timer': 'S1434658934.965676,VS0,VE0',
npm sill get vary: 'Accept' } ]
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/patrick/.npm/registry.npmjs.org/nan/.cache.json
npm sill addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
npm sill addNameRange versions [ 'nan',
npm sill addNameRange [ '0.3.0-wip',
npm sill addNameRange '0.3.0-wip2',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.4',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.8.0',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1',
npm sill addNameRange '1.1.2',
npm sill addNameRange '1.2.0',
npm sill addNameRange '1.3.0',
npm sill addNameRange '1.4.0',
npm sill addNameRange '1.4.1',
npm sill addNameRange '1.5.0',
npm sill addNameRange '1.4.2',
npm sill addNameRange '1.4.3',
npm sill addNameRange '1.5.1',
npm sill addNameRange '1.5.2',
npm sill addNameRange '1.6.0',
npm sill addNameRange '1.5.3',
npm sill addNameRange '1.6.1',
npm sill addNameRange '1.6.2',
npm sill addNameRange '1.7.0',
npm sill addNameRange '1.8.0',
npm sill addNameRange '1.8.1',
npm sill addNameRange '1.8.2',
npm sill addNameRange '1.8.3',
npm sill addNameRange '1.8.4' ] ]
npm sill addNamed nan@1.8.4
npm verb addNamed "1.8.4" is a plain semver version for nan
npm sill cache afterAdd nan@1.8.4
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json written
npm sill install resolved [ { name: 'nan',
npm sill install resolved version: '1.8.4',
npm sill install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
npm sill install resolved main: 'include_dirs.js',
npm sill install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
npm sill install resolved scripts:
npm sill install resolved { test: 'tap --gc test/js/*-test.js',
npm sill install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
npm sill install resolved contributors:
npm sill install resolved [ [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object] ],
npm sill install resolved devDependencies:
npm sill install resolved { bindings: '~1.2.1',
npm sill install resolved 'node-gyp': '~1.0.2',
npm sill install resolved pangyp: '~2.0.1',
npm sill install resolved tap: '~0.7.1',
npm sill install resolved xtend: '~4.0.0' },
npm sill install resolved license: 'MIT',
npm sill install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
npm sill install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
npm sill install resolved homepage: 'https://github.com/iojs/nan#readme',
npm sill install resolved _id: 'nan@1.8.4',
npm sill install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved _from: 'nan@>=1.8.4 <2.0.0',
npm sill install resolved _npmVersion: '2.8.3',
npm sill install resolved _nodeVersion: '0.12.2',
npm sill install resolved _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
npm sill install resolved maintainers: [ [Object], [Object] ],
npm sill install resolved dist:
npm sill install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
npm sill install resolved directories: {},
npm sill install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
npm sill install resolved readme: 'ERROR: No README data found!' } ]
npm info install nan@1.8.4 into /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info installOne nan@1.8.4
npm verb installOne of nan to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill install write writing nan 1.8.4 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb unbuild node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb tar unpack /Users/patrick/.npm/nan/1.8.4/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm modified mode [ 'package.json', 436, 420 ]
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm modified mode [ 'README.md', 436, 420 ]
npm sill gunzTarPerm extractEntry include_dirs.js
npm sill gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
npm sill gunzTarPerm extractEntry LICENSE.md
npm sill gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
npm sill gunzTarPerm extractEntry .dntrc
npm sill gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
npm sill gunzTarPerm extractEntry appveyor.yml
npm sill gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
npm sill gunzTarPerm extractEntry nan.h
npm sill gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_new.h
npm sill gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_string_bytes.h
npm sill gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
npm sill gunzTarPerm extractEntry CHANGELOG.md
npm sill gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm info preinstall nan@1.8.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm sill install resolved []
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info linkStuff nan@1.8.4
npm sill linkStuff nan@1.8.4 has /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules as its parent node_modules
npm verb linkBins nan@1.8.4
npm verb linkMans nan@1.8.4
npm verb rebuildBundles nan@1.8.4
npm info install nan@1.8.4
npm info postinstall nan@1.8.4
npm verb unlock done using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info linkStuff nsutil@0.1.5
npm sill linkStuff nsutil@0.1.5 has /Users/patrick/projects/unifi-video-nodejs/node_modules as its parent node_modules
npm verb linkBins nsutil@0.1.5
npm verb linkMans nsutil@0.1.5
npm verb rebuildBundles nsutil@0.1.5
npm verb rebuildBundles [ 'nan' ]
npm info install nsutil@0.1.5
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.12.4 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/local/bin/python
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.12.4
gyp verb command install [ 'v0.12.4' ]
gyp verb install input version string "v0.12.4"
gyp verb install installing version: 0.12.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.12.4
gyp verb build dir attempting to create "build" dir: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build dir "build" dir needed to be created? /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { clang: 1,
gyp sill build/config.gypi host_arch: 'x64',
gyp sill build/config.gypi icu_data_file: 'icudt54l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu/source/data/in/icudt54l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: './deps/icu',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '54',
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_v8: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_dtrace: true,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_mdb: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi python: '/usr/bin/python',
gyp sill build/config.gypi target_arch: 'x64',
gyp sill build/config.gypi uv_library: 'static_library',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: true,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_use_snapshot: false,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/Users/patrick/.node-gyp/0.12.4',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi globalignorefile: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmignore',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi shell: '/usr/local/bin/bash',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi npat: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi globalconfig: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmrc',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi spin: 'true',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi cafile: '',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi proprietary_attribs: 'true',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi json: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi init_module: '/Users/patrick/.npm-init.js',
gyp sill build/config.gypi userconfig: '/Users/patrick/.npmrc',
gyp sill build/config.gypi node_version: '0.12.4',
gyp sill build/config.gypi user: '501',
gyp sill build/config.gypi editor: 'vim',
gyp sill build/config.gypi save: '',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi searchsort: 'name',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi group: '20',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi cache: '/Users/patrick/.npm',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi user_agent: 'npm/2.10.1 node/v0.12.4 darwin x64',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi tmp: '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi prefix: '/Users/patrick/.nvm/versions/node/v0.12.4' } }
gyp verb build/config.gypi writing out config file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/config.gypi
gyp verb common.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/patrick/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/patrick/.node-gyp/0.12.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm verb unsafe-perm in lifecycle true
npm info postinstall nsutil@0.1.5
npm verb unlock done using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm sill cache add args [ 'nsutil@git://github.com/derduher/nsutil.git#0.1.5', null ]
npm verb cache add spec nsutil@git://github.com/derduher/nsutil.git#0.1.5
npm sill cache add parsed spec { raw: 'nsutil@git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add scope: null,
npm sill cache add name: 'nsutil',
npm sill cache add rawSpec: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add spec: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add type: 'hosted',
npm sill cache add hosted:
npm sill cache add { type: 'github',
npm sill cache add ssh: 'git@github.com:derduher/nsutil.git#0.1.5',
npm sill cache add sshUrl: 'git+ssh://git@github.com/derduher/nsutil.git#0.1.5',
npm sill cache add httpsUrl: 'git+https://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add gitUrl: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add shortcut: 'github:derduher/nsutil#0.1.5',
npm sill cache add directUrl: 'https://raw.githubusercontent.com/derduher/nsutil/0.1.5/package.json' } }
npm verb addRemoteGit caching git://github.com/derduher/nsutil.git#0.1.5
npm verb addRemoteGit git://github.com/derduher/nsutil.git#0.1.5 is a repository hosted by github
npm sill tryClone cloning git://github.com/derduher/nsutil.git#0.1.5 via git://github.com/derduher/nsutil.git#0.1.5
npm verb tryClone git-github-com-derduher-nsutil-git-2a0425e1 not in flight; caching
npm info git [ 'config', '--get', 'remote.origin.url' ]
npm sill validateExistingRemote git://github.com/derduher/nsutil.git#0.1.5 remote.origin.url: git://github.com/derduher/nsutil.git
npm verb validateExistingRemote git://github.com/derduher/nsutil.git#0.1.5 is updating existing cached remote /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1
npm info git [ 'fetch', '-a', 'origin' ]
npm verb updateRemote git fetch -a origin (git://github.com/derduher/nsutil.git)
npm verb setPermissions git://github.com/derduher/nsutil.git#0.1.5 set permissions on /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1
npm verb resolveHead git://github.com/derduher/nsutil.git#0.1.5 original treeish: 0.1.5
npm info git [ 'rev-list', '-n1', '0.1.5' ]
npm sill resolveHead git://github.com/derduher/nsutil.git#0.1.5 resolved treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb resolveHead git://github.com/derduher/nsutil.git#0.1.5 resolved Git URL: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill resolveHead Git working directory: /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78149-c9e13f2c/git-cache-b0381baab8cb/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'clone',
npm info git '/Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1',
npm info git '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78149-c9e13f2c/git-cache-b0381baab8cb/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb cloneResolved git://github.com/derduher/nsutil.git#0.1.5 clone Cloning into '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78149-c9e13f2c/git-cache-b0381baab8cb/9853529409926b6a33dc5eb52528f3aadd2a1a51'...
npm verb cloneResolved done.
npm info git [ 'checkout', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb checkoutTreeish git://github.com/derduher/nsutil.git#0.1.5 checkout Note: checking out '9853529409926b6a33dc5eb52528f3aadd2a1a51'.
npm verb checkoutTreeish
npm verb checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
npm verb checkoutTreeish changes and commit them, and you can discard any commits you make in this
npm verb checkoutTreeish state without impacting any branches by performing another checkout.
npm verb checkoutTreeish
npm verb checkoutTreeish If you want to create a new branch to retain commits you create, you may
npm verb checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
npm verb checkoutTreeish
npm verb checkoutTreeish git checkout -b new_branch_name
npm verb checkoutTreeish
npm verb checkoutTreeish HEAD is now at 9853529... Merge pull request #1 from derduher/forknversion
npm verb addLocalDirectory /Users/patrick/.npm/nsutil/0.1.5/package.tgz not in flight; packing
npm verb tar pack [ '/Users/patrick/.npm/nsutil/0.1.5/package.tgz',
npm verb tar pack '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78149-c9e13f2c/git-cache-b0381baab8cb/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb tarball /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb folder /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78149-c9e13f2c/git-cache-b0381baab8cb/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addLocalTarball adding from inside cache /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb addRemoteGit data._from: git://github.com/derduher/nsutil.git#0.1.5
npm verb addRemoteGit data._resolved: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache afterAdd nsutil@0.1.5
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json written
npm sill install resolved [ { name: 'nsutil',
npm sill install resolved description: 'Node.js system utilities',
npm sill install resolved keywords:
npm sill install resolved [ 'system',
npm sill install resolved 'utilities',
npm sill install resolved 'performance',
npm sill install resolved 'cpu',
npm sill install resolved 'memory',
npm sill install resolved 'io',
npm sill install resolved 'net' ],
npm sill install resolved version: '0.1.5',
npm sill install resolved author: { name: 'Dx.Yang', email: 'x6doooo@gmail.com' },
npm sill install resolved repository:
npm sill install resolved { type: 'git',
npm sill install resolved url: 'git+ssh://git@github.com/x6doooo/nsutil.git' },
npm sill install resolved bugs: { url: 'http://github.com/x6doooo/nsutil/issues' },
npm sill install resolved dependencies: { nan: '^1.8.4' },
npm sill install resolved devDependencies: { mocha: '*' },
npm sill install resolved license: [ [Object] ],
npm sill install resolved engines: [ 'node >= 0.8.0' ],
npm sill install resolved main: './lib/nsutil.js',
npm sill install resolved homepage: 'https://github.com/x6doooo/nsutil',
npm sill install resolved scripts: { install: 'node-gyp rebuild' },
npm sill install resolved gypfile: true,
npm sill install resolved gitHead: '9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved readme: 'Nsutil.js\n===\nNode.js system utilities\n\n[![NPM](https://nodei.co/npm/nsutil.png)](https://nodei.co/npm/nsutil/)\n\n##Summary\n\n* a distribution of [psutil](https://code.google.com/p/psutil/), rebuilt with Node.js\n* support OSX & Linux\n\n##Install\n\n npm install nsutil\n\n##Prebuilt binaries (node v0.10.28)\n\n OSX 64-bit\n Linux 64-bit\n Linux 32-bit\n\n##Rebuild (if you need)\n\n```bash\nnode-gyp configure build\n```\n\n##Usage\n\n```js\nvar ns = require(\'nsutil\')\n\n// synchronous with return\nres = ns.cpuTimes()\n\n// callback (asynchronous or synchronous)\nns.cpuTimes(function(err, res) {\n if (!err) console.log(res);\n})\n\n// output => \n { user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n##APIs\n\n####CPU\n\n#####[Function] cpuTimes\n```js\n// sync\nres = ns.cpuTimes()\n\n// callback\nns.cpuTimes(function(err, res) { ... });\n\n// output => \n{ user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n#####[Function] perCpuTimes\n```js\n// sync\nres = ns.perCpuTimes()\n \n// callback\nns.perCpuTimes(function(err, res) { ... })\n\n// output =>\n [ { user: 174.18, nice: 0, sys: 123.64, idle: 1411.73 },\n { user: 68.05, nice: 0, sys: 42.15, idle: 1599.30 },\n { user: 129.05, nice: 0, sys: 62.55, idle: 1517.90 },\n { user: 58.15, nice: 0, sys: 28.77, idle: 1622.58 } ] \n```\n\n#####[Function] cpuCountLogical (cpuCountPhysical)\n```js\n// sync\nres = ns.cpuCountLogical()\n\n// callback\nns.cpuCountLogical(function(err, res) { ... })\n\n// output =>\n 2\n```\n\n####Memory\n\n#####[Function] virtualMemory\n```js\n// sync\nres = ns.virtualMemory()\n\n// callback\nns.virtualMemory(function(err, res) { ... })\n\n// output =>\n // OSX\n { total: 4294967296,\n active: 1476833280,\n avail: 1163386880,\n used: 3606433792,\n free: 237256704,\n inactive: 926130176,\n wire: 1203470336 }\n // Linux\n { total: 383238144,\n active: 66637824,\n avail: 315265024,\n used: 206503936,\n free: 176734208,\n inactive: 71880704,\n buffers: 25927680,\n cached: 112603136 }\n```\n\n#####[Function] swapMemory\n```js\n// sync\nres = ns.swapMemory()\n\n// callback\nns.swapMemory(function(err, res) { ... });\n\n// output =>\n { total: 1073741824,\n used: 6815744,\n free: 1066926080,\n sin: 2724483072,\n sout: 20860928 } \n```\n\n####Disks\n\n#####[Function] diskUsage\n```js\n// sync\nres = ns.diskUsage(\'/\')\n\n// callback\nns.diskUsage(\'/\', function(err, res) { ... })\n\n// output => unit:bytes\n { free: 816916015625,\n total: 1148920703125,\n used: 10647291015625 }\n```\n\n#####[Function] diskPartitions\n```js\n// sync\nres = ns.diskPartitions()\n\n// callback\nns.diskPartitions(function(err, res) { ... })\n\n// output =>\n [ { device: \'/dev/disk0s2\',\n mount_point: \'/\',\n fs_type: \'hfs\',\n options: \'rw,local,rootfs,dovolfs,journaled,multilabel\' },\n { device: \'devfs\',\n mount_point: \'/dev\',\n fs_type: \'devfs\',\n options: \'rw,local,dontbrowse,multilabel\' },\n ...] \n```\n\n#####[Function] diskIOCounters\n```js\n// sync\nres = ns.diskIOCounters()\n\n// callback\nns.diskIOCounters(function(err, res) { ... })\n\n// output =>\n { disk0: \n { reads: 1170484,\n writes: 668337,\n read_bytes: 18236701696,\n write_bytes: 21262711296,\n read_time: 825561,\n write_time: 540807 },\n disk1:\n { reads: 11704,\n writes: 6683,\n read_bytes: 182367016,\n write_bytes: 212627112,\n read_time: 8255,\n write_time: 5408 }\n ...} \n```\n\n####Network\n\n#####[Function] netConnections\n```js\n// sync\nres = ns.netConnections()\n\n// callback\nns.netConnections(function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...]\n```\n\n#####[Function] netIOCounters\n```js\n// sync\nres = ns.netIOCounters()\n\n// callback\nns.netIOCounters(function(err, res) { ... })\n\n// output => \n { bridge0: \n { obytes: 684,\n ibytes: 0,\n opkts: 2,\n ipkts: 0,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n en0: \n { obytes: 160304770,\n ibytes: 2578607670,\n opkts: 1614175,\n ipkts: 2421909,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n ...}\n```\n\n####Other system info\n\n#####[Function] bootTime\n```js\n// sync\nres = ns.bootTime()\n\n// callback\nns.bootTime(function(err, res) { ... })\n\n// output =>\n 1400543744000 // timestamp ms\n```\n\n#####[Function] users\n```js\n// sync\nres = ns.users()\n\n// callback\nns.users(function(err, res) { ... })\n\n// output =>\n [\n {"username":"Dx.Yang", "tty":"console", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys000", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys001", "host":"", "startTime":1400548608}\n ]\n```\n\n####Process management\n\n#####[Function] pids\n```js\n// sync\nres = ns.pids()\n\n// callback\nns.pids(function(err, res) { ... })\n\n// output =>\n [6652,6651,6640,6639,6638,6633,6632,6615,6606...]\n```\n\n####[Class] Process\n```js\n// only sync\nproc = ns.Process(6652) // arguments[0] is a pid\n// return a instance of Process\n```\n\n#####[Method] proc.name\n```js\n// sync\nres = proc.name()\n\n// callback\nproc.name(function(err, res) { ... })\n\n// output =>\n \'node\'\n```\n\n#####[Method] proc.exe\n```js\n// sync\nres = proc.exe()\n\n// callback\nproc.exe(function(err, res) { ... })\n\n// output =>\n \'/usr/local/bin/node\'\n```\n\n#####[Method] proc.cmdline\n```js\n// sync\nres = proc.cmdline()\n\n// callback\nproc.cmdline(function(err, res) { ... })\n\n// output =>\n [ \'node\',\n \'/usr/local/lib/node_modules/mocha/bin/_mocha\',\n \'test_osx.js\',\n \'-R\',\n \'spec\' ]\n```\n\n#####[Method] proc.ppid\n```js\n// sync\nres = proc.ppid()\n\n// callback\nproc.ppid(function(err, res) { ... })\n\n// output =>\n 6651 //parent process id \n```\n\n#####[Method] proc.cwd\n```js\n// sync\nres = proc.cwd()\n\n// callback\nproc.cwd(function(err, res) { ... })\n\n// output =>\n \'/Users/node_modules/nsutil/test\'\n```\n\n#####[Method] proc.uids\n```js\n// sync\nres = proc.uids()\n\n// callback\nproc.uids(function(err, res) { ... })\n\n// output =>\n { real: 501, effective: 501, saved: 501 }\n```\n\n#####[Method] proc.gids\n```js\n// sync\nres = proc.gids()\n\n// callback\nproc.gids(function(err, res) { ... })\n\n// output =>\n { real: 20, effective: 20, saved: 20 }\n```\n\n#####[Method] proc.terminal\n```js\n// sync\nres = proc.terminal()\n\n// callback\nproc.terminal(funciton(err, res) { ... })\n\n// output =>\n \'/dev/ttys004\'\n```\n\n#####[Method] proc.memoryInfo\n```js\n// sync\nres = proc.memoryInfo() \n\n// callback\nproc.memoryInfo(function(err, res) { ... })\n\n// output =>\n { rss: 18440192, vms: 3119169536 }\n```\n\n#####[Method] proc.cpuTimes\n```js\n// sync\nres = proc.cpuTimes()\n\n// callback\nproc.cpuTimes(function(err, res) { ... })\n\n// output =>\n { user: 0.139774113, sys: 0.027113125 }\n```\n\n#####[Method] proc.createTime\n```js\n// sync\nproc.createTime()\n\n// callback\nproc.createTime(function(err, res) { ... })\n\n// output => \n 1400565545000 // timestamp ms\n```\n\n#####[Method] proc.numCtxSwitches\n```js\n// sync\nres = proc.numCtxSwitches()\n\n// callback\nproc.numCtxSwitches(function(err, res) { ... })\n\n// output =>\n { voluntary: 32, involuntary: 4 } \n```\n\n#####[Method] proc.numThreads\n```js\n// sync\nres = proc.numThreads()\n\n// callback\nproc.numThreads(function(err, res) { ... })\n\n// output =>\n 4\n```\n\n#####[Method] proc.openFiles\n```js\n// sync\nres = proc.openFiles()\n\n// callback\nproc.openFiles(function(err, res) { ... })\n\n// output =>\n [ { path: \'/dev/ttys004\', fd: 0 },\n { path: \'/dev/ttys004\', fd: 1 },\n { path: \'/dev/ttys004\', fd: 2 },\n ... ]\n```\n\n#####[Method] proc.connections\n```js\n// sync\nres = proc.connections() // default is \'all\'\n// or\nres = proc.connections(\'inet\') // or tcp、tcp4、tcp6、udp、udp4、udp6、unix、inet、inet4、inet6\n\n// callback\nproc.connections(function(err, res) { ... })\n// or\nproc.connections(\'inet\', function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...] \n```\n\n#####[Method] proc.numFds\n```js\n// sync\nres = proc.numFds()\n\n// callback\nproc.numFds(function(err, res) { ... })\n\n// output =>\n 12\n```\n\n#####[Method] proc.getNice\n```js\n// sync\nres = proc.getNice()\n\n// callback\nproc.getNice(function(err, res) { ... })\n\n// output =>\n 0\n```\n\n#####[Method] proc.setNice\n```js\n// sync\nres = proc.setNice(10) // arguments[0] is nice value\n\n// callback\nproc.setNice(10, function(err, res) { ... });\n\n// output =>\n 0 // success\n -1 // fail\n```\n\n#####[Method] proc.status\n```js\n// sync\nres = proc.status()\n\n// callback\nproc.status(function(err, res) { ... })\n\n// output =>\n \'running\'\n```\n\n#####[Method] proc.threads\n```js\n// sync\nres = proc.threads()\n\n// callback\nproc.threads(function(err, res) { ... })\n\n// output =>\n [ { idx: 1, \n user: 0.14695000648498535, \n sys: 0.02574799954891205 },\n { idx: 2,\n user: 0.00007100000220816582,\n sys: 0.00008600000001024455 },\n { idx: 3,\n user: 0.00002499999936844688,\n sys: 0.00008499999967170879 },\n { idx: 4,\n user: 0.0006169999833218753,\n sys: 0.0019920000340789557 } ]\n```\n\n#####[Method] proc.memMaps\n```js\n// sync\nres = proc.memMaps()\n\n// callback\nproc.memMaps(function(err, res) { ... })\n\n// output =>\n // OSX\n [\n {\n "pmmap_ext" : "0000000100000000-0000000100617000",\n "addr_perms" : "r-x/rwx",\n "path":"/usr/local/bin/node",\n "rss" : 45056,\n "private" : 0,\n "swapped" : 0,\n "dirtied" : 0,\n "ref_count" : 7,\n "shadow_depth" : 1\n },\n ...]\n // Linux\n [\n { \n "pmmap_ext": "7f1517342000-7f151734e000",\n "addr_perms": "r-xp",\n "path": "/lib/x86_64-linux-gnu/libnss_files-2.17.so",\n "Size": 49152,\n "Rss": 0, \n "Pss": 0, \n "Shared_Clean": 0, \n "Shared_Dirty": 0, \n "Private_Clean": 0,\n "Private_Dirty": 0,\n "Referenced": 0,\n "Anonymous": 0,\n "AnonHugePages": 0,\n "Swap": 0,\n "KernelPageSize": 4096,\n "MMUPageSize": 4096,\n "Locked": 0\n },\n ...]\n```\n\n#####[Method] proc.ioCounters (Linux only)\n```js\n// sync\nres = proc.ioCounters()\n\n// callback\nproc.ioCounters(function(err, res) { ... })\n\n// output=>\n { rcount: 20474, wcount: 14600, rbytes: 2109440, wbytes: 8192 }\n```\n\n\n\n',
npm sill install resolved readmeFilename: 'README.md',
npm sill install resolved _id: 'nsutil@0.1.5',
npm sill install resolved _shasum: '40d3fec0a180a08f050ede5c68b68f6295003dda',
npm sill install resolved _from: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill install resolved _resolved: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51' } ]
npm info install nsutil@0.1.5 into /Users/patrick/projects/unifi-video-nodejs
npm info installOne nsutil@0.1.5
npm verb installOne of nsutil to /Users/patrick/projects/unifi-video-nodejs not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill install write writing nsutil 0.1.5 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb unbuild node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb tar unpack /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_osx.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_osx.node
npm sill gunzTarPerm extractEntry lib/nsutil.js
npm sill gunzTarPerm extractEntry src/nsutil/common.js
npm sill gunzTarPerm extractEntry src/nsutil/nsosx.js
npm sill gunzTarPerm extractEntry src/nsutil/nsposix.js
npm sill gunzTarPerm extractEntry src/nsutil/nslinux.js
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.h
npm sill gunzTarPerm extractEntry test/test.js
npm sill gunzTarPerm extractEntry test/Makefile
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info preinstall nsutil@0.1.5
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill prepareForInstallMany adding nan@^1.8.4 from nsutil dependencies
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nan@^1.8.4', null ]
npm verb cache add spec nan@^1.8.4
npm sill cache add parsed spec { raw: 'nan@^1.8.4',
npm sill cache add scope: null,
npm sill cache add name: 'nan',
npm sill cache add rawSpec: '^1.8.4',
npm sill cache add spec: '>=1.8.4 <2.0.0',
npm sill cache add type: 'range' }
npm sill addNamed nan@>=1.8.4 <2.0.0
npm verb addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
npm sill addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
npm sill mapToRegistry name nan
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 1:20:10 PM
npm verb request id e99368d00dca30df
npm verb etag "CWMZR9BQ6YD6KL99MGG0CU5U5"
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm sill get cb [ 304,
npm sill get { date: 'Thu, 18 Jun 2015 20:20:10 GMT',
npm sill get via: '1.1 varnish',
npm sill get 'cache-control': 'max-age=60',
npm sill get etag: '"CWMZR9BQ6YD6KL99MGG0CU5U5"',
npm sill get age: '59',
npm sill get connection: 'keep-alive',
npm sill get 'x-served-by': 'cache-lax1424-LAX',
npm sill get 'x-cache': 'HIT',
npm sill get 'x-cache-hits': '4',
npm sill get 'x-timer': 'S1434658810.452354,VS0,VE0',
npm sill get vary: 'Accept' } ]
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/patrick/.npm/registry.npmjs.org/nan/.cache.json
npm sill addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
npm sill addNameRange versions [ 'nan',
npm sill addNameRange [ '0.3.0-wip',
npm sill addNameRange '0.3.0-wip2',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.4',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.8.0',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1',
npm sill addNameRange '1.1.2',
npm sill addNameRange '1.2.0',
npm sill addNameRange '1.3.0',
npm sill addNameRange '1.4.0',
npm sill addNameRange '1.4.1',
npm sill addNameRange '1.5.0',
npm sill addNameRange '1.4.2',
npm sill addNameRange '1.4.3',
npm sill addNameRange '1.5.1',
npm sill addNameRange '1.5.2',
npm sill addNameRange '1.6.0',
npm sill addNameRange '1.5.3',
npm sill addNameRange '1.6.1',
npm sill addNameRange '1.6.2',
npm sill addNameRange '1.7.0',
npm sill addNameRange '1.8.0',
npm sill addNameRange '1.8.1',
npm sill addNameRange '1.8.2',
npm sill addNameRange '1.8.3',
npm sill addNameRange '1.8.4' ] ]
npm sill addNamed nan@1.8.4
npm verb addNamed "1.8.4" is a plain semver version for nan
npm sill cache afterAdd nan@1.8.4
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json written
npm sill install resolved [ { name: 'nan',
npm sill install resolved version: '1.8.4',
npm sill install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
npm sill install resolved main: 'include_dirs.js',
npm sill install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
npm sill install resolved scripts:
npm sill install resolved { test: 'tap --gc test/js/*-test.js',
npm sill install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
npm sill install resolved contributors:
npm sill install resolved [ [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object] ],
npm sill install resolved devDependencies:
npm sill install resolved { bindings: '~1.2.1',
npm sill install resolved 'node-gyp': '~1.0.2',
npm sill install resolved pangyp: '~2.0.1',
npm sill install resolved tap: '~0.7.1',
npm sill install resolved xtend: '~4.0.0' },
npm sill install resolved license: 'MIT',
npm sill install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
npm sill install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
npm sill install resolved homepage: 'https://github.com/iojs/nan#readme',
npm sill install resolved _id: 'nan@1.8.4',
npm sill install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved _from: 'nan@>=1.8.4 <2.0.0',
npm sill install resolved _npmVersion: '2.8.3',
npm sill install resolved _nodeVersion: '0.12.2',
npm sill install resolved _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
npm sill install resolved maintainers: [ [Object], [Object] ],
npm sill install resolved dist:
npm sill install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
npm sill install resolved directories: {},
npm sill install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
npm sill install resolved readme: 'ERROR: No README data found!' } ]
npm info install nan@1.8.4 into /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info installOne nan@1.8.4
npm verb installOne of nan to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill install write writing nan 1.8.4 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb unbuild node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb tar unpack /Users/patrick/.npm/nan/1.8.4/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm modified mode [ 'package.json', 436, 420 ]
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm modified mode [ 'README.md', 436, 420 ]
npm sill gunzTarPerm extractEntry include_dirs.js
npm sill gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
npm sill gunzTarPerm extractEntry LICENSE.md
npm sill gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
npm sill gunzTarPerm extractEntry .dntrc
npm sill gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
npm sill gunzTarPerm extractEntry appveyor.yml
npm sill gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
npm sill gunzTarPerm extractEntry nan.h
npm sill gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_new.h
npm sill gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_string_bytes.h
npm sill gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
npm sill gunzTarPerm extractEntry CHANGELOG.md
npm sill gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm info preinstall nan@1.8.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm sill install resolved []
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info linkStuff nan@1.8.4
npm sill linkStuff nan@1.8.4 has /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules as its parent node_modules
npm verb linkBins nan@1.8.4
npm verb linkMans nan@1.8.4
npm verb rebuildBundles nan@1.8.4
npm info install nan@1.8.4
npm info postinstall nan@1.8.4
npm verb unlock done using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info linkStuff nsutil@0.1.5
npm sill linkStuff nsutil@0.1.5 has /Users/patrick/projects/unifi-video-nodejs/node_modules as its parent node_modules
npm verb linkBins nsutil@0.1.5
npm verb linkMans nsutil@0.1.5
npm verb rebuildBundles nsutil@0.1.5
npm verb rebuildBundles [ 'nan' ]
npm info install nsutil@0.1.5
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.12.4 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/local/bin/python
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.12.4
gyp verb command install [ 'v0.12.4' ]
gyp verb install input version string "v0.12.4"
gyp verb install installing version: 0.12.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.12.4
gyp verb build dir attempting to create "build" dir: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build dir "build" dir needed to be created? /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { clang: 1,
gyp sill build/config.gypi host_arch: 'x64',
gyp sill build/config.gypi icu_data_file: 'icudt54l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu/source/data/in/icudt54l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: './deps/icu',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '54',
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_v8: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_dtrace: true,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_mdb: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi python: '/usr/bin/python',
gyp sill build/config.gypi target_arch: 'x64',
gyp sill build/config.gypi uv_library: 'static_library',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: true,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_use_snapshot: false,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/Users/patrick/.node-gyp/0.12.4',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi globalignorefile: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmignore',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi shell: '/usr/local/bin/bash',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi npat: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi globalconfig: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmrc',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi spin: 'true',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi cafile: '',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi proprietary_attribs: 'true',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi json: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi init_module: '/Users/patrick/.npm-init.js',
gyp sill build/config.gypi userconfig: '/Users/patrick/.npmrc',
gyp sill build/config.gypi node_version: '0.12.4',
gyp sill build/config.gypi user: '501',
gyp sill build/config.gypi editor: 'vim',
gyp sill build/config.gypi save: '',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi searchsort: 'name',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi group: '20',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi cache: '/Users/patrick/.npm',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi user_agent: 'npm/2.10.1 node/v0.12.4 darwin x64',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi tmp: '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi prefix: '/Users/patrick/.nvm/versions/node/v0.12.4' } }
gyp verb build/config.gypi writing out config file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/config.gypi
gyp verb common.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/patrick/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/patrick/.node-gyp/0.12.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm verb unsafe-perm in lifecycle true
npm info postinstall nsutil@0.1.5
npm verb unlock done using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
npm info it worked if it ends with ok
npm verb cli [ '/Users/patrick/.nvm/versions/node/v0.12.4/bin/node',
npm verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/bin/npm',
npm verb cli 'i',
npm verb cli '--loglevel=silly' ]
npm info using npm@2.10.1
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb install where, deps [ '/Users/patrick/projects/unifi-video-nodejs', [ 'nsutil' ] ]
npm verb install where, peers [ '/Users/patrick/projects/unifi-video-nodejs', [] ]
npm verb installManyTop reading for lifecycle /Users/patrick/projects/unifi-video-nodejs/package.json
npm info preinstall unifi-video@0.0.1
npm verb installManyTop reading scoped package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info package.json nsutil@0.1.5 license should be a valid SPDX license expression
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/package.json
npm verb targetResolver reading package data from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nsutil@git://github.com/derduher/nsutil.git#0.1.5', null ]
npm verb cache add spec nsutil@git://github.com/derduher/nsutil.git#0.1.5
npm sill cache add parsed spec { raw: 'nsutil@git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add scope: null,
npm sill cache add name: 'nsutil',
npm sill cache add rawSpec: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add spec: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add type: 'hosted',
npm sill cache add hosted:
npm sill cache add { type: 'github',
npm sill cache add ssh: 'git@github.com:derduher/nsutil.git#0.1.5',
npm sill cache add sshUrl: 'git+ssh://git@github.com/derduher/nsutil.git#0.1.5',
npm sill cache add httpsUrl: 'git+https://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add gitUrl: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill cache add shortcut: 'github:derduher/nsutil#0.1.5',
npm sill cache add directUrl: 'https://raw.githubusercontent.com/derduher/nsutil/0.1.5/package.json' } }
npm verb addRemoteGit caching git://github.com/derduher/nsutil.git#0.1.5
npm verb addRemoteGit git://github.com/derduher/nsutil.git#0.1.5 is a repository hosted by github
npm sill tryClone cloning git://github.com/derduher/nsutil.git#0.1.5 via git://github.com/derduher/nsutil.git#0.1.5
npm verb tryClone git-github-com-derduher-nsutil-git-2a0425e1 not in flight; caching
npm info git [ 'config', '--get', 'remote.origin.url' ]
npm sill validateExistingRemote git://github.com/derduher/nsutil.git#0.1.5 remote.origin.url: git://github.com/derduher/nsutil.git
npm verb validateExistingRemote git://github.com/derduher/nsutil.git#0.1.5 is updating existing cached remote /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1
npm info git [ 'fetch', '-a', 'origin' ]
npm verb updateRemote git fetch -a origin (git://github.com/derduher/nsutil.git)
npm verb setPermissions git://github.com/derduher/nsutil.git#0.1.5 set permissions on /Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1
npm verb resolveHead git://github.com/derduher/nsutil.git#0.1.5 original treeish: 0.1.5
npm info git [ 'rev-list', '-n1', '0.1.5' ]
npm sill resolveHead git://github.com/derduher/nsutil.git#0.1.5 resolved treeish: 9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb resolveHead git://github.com/derduher/nsutil.git#0.1.5 resolved Git URL: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill resolveHead Git working directory: /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78833-6196de53/git-cache-79ced0a30e13/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm info git [ 'clone',
npm info git '/Users/patrick/.npm/_git-remotes/git-github-com-derduher-nsutil-git-2a0425e1',
npm info git '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78833-6196de53/git-cache-79ced0a30e13/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb cloneResolved git://github.com/derduher/nsutil.git#0.1.5 clone Cloning into '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78833-6196de53/git-cache-79ced0a30e13/9853529409926b6a33dc5eb52528f3aadd2a1a51'...
npm verb cloneResolved done.
npm info git [ 'checkout', '9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb checkoutTreeish git://github.com/derduher/nsutil.git#0.1.5 checkout Note: checking out '9853529409926b6a33dc5eb52528f3aadd2a1a51'.
npm verb checkoutTreeish
npm verb checkoutTreeish You are in 'detached HEAD' state. You can look around, make experimental
npm verb checkoutTreeish changes and commit them, and you can discard any commits you make in this
npm verb checkoutTreeish state without impacting any branches by performing another checkout.
npm verb checkoutTreeish
npm verb checkoutTreeish If you want to create a new branch to retain commits you create, you may
npm verb checkoutTreeish do so (now or later) by using -b with the checkout command again. Example:
npm verb checkoutTreeish
npm verb checkoutTreeish git checkout -b new_branch_name
npm verb checkoutTreeish
npm verb checkoutTreeish HEAD is now at 9853529... Merge pull request #1 from derduher/forknversion
npm verb addLocalDirectory /Users/patrick/.npm/nsutil/0.1.5/package.tgz not in flight; packing
npm verb tar pack [ '/Users/patrick/.npm/nsutil/0.1.5/package.tgz',
npm verb tar pack '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78833-6196de53/git-cache-79ced0a30e13/9853529409926b6a33dc5eb52528f3aadd2a1a51' ]
npm verb tarball /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb folder /var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T/npm-78833-6196de53/git-cache-79ced0a30e13/9853529409926b6a33dc5eb52528f3aadd2a1a51
npm verb addLocalTarball adding from inside cache /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb addRemoteGit data._from: git://github.com/derduher/nsutil.git#0.1.5
npm verb addRemoteGit data._resolved: git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51
npm sill cache afterAdd nsutil@0.1.5
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nsutil/0.1.5/package/package.json written
npm sill install resolved [ { name: 'nsutil',
npm sill install resolved description: 'Node.js system utilities',
npm sill install resolved keywords:
npm sill install resolved [ 'system',
npm sill install resolved 'utilities',
npm sill install resolved 'performance',
npm sill install resolved 'cpu',
npm sill install resolved 'memory',
npm sill install resolved 'io',
npm sill install resolved 'net' ],
npm sill install resolved version: '0.1.5',
npm sill install resolved author: { name: 'Dx.Yang', email: 'x6doooo@gmail.com' },
npm sill install resolved repository:
npm sill install resolved { type: 'git',
npm sill install resolved url: 'git+ssh://git@github.com/x6doooo/nsutil.git' },
npm sill install resolved bugs: { url: 'http://github.com/x6doooo/nsutil/issues' },
npm sill install resolved dependencies: { nan: '^1.8.4' },
npm sill install resolved devDependencies: { mocha: '*' },
npm sill install resolved license: [ [Object] ],
npm sill install resolved engines: [ 'node >= 0.8.0' ],
npm sill install resolved main: './lib/nsutil.js',
npm sill install resolved homepage: 'https://github.com/x6doooo/nsutil',
npm sill install resolved scripts: { install: 'node-gyp rebuild' },
npm sill install resolved gypfile: true,
npm sill install resolved gitHead: '9853529409926b6a33dc5eb52528f3aadd2a1a51',
npm sill install resolved readme: 'Nsutil.js\n===\nNode.js system utilities\n\n[![NPM](https://nodei.co/npm/nsutil.png)](https://nodei.co/npm/nsutil/)\n\n##Summary\n\n* a distribution of [psutil](https://code.google.com/p/psutil/), rebuilt with Node.js\n* support OSX & Linux\n\n##Install\n\n npm install nsutil\n\n##Prebuilt binaries (node v0.10.28)\n\n OSX 64-bit\n Linux 64-bit\n Linux 32-bit\n\n##Rebuild (if you need)\n\n```bash\nnode-gyp configure build\n```\n\n##Usage\n\n```js\nvar ns = require(\'nsutil\')\n\n// synchronous with return\nres = ns.cpuTimes()\n\n// callback (asynchronous or synchronous)\nns.cpuTimes(function(err, res) {\n if (!err) console.log(res);\n})\n\n// output => \n { user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n##APIs\n\n####CPU\n\n#####[Function] cpuTimes\n```js\n// sync\nres = ns.cpuTimes()\n\n// callback\nns.cpuTimes(function(err, res) { ... });\n\n// output => \n{ user: 40.76, nice: 118.53, system: 683.01, idle: 287470.94 }\n\n```\n\n#####[Function] perCpuTimes\n```js\n// sync\nres = ns.perCpuTimes()\n \n// callback\nns.perCpuTimes(function(err, res) { ... })\n\n// output =>\n [ { user: 174.18, nice: 0, sys: 123.64, idle: 1411.73 },\n { user: 68.05, nice: 0, sys: 42.15, idle: 1599.30 },\n { user: 129.05, nice: 0, sys: 62.55, idle: 1517.90 },\n { user: 58.15, nice: 0, sys: 28.77, idle: 1622.58 } ] \n```\n\n#####[Function] cpuCountLogical (cpuCountPhysical)\n```js\n// sync\nres = ns.cpuCountLogical()\n\n// callback\nns.cpuCountLogical(function(err, res) { ... })\n\n// output =>\n 2\n```\n\n####Memory\n\n#####[Function] virtualMemory\n```js\n// sync\nres = ns.virtualMemory()\n\n// callback\nns.virtualMemory(function(err, res) { ... })\n\n// output =>\n // OSX\n { total: 4294967296,\n active: 1476833280,\n avail: 1163386880,\n used: 3606433792,\n free: 237256704,\n inactive: 926130176,\n wire: 1203470336 }\n // Linux\n { total: 383238144,\n active: 66637824,\n avail: 315265024,\n used: 206503936,\n free: 176734208,\n inactive: 71880704,\n buffers: 25927680,\n cached: 112603136 }\n```\n\n#####[Function] swapMemory\n```js\n// sync\nres = ns.swapMemory()\n\n// callback\nns.swapMemory(function(err, res) { ... });\n\n// output =>\n { total: 1073741824,\n used: 6815744,\n free: 1066926080,\n sin: 2724483072,\n sout: 20860928 } \n```\n\n####Disks\n\n#####[Function] diskUsage\n```js\n// sync\nres = ns.diskUsage(\'/\')\n\n// callback\nns.diskUsage(\'/\', function(err, res) { ... })\n\n// output => unit:bytes\n { free: 816916015625,\n total: 1148920703125,\n used: 10647291015625 }\n```\n\n#####[Function] diskPartitions\n```js\n// sync\nres = ns.diskPartitions()\n\n// callback\nns.diskPartitions(function(err, res) { ... })\n\n// output =>\n [ { device: \'/dev/disk0s2\',\n mount_point: \'/\',\n fs_type: \'hfs\',\n options: \'rw,local,rootfs,dovolfs,journaled,multilabel\' },\n { device: \'devfs\',\n mount_point: \'/dev\',\n fs_type: \'devfs\',\n options: \'rw,local,dontbrowse,multilabel\' },\n ...] \n```\n\n#####[Function] diskIOCounters\n```js\n// sync\nres = ns.diskIOCounters()\n\n// callback\nns.diskIOCounters(function(err, res) { ... })\n\n// output =>\n { disk0: \n { reads: 1170484,\n writes: 668337,\n read_bytes: 18236701696,\n write_bytes: 21262711296,\n read_time: 825561,\n write_time: 540807 },\n disk1:\n { reads: 11704,\n writes: 6683,\n read_bytes: 182367016,\n write_bytes: 212627112,\n read_time: 8255,\n write_time: 5408 }\n ...} \n```\n\n####Network\n\n#####[Function] netConnections\n```js\n// sync\nres = ns.netConnections()\n\n// callback\nns.netConnections(function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...]\n```\n\n#####[Function] netIOCounters\n```js\n// sync\nres = ns.netIOCounters()\n\n// callback\nns.netIOCounters(function(err, res) { ... })\n\n// output => \n { bridge0: \n { obytes: 684,\n ibytes: 0,\n opkts: 2,\n ipkts: 0,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n en0: \n { obytes: 160304770,\n ibytes: 2578607670,\n opkts: 1614175,\n ipkts: 2421909,\n oerrs: 0,\n ierrs: 0,\n iqdrops: 0 },\n ...}\n```\n\n####Other system info\n\n#####[Function] bootTime\n```js\n// sync\nres = ns.bootTime()\n\n// callback\nns.bootTime(function(err, res) { ... })\n\n// output =>\n 1400543744000 // timestamp ms\n```\n\n#####[Function] users\n```js\n// sync\nres = ns.users()\n\n// callback\nns.users(function(err, res) { ... })\n\n// output =>\n [\n {"username":"Dx.Yang", "tty":"console", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys000", "host":"", "startTime":1400548608},\n {"username":"Dx.Yang", "tty":"ttys001", "host":"", "startTime":1400548608}\n ]\n```\n\n####Process management\n\n#####[Function] pids\n```js\n// sync\nres = ns.pids()\n\n// callback\nns.pids(function(err, res) { ... })\n\n// output =>\n [6652,6651,6640,6639,6638,6633,6632,6615,6606...]\n```\n\n####[Class] Process\n```js\n// only sync\nproc = ns.Process(6652) // arguments[0] is a pid\n// return a instance of Process\n```\n\n#####[Method] proc.name\n```js\n// sync\nres = proc.name()\n\n// callback\nproc.name(function(err, res) { ... })\n\n// output =>\n \'node\'\n```\n\n#####[Method] proc.exe\n```js\n// sync\nres = proc.exe()\n\n// callback\nproc.exe(function(err, res) { ... })\n\n// output =>\n \'/usr/local/bin/node\'\n```\n\n#####[Method] proc.cmdline\n```js\n// sync\nres = proc.cmdline()\n\n// callback\nproc.cmdline(function(err, res) { ... })\n\n// output =>\n [ \'node\',\n \'/usr/local/lib/node_modules/mocha/bin/_mocha\',\n \'test_osx.js\',\n \'-R\',\n \'spec\' ]\n```\n\n#####[Method] proc.ppid\n```js\n// sync\nres = proc.ppid()\n\n// callback\nproc.ppid(function(err, res) { ... })\n\n// output =>\n 6651 //parent process id \n```\n\n#####[Method] proc.cwd\n```js\n// sync\nres = proc.cwd()\n\n// callback\nproc.cwd(function(err, res) { ... })\n\n// output =>\n \'/Users/node_modules/nsutil/test\'\n```\n\n#####[Method] proc.uids\n```js\n// sync\nres = proc.uids()\n\n// callback\nproc.uids(function(err, res) { ... })\n\n// output =>\n { real: 501, effective: 501, saved: 501 }\n```\n\n#####[Method] proc.gids\n```js\n// sync\nres = proc.gids()\n\n// callback\nproc.gids(function(err, res) { ... })\n\n// output =>\n { real: 20, effective: 20, saved: 20 }\n```\n\n#####[Method] proc.terminal\n```js\n// sync\nres = proc.terminal()\n\n// callback\nproc.terminal(funciton(err, res) { ... })\n\n// output =>\n \'/dev/ttys004\'\n```\n\n#####[Method] proc.memoryInfo\n```js\n// sync\nres = proc.memoryInfo() \n\n// callback\nproc.memoryInfo(function(err, res) { ... })\n\n// output =>\n { rss: 18440192, vms: 3119169536 }\n```\n\n#####[Method] proc.cpuTimes\n```js\n// sync\nres = proc.cpuTimes()\n\n// callback\nproc.cpuTimes(function(err, res) { ... })\n\n// output =>\n { user: 0.139774113, sys: 0.027113125 }\n```\n\n#####[Method] proc.createTime\n```js\n// sync\nproc.createTime()\n\n// callback\nproc.createTime(function(err, res) { ... })\n\n// output => \n 1400565545000 // timestamp ms\n```\n\n#####[Method] proc.numCtxSwitches\n```js\n// sync\nres = proc.numCtxSwitches()\n\n// callback\nproc.numCtxSwitches(function(err, res) { ... })\n\n// output =>\n { voluntary: 32, involuntary: 4 } \n```\n\n#####[Method] proc.numThreads\n```js\n// sync\nres = proc.numThreads()\n\n// callback\nproc.numThreads(function(err, res) { ... })\n\n// output =>\n 4\n```\n\n#####[Method] proc.openFiles\n```js\n// sync\nres = proc.openFiles()\n\n// callback\nproc.openFiles(function(err, res) { ... })\n\n// output =>\n [ { path: \'/dev/ttys004\', fd: 0 },\n { path: \'/dev/ttys004\', fd: 1 },\n { path: \'/dev/ttys004\', fd: 2 },\n ... ]\n```\n\n#####[Method] proc.connections\n```js\n// sync\nres = proc.connections() // default is \'all\'\n// or\nres = proc.connections(\'inet\') // or tcp、tcp4、tcp6、udp、udp4、udp6、unix、inet、inet4、inet6\n\n// callback\nproc.connections(function(err, res) { ... })\n// or\nproc.connections(\'inet\', function(err, res) { ... })\n\n// output =>\n [ { fd: 22,\n family: \'AF_INET\',\n type: \'SOCK_STREAM\',\n laddr: [\'X.X.X.X\', XXXX],\n raddr: [\'X.X.X.X\', XXXX],\n state: \'ESTABLISHED\' },\n ...] \n```\n\n#####[Method] proc.numFds\n```js\n// sync\nres = proc.numFds()\n\n// callback\nproc.numFds(function(err, res) { ... })\n\n// output =>\n 12\n```\n\n#####[Method] proc.getNice\n```js\n// sync\nres = proc.getNice()\n\n// callback\nproc.getNice(function(err, res) { ... })\n\n// output =>\n 0\n```\n\n#####[Method] proc.setNice\n```js\n// sync\nres = proc.setNice(10) // arguments[0] is nice value\n\n// callback\nproc.setNice(10, function(err, res) { ... });\n\n// output =>\n 0 // success\n -1 // fail\n```\n\n#####[Method] proc.status\n```js\n// sync\nres = proc.status()\n\n// callback\nproc.status(function(err, res) { ... })\n\n// output =>\n \'running\'\n```\n\n#####[Method] proc.threads\n```js\n// sync\nres = proc.threads()\n\n// callback\nproc.threads(function(err, res) { ... })\n\n// output =>\n [ { idx: 1, \n user: 0.14695000648498535, \n sys: 0.02574799954891205 },\n { idx: 2,\n user: 0.00007100000220816582,\n sys: 0.00008600000001024455 },\n { idx: 3,\n user: 0.00002499999936844688,\n sys: 0.00008499999967170879 },\n { idx: 4,\n user: 0.0006169999833218753,\n sys: 0.0019920000340789557 } ]\n```\n\n#####[Method] proc.memMaps\n```js\n// sync\nres = proc.memMaps()\n\n// callback\nproc.memMaps(function(err, res) { ... })\n\n// output =>\n // OSX\n [\n {\n "pmmap_ext" : "0000000100000000-0000000100617000",\n "addr_perms" : "r-x/rwx",\n "path":"/usr/local/bin/node",\n "rss" : 45056,\n "private" : 0,\n "swapped" : 0,\n "dirtied" : 0,\n "ref_count" : 7,\n "shadow_depth" : 1\n },\n ...]\n // Linux\n [\n { \n "pmmap_ext": "7f1517342000-7f151734e000",\n "addr_perms": "r-xp",\n "path": "/lib/x86_64-linux-gnu/libnss_files-2.17.so",\n "Size": 49152,\n "Rss": 0, \n "Pss": 0, \n "Shared_Clean": 0, \n "Shared_Dirty": 0, \n "Private_Clean": 0,\n "Private_Dirty": 0,\n "Referenced": 0,\n "Anonymous": 0,\n "AnonHugePages": 0,\n "Swap": 0,\n "KernelPageSize": 4096,\n "MMUPageSize": 4096,\n "Locked": 0\n },\n ...]\n```\n\n#####[Method] proc.ioCounters (Linux only)\n```js\n// sync\nres = proc.ioCounters()\n\n// callback\nproc.ioCounters(function(err, res) { ... })\n\n// output=>\n { rcount: 20474, wcount: 14600, rbytes: 2109440, wbytes: 8192 }\n```\n\n\n\n',
npm sill install resolved readmeFilename: 'README.md',
npm sill install resolved _id: 'nsutil@0.1.5',
npm sill install resolved _shasum: 'c6ed024b25c51cbebd42077962b5c465becdef44',
npm sill install resolved _from: 'git://github.com/derduher/nsutil.git#0.1.5',
npm sill install resolved _resolved: 'git://github.com/derduher/nsutil.git#9853529409926b6a33dc5eb52528f3aadd2a1a51' } ]
npm info install nsutil@0.1.5 into /Users/patrick/projects/unifi-video-nodejs
npm info installOne nsutil@0.1.5
npm verb installOne of nsutil to /Users/patrick/projects/unifi-video-nodejs not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill install write writing nsutil 0.1.5 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm verb unbuild node_modules/nsutil
npm info preuninstall nsutil@0.1.5
npm info uninstall nsutil@0.1.5
npm verb unbuild rmStuff nsutil@0.1.5 from /Users/patrick/projects/unifi-video-nodejs/node_modules
npm info postuninstall nsutil@0.1.5
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill vacuum-fs purging /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill vacuum-fs removing /Users/patrick/projects/unifi-video-nodejs/node_modules
npm sill vacuum-fs finished vacuuming up to /Users/patrick/projects/unifi-video-nodejs
npm verb tar unpack /Users/patrick/.npm/nsutil/0.1.5/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_osx.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_linux.node
npm sill gunzTarPerm extractEntry build/Release/x64/nsutil_posix_osx.node
npm sill gunzTarPerm extractEntry lib/nsutil.js
npm sill gunzTarPerm extractEntry src/nsutil/common.js
npm sill gunzTarPerm extractEntry src/nsutil/nsosx.js
npm sill gunzTarPerm extractEntry src/nsutil/nsposix.js
npm sill gunzTarPerm extractEntry src/nsutil/nslinux.js
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_linux_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx_funcs_async.h
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_posix_funcs.cpp
npm sill gunzTarPerm extractEntry src/nsutil/nsutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.cpp
npm sill gunzTarPerm extractEntry src/sutil/osx/process_info.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_common.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_linux.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_osx.h
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.cpp
npm sill gunzTarPerm extractEntry src/sutil/sutil_posix.h
npm sill gunzTarPerm extractEntry test/test.js
npm sill gunzTarPerm extractEntry test/Makefile
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm info preinstall nsutil@0.1.5
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill prepareForInstallMany adding nan@^1.8.4 from nsutil dependencies
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/package.json
npm sill cache add args [ 'nan@^1.8.4', null ]
npm verb cache add spec nan@^1.8.4
npm sill cache add parsed spec { raw: 'nan@^1.8.4',
npm sill cache add scope: null,
npm sill cache add name: 'nan',
npm sill cache add rawSpec: '^1.8.4',
npm sill cache add spec: '>=1.8.4 <2.0.0',
npm sill cache add type: 'range' }
npm sill addNamed nan@>=1.8.4 <2.0.0
npm verb addNamed ">=1.8.4 <2.0.0" is a valid semver range for nan
npm sill addNameRange { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: false }
npm sill mapToRegistry name nan
npm sill mapToRegistry using default registry
npm sill mapToRegistry registry https://registry.npmjs.org/
npm sill mapToRegistry uri https://registry.npmjs.org/nan
npm verb addNameRange registry:https://registry.npmjs.org/nan not in flight; fetching
npm verb request uri https://registry.npmjs.org/nan
npm verb request no auth needed
npm info attempt registry request try #1 at 1:20:44 PM
npm verb request id 130e25e87a169a58
npm verb etag "CWMZR9BQ6YD6KL99MGG0CU5U5"
npm http request GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm sill get cb [ 304,
npm sill get { date: 'Thu, 18 Jun 2015 20:20:44 GMT',
npm sill get via: '1.1 varnish',
npm sill get 'cache-control': 'max-age=60',
npm sill get etag: '"CWMZR9BQ6YD6KL99MGG0CU5U5"',
npm sill get age: '47',
npm sill get connection: 'keep-alive',
npm sill get 'x-served-by': 'cache-sjc3135-SJC',
npm sill get 'x-cache': 'HIT',
npm sill get 'x-cache-hits': '2',
npm sill get 'x-timer': 'S1434658844.847780,VS0,VE0',
npm sill get vary: 'Accept' } ]
npm verb etag https://registry.npmjs.org/nan from cache
npm verb get saving nan to /Users/patrick/.npm/registry.npmjs.org/nan/.cache.json
npm sill addNameRange number 2 { name: 'nan', range: '>=1.8.4 <2.0.0', hasData: true }
npm sill addNameRange versions [ 'nan',
npm sill addNameRange [ '0.3.0-wip',
npm sill addNameRange '0.3.0-wip2',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.4',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.8.0',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1',
npm sill addNameRange '1.1.2',
npm sill addNameRange '1.2.0',
npm sill addNameRange '1.3.0',
npm sill addNameRange '1.4.0',
npm sill addNameRange '1.4.1',
npm sill addNameRange '1.5.0',
npm sill addNameRange '1.4.2',
npm sill addNameRange '1.4.3',
npm sill addNameRange '1.5.1',
npm sill addNameRange '1.5.2',
npm sill addNameRange '1.6.0',
npm sill addNameRange '1.5.3',
npm sill addNameRange '1.6.1',
npm sill addNameRange '1.6.2',
npm sill addNameRange '1.7.0',
npm sill addNameRange '1.8.0',
npm sill addNameRange '1.8.1',
npm sill addNameRange '1.8.2',
npm sill addNameRange '1.8.3',
npm sill addNameRange '1.8.4' ] ]
npm sill addNamed nan@1.8.4
npm verb addNamed "1.8.4" is a plain semver version for nan
npm sill cache afterAdd nan@1.8.4
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json not in flight; writing
npm verb afterAdd /Users/patrick/.npm/nan/1.8.4/package/package.json written
npm sill install resolved [ { name: 'nan',
npm sill install resolved version: '1.8.4',
npm sill install resolved description: 'Native Abstractions for Node.js: C++ header for Node 0.8->0.12 compatibility',
npm sill install resolved main: 'include_dirs.js',
npm sill install resolved repository: { type: 'git', url: 'git://github.com/iojs/nan.git' },
npm sill install resolved scripts:
npm sill install resolved { test: 'tap --gc test/js/*-test.js',
npm sill install resolved 'rebuild-tests': 'pangyp rebuild --directory test' },
npm sill install resolved contributors:
npm sill install resolved [ [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object],
npm sill install resolved [Object] ],
npm sill install resolved devDependencies:
npm sill install resolved { bindings: '~1.2.1',
npm sill install resolved 'node-gyp': '~1.0.2',
npm sill install resolved pangyp: '~2.0.1',
npm sill install resolved tap: '~0.7.1',
npm sill install resolved xtend: '~4.0.0' },
npm sill install resolved license: 'MIT',
npm sill install resolved gitHead: 'ed3bbf4ced0cf7937b4e4164766797f71aa97f3d',
npm sill install resolved bugs: { url: 'https://github.com/iojs/nan/issues' },
npm sill install resolved homepage: 'https://github.com/iojs/nan#readme',
npm sill install resolved _id: 'nan@1.8.4',
npm sill install resolved _shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved _from: 'nan@>=1.8.4 <2.0.0',
npm sill install resolved _npmVersion: '2.8.3',
npm sill install resolved _nodeVersion: '0.12.2',
npm sill install resolved _npmUser: { name: 'kkoopa', email: 'bbyholm@abo.fi' },
npm sill install resolved maintainers: [ [Object], [Object] ],
npm sill install resolved dist:
npm sill install resolved { shasum: '3c76b5382eab33e44b758d2813ca9d92e9342f34',
npm sill install resolved tarball: 'http://registry.npmjs.org/nan/-/nan-1.8.4.tgz' },
npm sill install resolved directories: {},
npm sill install resolved _resolved: 'https://registry.npmjs.org/nan/-/nan-1.8.4.tgz',
npm sill install resolved readme: 'ERROR: No README data found!' } ]
npm info install nan@1.8.4 into /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info installOne nan@1.8.4
npm verb installOne of nan to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil not in flight; installing
npm verb lock using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill install write writing nan 1.8.4 to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb unbuild node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged from base /Users/patrick/projects/unifi-video-nodejs
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb tar unpack /Users/patrick/.npm/nan/1.8.4/package.tgz
npm verb tar unpacking to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gentlyRm /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan is being purged
npm verb gentlyRm don't care about contents; nuking /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm modified mode [ 'package.json', 436, 420 ]
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm modified mode [ 'README.md', 436, 420 ]
npm sill gunzTarPerm extractEntry include_dirs.js
npm sill gunzTarPerm modified mode [ 'include_dirs.js', 436, 420 ]
npm sill gunzTarPerm extractEntry LICENSE.md
npm sill gunzTarPerm modified mode [ 'LICENSE.md', 436, 420 ]
npm sill gunzTarPerm extractEntry .dntrc
npm sill gunzTarPerm modified mode [ '.dntrc', 436, 420 ]
npm sill gunzTarPerm extractEntry appveyor.yml
npm sill gunzTarPerm modified mode [ 'appveyor.yml', 436, 420 ]
npm sill gunzTarPerm extractEntry nan.h
npm sill gunzTarPerm modified mode [ 'nan.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_implementation_pre_12_inl.h
npm sill gunzTarPerm modified mode [ 'nan_implementation_pre_12_inl.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_new.h
npm sill gunzTarPerm modified mode [ 'nan_new.h', 436, 420 ]
npm sill gunzTarPerm extractEntry nan_string_bytes.h
npm sill gunzTarPerm modified mode [ 'nan_string_bytes.h', 436, 420 ]
npm sill gunzTarPerm extractEntry CHANGELOG.md
npm sill gunzTarPerm modified mode [ 'CHANGELOG.md', 436, 420 ]
npm verb write writing to /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm info preinstall nan@1.8.4
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm verb readDependencies loading dependencies from /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan/package.json
npm sill install resolved []
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm info linkStuff nan@1.8.4
npm sill linkStuff nan@1.8.4 has /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules as its parent node_modules
npm verb linkBins nan@1.8.4
npm verb linkMans nan@1.8.4
npm verb rebuildBundles nan@1.8.4
npm info install nan@1.8.4
npm info postinstall nan@1.8.4
npm verb unlock done using /Users/patrick/.npm/_locks/nan-e04a0a602990fff9.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/node_modules/nan
npm verb about to build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info linkStuff nsutil@0.1.5
npm sill linkStuff nsutil@0.1.5 has /Users/patrick/projects/unifi-video-nodejs/node_modules as its parent node_modules
npm verb linkBins nsutil@0.1.5
npm verb linkMans nsutil@0.1.5
npm verb rebuildBundles nsutil@0.1.5
npm verb rebuildBundles [ 'nan' ]
npm info install nsutil@0.1.5
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.3
gyp info using node@0.12.4 | darwin | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python" in the PATH
gyp verb `which` succeeded python /usr/local/bin/python
gyp verb check python version `python -c "import platform; print(platform.python_version());"` returned: "2.7.9\n"
gyp verb get node dir no --target version specified, falling back to host node version: v0.12.4
gyp verb command install [ 'v0.12.4' ]
gyp verb install input version string "v0.12.4"
gyp verb install installing version: 0.12.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 0.12.4
gyp verb build dir attempting to create "build" dir: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build dir "build" dir needed to be created? /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build
gyp verb build/config.gypi creating config file
gyp sill build/config.gypi { target_defaults:
gyp sill build/config.gypi { cflags: [],
gyp sill build/config.gypi default_configuration: 'Release',
gyp sill build/config.gypi defines: [],
gyp sill build/config.gypi include_dirs: [],
gyp sill build/config.gypi libraries: [] },
gyp sill build/config.gypi variables:
gyp sill build/config.gypi { clang: 1,
gyp sill build/config.gypi host_arch: 'x64',
gyp sill build/config.gypi icu_data_file: 'icudt54l.dat',
gyp sill build/config.gypi icu_data_in: '../../deps/icu/source/data/in/icudt54l.dat',
gyp sill build/config.gypi icu_endianness: 'l',
gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp',
gyp sill build/config.gypi icu_locales: 'en,root',
gyp sill build/config.gypi icu_path: './deps/icu',
gyp sill build/config.gypi icu_small: true,
gyp sill build/config.gypi icu_ver_major: '54',
gyp sill build/config.gypi node_install_npm: true,
gyp sill build/config.gypi node_prefix: '/',
gyp sill build/config.gypi node_shared_cares: false,
gyp sill build/config.gypi node_shared_http_parser: false,
gyp sill build/config.gypi node_shared_libuv: false,
gyp sill build/config.gypi node_shared_openssl: false,
gyp sill build/config.gypi node_shared_v8: false,
gyp sill build/config.gypi node_shared_zlib: false,
gyp sill build/config.gypi node_tag: '',
gyp sill build/config.gypi node_use_dtrace: true,
gyp sill build/config.gypi node_use_etw: false,
gyp sill build/config.gypi node_use_mdb: false,
gyp sill build/config.gypi node_use_openssl: true,
gyp sill build/config.gypi node_use_perfctr: false,
gyp sill build/config.gypi openssl_no_asm: 0,
gyp sill build/config.gypi python: '/usr/bin/python',
gyp sill build/config.gypi target_arch: 'x64',
gyp sill build/config.gypi uv_library: 'static_library',
gyp sill build/config.gypi uv_parent_path: '/deps/uv/',
gyp sill build/config.gypi uv_use_dtrace: true,
gyp sill build/config.gypi v8_enable_gdbjit: 0,
gyp sill build/config.gypi v8_enable_i18n_support: 1,
gyp sill build/config.gypi v8_no_strict_aliasing: 1,
gyp sill build/config.gypi v8_optimized_debug: 0,
gyp sill build/config.gypi v8_random_seed: 0,
gyp sill build/config.gypi v8_use_snapshot: false,
gyp sill build/config.gypi want_separate_host_toolset: 0,
gyp sill build/config.gypi nodedir: '/Users/patrick/.node-gyp/0.12.4',
gyp sill build/config.gypi copy_dev_lib: true,
gyp sill build/config.gypi standalone_static_library: 1,
gyp sill build/config.gypi save_dev: '',
gyp sill build/config.gypi browser: '',
gyp sill build/config.gypi viewer: 'man',
gyp sill build/config.gypi rollback: 'true',
gyp sill build/config.gypi usage: '',
gyp sill build/config.gypi globalignorefile: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmignore',
gyp sill build/config.gypi init_author_url: '',
gyp sill build/config.gypi shell: '/usr/local/bin/bash',
gyp sill build/config.gypi parseable: '',
gyp sill build/config.gypi shrinkwrap: 'true',
gyp sill build/config.gypi init_license: 'ISC',
gyp sill build/config.gypi if_present: '',
gyp sill build/config.gypi cache_max: 'Infinity',
gyp sill build/config.gypi init_author_email: '',
gyp sill build/config.gypi sign_git_tag: '',
gyp sill build/config.gypi cert: '',
gyp sill build/config.gypi git_tag_version: 'true',
gyp sill build/config.gypi local_address: '',
gyp sill build/config.gypi long: '',
gyp sill build/config.gypi fetch_retries: '2',
gyp sill build/config.gypi npat: '',
gyp sill build/config.gypi registry: 'https://registry.npmjs.org/',
gyp sill build/config.gypi key: '',
gyp sill build/config.gypi message: '%s',
gyp sill build/config.gypi versions: '',
gyp sill build/config.gypi globalconfig: '/Users/patrick/.nvm/versions/node/v0.12.4/etc/npmrc',
gyp sill build/config.gypi always_auth: '',
gyp sill build/config.gypi spin: 'true',
gyp sill build/config.gypi cache_lock_retries: '10',
gyp sill build/config.gypi cafile: '',
gyp sill build/config.gypi heading: 'npm',
gyp sill build/config.gypi fetch_retry_mintimeout: '10000',
gyp sill build/config.gypi proprietary_attribs: 'true',
gyp sill build/config.gypi access: '',
gyp sill build/config.gypi json: '',
gyp sill build/config.gypi description: 'true',
gyp sill build/config.gypi engine_strict: '',
gyp sill build/config.gypi https_proxy: '',
gyp sill build/config.gypi init_module: '/Users/patrick/.npm-init.js',
gyp sill build/config.gypi userconfig: '/Users/patrick/.npmrc',
gyp sill build/config.gypi node_version: '0.12.4',
gyp sill build/config.gypi user: '501',
gyp sill build/config.gypi editor: 'vim',
gyp sill build/config.gypi save: '',
gyp sill build/config.gypi tag: 'latest',
gyp sill build/config.gypi global: '',
gyp sill build/config.gypi optional: 'true',
gyp sill build/config.gypi bin_links: 'true',
gyp sill build/config.gypi force: '',
gyp sill build/config.gypi searchopts: '',
gyp sill build/config.gypi depth: 'Infinity',
gyp sill build/config.gypi rebuild_bundle: 'true',
gyp sill build/config.gypi searchsort: 'name',
gyp sill build/config.gypi unicode: 'true',
gyp sill build/config.gypi fetch_retry_maxtimeout: '60000',
gyp sill build/config.gypi ca: '',
gyp sill build/config.gypi save_prefix: '^',
gyp sill build/config.gypi strict_ssl: 'true',
gyp sill build/config.gypi tag_version_prefix: 'v',
gyp sill build/config.gypi dev: '',
gyp sill build/config.gypi fetch_retry_factor: '10',
gyp sill build/config.gypi group: '20',
gyp sill build/config.gypi save_exact: '',
gyp sill build/config.gypi cache_lock_stale: '60000',
gyp sill build/config.gypi version: '',
gyp sill build/config.gypi cache_min: '10',
gyp sill build/config.gypi cache: '/Users/patrick/.npm',
gyp sill build/config.gypi searchexclude: '',
gyp sill build/config.gypi color: 'true',
gyp sill build/config.gypi save_optional: '',
gyp sill build/config.gypi user_agent: 'npm/2.10.1 node/v0.12.4 darwin x64',
gyp sill build/config.gypi ignore_scripts: '',
gyp sill build/config.gypi cache_lock_wait: '10000',
gyp sill build/config.gypi production: '',
gyp sill build/config.gypi save_bundle: '',
gyp sill build/config.gypi init_version: '1.0.0',
gyp sill build/config.gypi umask: '0022',
gyp sill build/config.gypi git: 'git',
gyp sill build/config.gypi init_author_name: '',
gyp sill build/config.gypi scope: '',
gyp sill build/config.gypi onload_script: '',
gyp sill build/config.gypi tmp: '/var/folders/7h/9x6wskpj4jg_18251sn8xpdh0000gn/T',
gyp sill build/config.gypi unsafe_perm: 'true',
gyp sill build/config.gypi link: '',
gyp sill build/config.gypi prefix: '/Users/patrick/.nvm/versions/node/v0.12.4' } }
gyp verb build/config.gypi writing out config file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi
gyp verb config.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/config.gypi
gyp verb common.gypi checking for gypi file: /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/common.gypi
gyp verb gyp gyp format was not specified; forcing "make"
gyp info spawn python
gyp info spawn args [ '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.nvm/versions/node/v0.12.4/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/patrick/.node-gyp/0.12.4/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/patrick/.node-gyp/0.12.4',
gyp info spawn args '-Dmodule_root_dir=/Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir /Users/patrick/.node-gyp/0.12.4
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
gyp info ok
npm verb unsafe-perm in lifecycle true
npm info postinstall nsutil@0.1.5
npm verb unlock done using /Users/patrick/.npm/_locks/nsutil-e6004641c87ef70f.lock for /Users/patrick/projects/unifi-video-nodejs/node_modules/nsutil
npm info build /Users/patrick/projects/unifi-video-nodejs
npm info linkStuff unifi-video@0.0.1
npm sill linkStuff unifi-video@0.0.1 has /Users/patrick/projects as its parent node_modules
npm verb linkBins unifi-video@0.0.1
npm verb linkMans unifi-video@0.0.1
npm verb rebuildBundles unifi-video@0.0.1
npm verb rebuildBundles [ 'nsutil' ]
npm info install unifi-video@0.0.1
npm info postinstall unifi-video@0.0.1
npm info prepublish unifi-video@0.0.1
npm verb validateInstall loading /Users/patrick/projects/unifi-video-nodejs/package.json for validation
npm verb exit [ 0, true ]
npm info ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment