Built motion from commit 5ae821c.|0.0.127
[motion.git] / server / config / tools / system.js
index 96d0562..3b5a31c 100644 (file)
@@ -1 +1 @@
-var _0xb21f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x61\x74","\x70\x69\x64\x75\x73\x61\x67\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x6F\x73","\x6E\x6F\x64\x65\x2D\x64\x66","\x63\x68\x65\x63\x6B\x53\x74\x61\x74\x75\x73","\x64\x69\x73\x6B\x73","\x6D\x6F\x75\x6E\x74","\x73\x69\x7A\x65","\x75\x73\x65\x64","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x63\x70\x75","\x6D\x65\x6D\x6F\x72\x79","\x74\x6F\x74\x61\x6C\x6D\x65\x6D","\x46\x72\x65\x65","\x64\x65\x74\x61\x69\x6C\x73","\x66\x72\x65\x65\x6D\x65\x6D","\x4F\x74\x68\x65\x72","\x54\x6F\x74\x61\x6C","\x4D\x6F\x74\x69\x6F\x6E","\x63\x6F\x72\x65\x73","\x70\x69\x64","\x63\x70\x75\x73","\x74\x69\x6D\x65\x73","\x76\x61\x6C\x75\x65\x73","\x73\x75\x6D","\x72\x6F\x75\x6E\x64","\x66\x6F\x72\x4F\x77\x6E"];_0xb21f[0];var Promise=require(_0xb21f[1]),_=require(_0xb21f[2]),pidStat=Promise[_0xb21f[5]](require(_0xb21f[4])[_0xb21f[3]]),os=require(_0xb21f[6]),df=Promise[_0xb21f[5]](require(_0xb21f[7]));exports[_0xb21f[8]]= function(){return function(){var _0xc29dx6={};return pidStat(process[_0xb21f[27]])[_0xb21f[16]](function(_0xc29dx9){_0xc29dx6[_0xb21f[17]]= {motion:_0xc29dx9[_0xb21f[17]]};var _0xc29dxa=_0xc29dx9[_0xb21f[18]]/ 1024;_0xc29dx6[_0xb21f[18]]= {Total:os[_0xb21f[19]]()/ 1024,details:{}};_0xc29dx6[_0xb21f[18]][_0xb21f[21]][_0xb21f[20]]= os[_0xb21f[22]]()/ 1024;_0xc29dx6[_0xb21f[18]][_0xb21f[21]][_0xb21f[23]]= _0xc29dx6[_0xb21f[18]][_0xb21f[24]]- _0xc29dxa- _0xc29dx6[_0xb21f[18]][_0xb21f[21]][_0xb21f[20]];_0xc29dx6[_0xb21f[18]][_0xb21f[21]][_0xb21f[25]]= _0xc29dxa;_0xc29dx6[_0xb21f[17]][_0xb21f[26]]= oscpu();return df()})[_0xb21f[16]](function(_0xc29dx7){_0xc29dx6[_0xb21f[9]]= [];_[_0xb21f[15]](_0xc29dx7,function(_0xc29dx8){_0xc29dx6[_0xb21f[9]][_0xb21f[14]]({mount:_0xc29dx8[_0xb21f[10]],size:_0xc29dx8[_0xb21f[11]],details:{Used:_0xc29dx8[_0xb21f[12]],Available:_0xc29dx8[_0xb21f[13]]}})});return _0xc29dx6})}};function oscpu(){var _0xc29dxc=os[_0xb21f[28]]();var _0xc29dxd=[],_0xc29dxe,_0xc29dxf;_[_0xb21f[15]](_0xc29dxc,function(_0xc29dx10){_0xc29dxe= {};_0xc29dxf= _[_0xb21f[31]](_[_0xb21f[30]](_0xc29dx10[_0xb21f[29]]));_[_0xb21f[33]](_0xc29dx10[_0xb21f[29]],function(_0xc29dx11,_0xc29dx12){_0xc29dxe[_0xc29dx12]= Math[_0xb21f[32]](100* _0xc29dx11/ _0xc29dxf)});_0xc29dxd[_0xb21f[14]](_0xc29dxe)});return _0xc29dxd}
\ No newline at end of file
+var _0x7e9f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x62\x6C\x75\x65\x62\x69\x72\x64","\x6C\x6F\x64\x61\x73\x68","\x73\x74\x61\x74","\x70\x69\x64\x75\x73\x61\x67\x65","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x6F\x73","\x6E\x6F\x64\x65\x2D\x64\x66","\x63\x68\x65\x63\x6B\x53\x74\x61\x74\x75\x73","\x64\x69\x73\x6B\x73","\x6D\x6F\x75\x6E\x74","\x73\x69\x7A\x65","\x75\x73\x65\x64","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x63\x70\x75","\x6D\x65\x6D\x6F\x72\x79","\x74\x6F\x74\x61\x6C\x6D\x65\x6D","\x46\x72\x65\x65","\x64\x65\x74\x61\x69\x6C\x73","\x66\x72\x65\x65\x6D\x65\x6D","\x4F\x74\x68\x65\x72","\x54\x6F\x74\x61\x6C","\x4D\x6F\x74\x69\x6F\x6E","\x63\x6F\x72\x65\x73","\x70\x69\x64","\x63\x70\x75\x73","\x74\x69\x6D\x65\x73","\x76\x61\x6C\x75\x65\x73","\x73\x75\x6D","\x72\x6F\x75\x6E\x64","\x66\x6F\x72\x4F\x77\x6E"];_0x7e9f[0];var Promise=require(_0x7e9f[1]),_=require(_0x7e9f[2]),pidStat=Promise[_0x7e9f[5]](require(_0x7e9f[4])[_0x7e9f[3]]),os=require(_0x7e9f[6]),df=Promise[_0x7e9f[5]](require(_0x7e9f[7]));exports[_0x7e9f[8]]= function(){return function(){var _0xa4cbx6={};return pidStat(process[_0x7e9f[27]])[_0x7e9f[16]](function(_0xa4cbx9){_0xa4cbx6[_0x7e9f[17]]= {motion:_0xa4cbx9[_0x7e9f[17]]};var _0xa4cbxa=_0xa4cbx9[_0x7e9f[18]]/ 1024;_0xa4cbx6[_0x7e9f[18]]= {Total:os[_0x7e9f[19]]()/ 1024,details:{}};_0xa4cbx6[_0x7e9f[18]][_0x7e9f[21]][_0x7e9f[20]]= os[_0x7e9f[22]]()/ 1024;_0xa4cbx6[_0x7e9f[18]][_0x7e9f[21]][_0x7e9f[23]]= _0xa4cbx6[_0x7e9f[18]][_0x7e9f[24]]- _0xa4cbxa- _0xa4cbx6[_0x7e9f[18]][_0x7e9f[21]][_0x7e9f[20]];_0xa4cbx6[_0x7e9f[18]][_0x7e9f[21]][_0x7e9f[25]]= _0xa4cbxa;_0xa4cbx6[_0x7e9f[17]][_0x7e9f[26]]= oscpu();return df()})[_0x7e9f[16]](function(_0xa4cbx7){_0xa4cbx6[_0x7e9f[9]]= [];_[_0x7e9f[15]](_0xa4cbx7,function(_0xa4cbx8){_0xa4cbx6[_0x7e9f[9]][_0x7e9f[14]]({mount:_0xa4cbx8[_0x7e9f[10]],size:_0xa4cbx8[_0x7e9f[11]],details:{Used:_0xa4cbx8[_0x7e9f[12]],Available:_0xa4cbx8[_0x7e9f[13]]}})});return _0xa4cbx6})}};function oscpu(){var _0xa4cbxc=os[_0x7e9f[28]]();var _0xa4cbxd=[],_0xa4cbxe,_0xa4cbxf;_[_0x7e9f[15]](_0xa4cbxc,function(_0xa4cbx10){_0xa4cbxe= {};_0xa4cbxf= _[_0x7e9f[31]](_[_0x7e9f[30]](_0xa4cbx10[_0x7e9f[29]]));_[_0x7e9f[33]](_0xa4cbx10[_0x7e9f[29]],function(_0xa4cbx11,_0xa4cbx12){_0xa4cbxe[_0xa4cbx12]= Math[_0x7e9f[32]](100* _0xa4cbx11/ _0xa4cbxf)});_0xa4cbxd[_0x7e9f[14]](_0xa4cbxe)});return _0xa4cbxd}
\ No newline at end of file