pure javascript implementation to get sysconf(_SC_CLK_TCK)) value
var cct=require('cpu-clock-ticks');
console.log('Clock ticks for CPU is %d HZ',cct());Normally it will be 100HZ.
Works only on Linux ( tested on Ubuntu and CentOS ), because the code assumes /proc/{pid}/stat exists.
Execute following command will return _SC_CLK_TCK
getconf CLK_TCKMIT