├── .gitignore ├── .travis.yml ├── API.md ├── LICENSE ├── haxe └── procfs │ └── Procfs.hx ├── index.js ├── lib ├── parsers.js ├── parsers │ ├── cgroups.js │ ├── config.js │ ├── cpuinfo.js │ ├── devices.js │ ├── diskstats.js │ ├── filesystems.js │ ├── loadavg.js │ ├── meminfo.js │ ├── partitions.js │ ├── processAutogroup.js │ ├── processCgroups.js │ ├── processCmdline.js │ ├── processEnviron.js │ ├── processExe.js │ ├── processFd.js │ ├── processFdinfo.js │ ├── processFds.js │ ├── processGidMap.js │ ├── processIo.js │ ├── processLimits.js │ ├── processMountinfo.js │ ├── processNetDev.js │ ├── processNetTcp4.js │ ├── processNetTcp6.js │ ├── processNetUdp4.js │ ├── processNetUdp6.js │ ├── processNetUnix.js │ ├── processNetWireless.js │ ├── processStat.js │ ├── processStatm.js │ ├── processStatus.js │ ├── processThreads.js │ ├── processUidMap.js │ ├── processes.js │ ├── stat.js │ ├── swaps.js │ ├── uptime.js │ └── utils.js ├── procfs-error.js └── utils.js ├── package.json ├── readme.md └── test ├── fixtures ├── data │ ├── 2163 │ │ ├── autogroup │ │ ├── autogroup.js │ │ ├── cgroup │ │ ├── cgroup.js │ │ ├── cmdline │ │ ├── cmdline.js │ │ ├── comm │ │ ├── comm.js │ │ ├── cpuset │ │ ├── cpuset.js │ │ ├── environ │ │ ├── environ.js │ │ ├── fd-list.js │ │ ├── fd-map.js │ │ ├── fd │ │ │ ├── 0 │ │ │ ├── 1 │ │ │ ├── 2 │ │ │ ├── 3 │ │ │ ├── 4 │ │ │ ├── 5 │ │ │ ├── 6 │ │ │ ├── 7 │ │ │ ├── 8 │ │ │ ├── 9 │ │ │ ├── 10 │ │ │ ├── 11 │ │ │ ├── 12 │ │ │ ├── 13 │ │ │ ├── 14 │ │ │ ├── 15 │ │ │ └── 16 │ │ ├── fdinfo-map.js │ │ ├── fdinfo-synthetic-map.js │ │ ├── fdinfo-synthetic │ │ │ ├── 3 │ │ │ ├── 4 │ │ │ ├── 5 │ │ │ ├── 6 │ │ │ ├── 7 │ │ │ └── 8 │ │ ├── fdinfo │ │ │ ├── 0 │ │ │ ├── 1 │ │ │ ├── 2 │ │ │ ├── 3 │ │ │ ├── 4 │ │ │ ├── 5 │ │ │ ├── 6 │ │ │ ├── 7 │ │ │ ├── 8 │ │ │ ├── 9 │ │ │ ├── 10 │ │ │ ├── 11 │ │ │ ├── 12 │ │ │ ├── 13 │ │ │ ├── 14 │ │ │ ├── 15 │ │ │ └── 16 │ │ ├── gid_map │ │ ├── gid_map.js │ │ ├── io │ │ ├── io.js │ │ ├── limits │ │ ├── limits.js │ │ ├── mountinfo │ │ ├── mountinfo-big │ │ ├── mountinfo-big.js │ │ ├── mountinfo.js │ │ ├── net │ │ │ ├── dev │ │ │ ├── dev.js │ │ │ ├── tcp │ │ │ ├── tcp.js │ │ │ ├── tcp6 │ │ │ ├── tcp6.js │ │ │ ├── udp │ │ │ ├── udp.js │ │ │ ├── udp6 │ │ │ ├── udp6.js │ │ │ ├── unix │ │ │ ├── unix.js │ │ │ ├── wireless │ │ │ └── wireless.js │ │ ├── oom_score │ │ ├── oom_score.js │ │ ├── personality │ │ ├── personality.js │ │ ├── stat │ │ ├── stat.js │ │ ├── statm │ │ ├── statm.js │ │ ├── status │ │ ├── status.js │ │ ├── timerslack_ns │ │ ├── timerslack_ns.js │ │ ├── uid_map │ │ └── uid_map.js │ ├── cgroups │ ├── cgroups.js │ ├── cmdline │ ├── cmdline.js │ ├── cpuinfo │ ├── cpuinfo-synthetic │ ├── cpuinfo-synthetic.js │ ├── cpuinfo.js │ ├── crypto.js │ ├── devices │ ├── devices.js │ ├── diskstats │ ├── diskstats.js │ ├── filesystems │ ├── filesystems.js │ ├── loadavg │ ├── loadavg.js │ ├── meminfo │ ├── meminfo-incorrect-unit │ ├── meminfo-synthetic │ ├── meminfo-synthetic.js │ ├── meminfo.js │ ├── net │ ├── partitions │ ├── partitions.js │ ├── process-cmdline-zombie │ ├── self │ ├── stat │ ├── stat-synthetic │ ├── stat-synthetic.js │ ├── stat.js │ ├── swaps │ ├── swaps.js │ ├── uptime │ ├── uptime.js │ ├── version │ └── version.js ├── type │ └── asserts.js └── utils │ ├── 16384-zeroes.bin │ ├── 17408-zeroes.bin │ ├── 4096-zeroes.bin │ ├── 8192-zeroes.bin │ ├── deleted-link │ ├── ids │ ├── 1 │ ├── 2 │ └── 3 │ └── link ├── index.js ├── parsers-utils.js ├── parsers.js └── utils.js /.gitignore: -------------------------------------------------------------------------------- 1 | .tmp 2 | .nyc_output 3 | node_modules 4 | coverage 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/.travis.yml -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/API.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/LICENSE -------------------------------------------------------------------------------- /haxe/procfs/Procfs.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/haxe/procfs/Procfs.hx -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/index.js -------------------------------------------------------------------------------- /lib/parsers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers.js -------------------------------------------------------------------------------- /lib/parsers/cgroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/cgroups.js -------------------------------------------------------------------------------- /lib/parsers/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/config.js -------------------------------------------------------------------------------- /lib/parsers/cpuinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/cpuinfo.js -------------------------------------------------------------------------------- /lib/parsers/devices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/devices.js -------------------------------------------------------------------------------- /lib/parsers/diskstats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/diskstats.js -------------------------------------------------------------------------------- /lib/parsers/filesystems.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/filesystems.js -------------------------------------------------------------------------------- /lib/parsers/loadavg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/loadavg.js -------------------------------------------------------------------------------- /lib/parsers/meminfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/meminfo.js -------------------------------------------------------------------------------- /lib/parsers/partitions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/partitions.js -------------------------------------------------------------------------------- /lib/parsers/processAutogroup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processAutogroup.js -------------------------------------------------------------------------------- /lib/parsers/processCgroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processCgroups.js -------------------------------------------------------------------------------- /lib/parsers/processCmdline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processCmdline.js -------------------------------------------------------------------------------- /lib/parsers/processEnviron.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processEnviron.js -------------------------------------------------------------------------------- /lib/parsers/processExe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processExe.js -------------------------------------------------------------------------------- /lib/parsers/processFd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processFd.js -------------------------------------------------------------------------------- /lib/parsers/processFdinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processFdinfo.js -------------------------------------------------------------------------------- /lib/parsers/processFds.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processFds.js -------------------------------------------------------------------------------- /lib/parsers/processGidMap.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./processUidMap'); 2 | -------------------------------------------------------------------------------- /lib/parsers/processIo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processIo.js -------------------------------------------------------------------------------- /lib/parsers/processLimits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processLimits.js -------------------------------------------------------------------------------- /lib/parsers/processMountinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processMountinfo.js -------------------------------------------------------------------------------- /lib/parsers/processNetDev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processNetDev.js -------------------------------------------------------------------------------- /lib/parsers/processNetTcp4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processNetTcp4.js -------------------------------------------------------------------------------- /lib/parsers/processNetTcp6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processNetTcp6.js -------------------------------------------------------------------------------- /lib/parsers/processNetUdp4.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./processNetTcp4'); 2 | -------------------------------------------------------------------------------- /lib/parsers/processNetUdp6.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./processNetTcp6'); 2 | -------------------------------------------------------------------------------- /lib/parsers/processNetUnix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processNetUnix.js -------------------------------------------------------------------------------- /lib/parsers/processNetWireless.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processNetWireless.js -------------------------------------------------------------------------------- /lib/parsers/processStat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processStat.js -------------------------------------------------------------------------------- /lib/parsers/processStatm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processStatm.js -------------------------------------------------------------------------------- /lib/parsers/processStatus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processStatus.js -------------------------------------------------------------------------------- /lib/parsers/processThreads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processThreads.js -------------------------------------------------------------------------------- /lib/parsers/processUidMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processUidMap.js -------------------------------------------------------------------------------- /lib/parsers/processes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/processes.js -------------------------------------------------------------------------------- /lib/parsers/stat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/stat.js -------------------------------------------------------------------------------- /lib/parsers/swaps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/swaps.js -------------------------------------------------------------------------------- /lib/parsers/uptime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/uptime.js -------------------------------------------------------------------------------- /lib/parsers/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/parsers/utils.js -------------------------------------------------------------------------------- /lib/procfs-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/procfs-error.js -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/readme.md -------------------------------------------------------------------------------- /test/fixtures/data/2163/autogroup: -------------------------------------------------------------------------------- 1 | /autogroup-2798 nice 0 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/autogroup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/autogroup.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/cgroup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/cgroup -------------------------------------------------------------------------------- /test/fixtures/data/2163/cgroup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/cgroup.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/cmdline: -------------------------------------------------------------------------------- 1 | nodemake-fixtures.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/cmdline.js: -------------------------------------------------------------------------------- 1 | module.exports = ['node', 'make-fixtures.js']; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/comm: -------------------------------------------------------------------------------- 1 | node 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/comm.js: -------------------------------------------------------------------------------- 1 | module.exports = 'node'; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/cpuset: -------------------------------------------------------------------------------- 1 | / 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/cpuset.js: -------------------------------------------------------------------------------- 1 | module.exports = '/'; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/environ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/environ -------------------------------------------------------------------------------- /test/fixtures/data/2163/environ.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/environ.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fd-list.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fd-map.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/0: -------------------------------------------------------------------------------- 1 | /dev/pts/3 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/1: -------------------------------------------------------------------------------- 1 | /dev/pts/3 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/10: -------------------------------------------------------------------------------- 1 | pipe:[119833338] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/11: -------------------------------------------------------------------------------- 1 | pipe:[119833338] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/12: -------------------------------------------------------------------------------- 1 | anon_inode:[eventfd] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/13: -------------------------------------------------------------------------------- 1 | anon_inode:[eventpoll] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/14: -------------------------------------------------------------------------------- 1 | pipe:[119835145] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/15: -------------------------------------------------------------------------------- 1 | pipe:[119835145] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/16: -------------------------------------------------------------------------------- 1 | anon_inode:[eventfd] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/2: -------------------------------------------------------------------------------- 1 | /dev/pts/3 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/3: -------------------------------------------------------------------------------- 1 | anon_inode:[eventpoll] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/4: -------------------------------------------------------------------------------- 1 | pipe:[119835143] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/5: -------------------------------------------------------------------------------- 1 | pipe:[119835143] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/6: -------------------------------------------------------------------------------- 1 | pipe:[119835144] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/7: -------------------------------------------------------------------------------- 1 | pipe:[119835144] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/8: -------------------------------------------------------------------------------- 1 | anon_inode:[eventfd] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fd/9: -------------------------------------------------------------------------------- 1 | anon_inode:[eventpoll] -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-map.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic-map.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/3 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/4 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/5 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/6 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/7 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo-synthetic/8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo-synthetic/8 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/0 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/1 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/10 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/11 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/12 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/13 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/14: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/14 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/15 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/16: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/16 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/2 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/3 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/4 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/5 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/6 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/7 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/8 -------------------------------------------------------------------------------- /test/fixtures/data/2163/fdinfo/9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/fdinfo/9 -------------------------------------------------------------------------------- /test/fixtures/data/2163/gid_map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/gid_map -------------------------------------------------------------------------------- /test/fixtures/data/2163/gid_map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/gid_map.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/io: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/io -------------------------------------------------------------------------------- /test/fixtures/data/2163/io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/io.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/limits: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/limits -------------------------------------------------------------------------------- /test/fixtures/data/2163/limits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/limits.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/mountinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/mountinfo -------------------------------------------------------------------------------- /test/fixtures/data/2163/mountinfo-big: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/mountinfo-big -------------------------------------------------------------------------------- /test/fixtures/data/2163/mountinfo-big.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/mountinfo-big.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/mountinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/mountinfo.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/dev -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/dev.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/tcp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/tcp -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/tcp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/tcp.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/tcp6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/tcp6 -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/tcp6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/tcp6.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/udp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/udp -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/udp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/udp.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/udp6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/udp6 -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/udp6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/udp6.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/unix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/unix -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/unix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/unix.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/wireless: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/wireless -------------------------------------------------------------------------------- /test/fixtures/data/2163/net/wireless.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/net/wireless.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/oom_score: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/oom_score.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/personality: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/personality -------------------------------------------------------------------------------- /test/fixtures/data/2163/personality.js: -------------------------------------------------------------------------------- 1 | module.exports = 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/stat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/stat -------------------------------------------------------------------------------- /test/fixtures/data/2163/stat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/stat.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/statm: -------------------------------------------------------------------------------- 1 | 145650 7202 5627 3778 0 11841 0 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/statm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/statm.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/status: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/status -------------------------------------------------------------------------------- /test/fixtures/data/2163/status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/status.js -------------------------------------------------------------------------------- /test/fixtures/data/2163/timerslack_ns: -------------------------------------------------------------------------------- 1 | 50000 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/timerslack_ns.js: -------------------------------------------------------------------------------- 1 | module.exports = 50000; 2 | -------------------------------------------------------------------------------- /test/fixtures/data/2163/uid_map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/uid_map -------------------------------------------------------------------------------- /test/fixtures/data/2163/uid_map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/2163/uid_map.js -------------------------------------------------------------------------------- /test/fixtures/data/cgroups: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cgroups -------------------------------------------------------------------------------- /test/fixtures/data/cgroups.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cgroups.js -------------------------------------------------------------------------------- /test/fixtures/data/cmdline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cmdline -------------------------------------------------------------------------------- /test/fixtures/data/cmdline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cmdline.js -------------------------------------------------------------------------------- /test/fixtures/data/cpuinfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cpuinfo -------------------------------------------------------------------------------- /test/fixtures/data/cpuinfo-synthetic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cpuinfo-synthetic -------------------------------------------------------------------------------- /test/fixtures/data/cpuinfo-synthetic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cpuinfo-synthetic.js -------------------------------------------------------------------------------- /test/fixtures/data/cpuinfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/cpuinfo.js -------------------------------------------------------------------------------- /test/fixtures/data/crypto.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/crypto.js -------------------------------------------------------------------------------- /test/fixtures/data/devices: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/devices -------------------------------------------------------------------------------- /test/fixtures/data/devices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/devices.js -------------------------------------------------------------------------------- /test/fixtures/data/diskstats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/diskstats -------------------------------------------------------------------------------- /test/fixtures/data/diskstats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/diskstats.js -------------------------------------------------------------------------------- /test/fixtures/data/filesystems: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/filesystems -------------------------------------------------------------------------------- /test/fixtures/data/filesystems.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/filesystems.js -------------------------------------------------------------------------------- /test/fixtures/data/loadavg: -------------------------------------------------------------------------------- 1 | 0.28 0.22 0.19 1/926 6212 2 | -------------------------------------------------------------------------------- /test/fixtures/data/loadavg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/loadavg.js -------------------------------------------------------------------------------- /test/fixtures/data/meminfo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/meminfo -------------------------------------------------------------------------------- /test/fixtures/data/meminfo-incorrect-unit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/meminfo-incorrect-unit -------------------------------------------------------------------------------- /test/fixtures/data/meminfo-synthetic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/meminfo-synthetic -------------------------------------------------------------------------------- /test/fixtures/data/meminfo-synthetic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/meminfo-synthetic.js -------------------------------------------------------------------------------- /test/fixtures/data/meminfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/meminfo.js -------------------------------------------------------------------------------- /test/fixtures/data/net: -------------------------------------------------------------------------------- 1 | self/net -------------------------------------------------------------------------------- /test/fixtures/data/partitions: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/partitions -------------------------------------------------------------------------------- /test/fixtures/data/partitions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/partitions.js -------------------------------------------------------------------------------- /test/fixtures/data/process-cmdline-zombie: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/data/self: -------------------------------------------------------------------------------- 1 | 2163 -------------------------------------------------------------------------------- /test/fixtures/data/stat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/stat -------------------------------------------------------------------------------- /test/fixtures/data/stat-synthetic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/stat-synthetic -------------------------------------------------------------------------------- /test/fixtures/data/stat-synthetic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/stat-synthetic.js -------------------------------------------------------------------------------- /test/fixtures/data/stat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/stat.js -------------------------------------------------------------------------------- /test/fixtures/data/swaps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/swaps -------------------------------------------------------------------------------- /test/fixtures/data/swaps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/swaps.js -------------------------------------------------------------------------------- /test/fixtures/data/uptime: -------------------------------------------------------------------------------- 1 | 7275528.86 27963612.52 2 | -------------------------------------------------------------------------------- /test/fixtures/data/uptime.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | idle: 27963612.52, 3 | time: 7275528.86, 4 | }; 5 | -------------------------------------------------------------------------------- /test/fixtures/data/version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/version -------------------------------------------------------------------------------- /test/fixtures/data/version.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/data/version.js -------------------------------------------------------------------------------- /test/fixtures/type/asserts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/type/asserts.js -------------------------------------------------------------------------------- /test/fixtures/utils/16384-zeroes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/utils/16384-zeroes.bin -------------------------------------------------------------------------------- /test/fixtures/utils/17408-zeroes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/utils/17408-zeroes.bin -------------------------------------------------------------------------------- /test/fixtures/utils/4096-zeroes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/utils/4096-zeroes.bin -------------------------------------------------------------------------------- /test/fixtures/utils/8192-zeroes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/fixtures/utils/8192-zeroes.bin -------------------------------------------------------------------------------- /test/fixtures/utils/deleted-link: -------------------------------------------------------------------------------- 1 | . (deleted) -------------------------------------------------------------------------------- /test/fixtures/utils/ids/1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/utils/ids/2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/utils/ids/3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/utils/link: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/index.js -------------------------------------------------------------------------------- /test/parsers-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/parsers-utils.js -------------------------------------------------------------------------------- /test/parsers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/parsers.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stroncium/nodejs-procfs/HEAD/test/utils.js --------------------------------------------------------------------------------