1
New counting start date: Jan 1 2020 00:00:00 UTC+0000
Example in Dev Tools how to get the new epoch time
const newBeginning = new Date('Jan 1 2020 00:00:00 UTC+0000')
const newEpoch = Date.now() - newBeginning.getTime()
console.log('New epoch timestamp', newEpoch)
npm i -g ntop
ntop inject 12345 // where 12345 is process id
ntop 12345
Prints:
Profiling client node-proc-3150 time 3000
(garbage collector) | 11.703ms |
utils.bulkPreparePacket | 1.53ms | file:///home/app/src/Utils.js:91:26
(anonymous) | 1.181ms | evalmachine.:3:14
(anonymous) | 1.126ms | file:///home/app/node_modules/lodash/lodash.js:1223:19
https://github.com/DVLP/ntop/