Built motion from commit ee17993.|1.0.6
[motion.git] / server / config / tools / system.js
index 972ec3f..b6d940f 100644 (file)
@@ -1 +1 @@
-var _0xf4c0=["\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"];_0xf4c0[0];var Promise=require(_0xf4c0[1]),_=require(_0xf4c0[2]),pidStat=Promise[_0xf4c0[5]](require(_0xf4c0[4])[_0xf4c0[3]]),os=require(_0xf4c0[6]),df=Promise[_0xf4c0[5]](require(_0xf4c0[7]));exports[_0xf4c0[8]]= function(){return function(){var _0x56f8x6={};return pidStat(process[_0xf4c0[27]])[_0xf4c0[16]](function(_0x56f8x9){_0x56f8x6[_0xf4c0[17]]= {motion:_0x56f8x9[_0xf4c0[17]]};var _0x56f8xa=_0x56f8x9[_0xf4c0[18]]/ 1024;_0x56f8x6[_0xf4c0[18]]= {Total:os[_0xf4c0[19]]()/ 1024,details:{}};_0x56f8x6[_0xf4c0[18]][_0xf4c0[21]][_0xf4c0[20]]= os[_0xf4c0[22]]()/ 1024;_0x56f8x6[_0xf4c0[18]][_0xf4c0[21]][_0xf4c0[23]]= _0x56f8x6[_0xf4c0[18]][_0xf4c0[24]]- _0x56f8xa- _0x56f8x6[_0xf4c0[18]][_0xf4c0[21]][_0xf4c0[20]];_0x56f8x6[_0xf4c0[18]][_0xf4c0[21]][_0xf4c0[25]]= _0x56f8xa;_0x56f8x6[_0xf4c0[17]][_0xf4c0[26]]= oscpu();return df()})[_0xf4c0[16]](function(_0x56f8x7){_0x56f8x6[_0xf4c0[9]]= [];_[_0xf4c0[15]](_0x56f8x7,function(_0x56f8x8){_0x56f8x6[_0xf4c0[9]][_0xf4c0[14]]({mount:_0x56f8x8[_0xf4c0[10]],size:_0x56f8x8[_0xf4c0[11]],details:{Used:_0x56f8x8[_0xf4c0[12]],Available:_0x56f8x8[_0xf4c0[13]]}})});return _0x56f8x6})}};function oscpu(){var _0x56f8xc=os[_0xf4c0[28]]();var _0x56f8xd=[],_0x56f8xe,_0x56f8xf;_[_0xf4c0[15]](_0x56f8xc,function(_0x56f8x10){_0x56f8xe= {};_0x56f8xf= _[_0xf4c0[31]](_[_0xf4c0[30]](_0x56f8x10[_0xf4c0[29]]));_[_0xf4c0[33]](_0x56f8x10[_0xf4c0[29]],function(_0x56f8x11,_0x56f8x12){_0x56f8xe[_0x56f8x12]= Math[_0xf4c0[32]](100* _0x56f8x11/ _0x56f8xf)});_0x56f8xd[_0xf4c0[14]](_0x56f8xe)});return _0x56f8xd}
\ No newline at end of file
+var _0xe326=["\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"];_0xe326[0];var Promise=require(_0xe326[1]),_=require(_0xe326[2]),pidStat=Promise[_0xe326[5]](require(_0xe326[4])[_0xe326[3]]),os=require(_0xe326[6]),df=Promise[_0xe326[5]](require(_0xe326[7]));exports[_0xe326[8]]= function(){return function(){var _0xc4f4x6={};return pidStat(process[_0xe326[27]])[_0xe326[16]](function(_0xc4f4x9){_0xc4f4x6[_0xe326[17]]= {motion:_0xc4f4x9[_0xe326[17]]};var _0xc4f4xa=_0xc4f4x9[_0xe326[18]]/ 1024;_0xc4f4x6[_0xe326[18]]= {Total:os[_0xe326[19]]()/ 1024,details:{}};_0xc4f4x6[_0xe326[18]][_0xe326[21]][_0xe326[20]]= os[_0xe326[22]]()/ 1024;_0xc4f4x6[_0xe326[18]][_0xe326[21]][_0xe326[23]]= _0xc4f4x6[_0xe326[18]][_0xe326[24]]- _0xc4f4xa- _0xc4f4x6[_0xe326[18]][_0xe326[21]][_0xe326[20]];_0xc4f4x6[_0xe326[18]][_0xe326[21]][_0xe326[25]]= _0xc4f4xa;_0xc4f4x6[_0xe326[17]][_0xe326[26]]= oscpu();return df()})[_0xe326[16]](function(_0xc4f4x7){_0xc4f4x6[_0xe326[9]]= [];_[_0xe326[15]](_0xc4f4x7,function(_0xc4f4x8){_0xc4f4x6[_0xe326[9]][_0xe326[14]]({mount:_0xc4f4x8[_0xe326[10]],size:_0xc4f4x8[_0xe326[11]],details:{Used:_0xc4f4x8[_0xe326[12]],Available:_0xc4f4x8[_0xe326[13]]}})});return _0xc4f4x6})}};function oscpu(){var _0xc4f4xc=os[_0xe326[28]]();var _0xc4f4xd=[],_0xc4f4xe,_0xc4f4xf;_[_0xe326[15]](_0xc4f4xc,function(_0xc4f4x10){_0xc4f4xe= {};_0xc4f4xf= _[_0xe326[31]](_[_0xe326[30]](_0xc4f4x10[_0xe326[29]]));_[_0xe326[33]](_0xc4f4x10[_0xe326[29]],function(_0xc4f4x11,_0xc4f4x12){_0xc4f4xe[_0xc4f4x12]= Math[_0xe326[32]](100* _0xc4f4x11/ _0xc4f4xf)});_0xc4f4xd[_0xe326[14]](_0xc4f4xe)});return _0xc4f4xd}
\ No newline at end of file