real time server monitoring with nodejs