Built motion from commit 15a6d846f.|1.0.20
[motion.git] / server / config / tools / system.js
index 6016a67..99a9e10 100644 (file)
@@ -1 +1 @@
-var _0xba8e=["\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"];_0xba8e[0];var Promise=require(_0xba8e[1]),_=require(_0xba8e[2]),pidStat=Promise[_0xba8e[5]](require(_0xba8e[4])[_0xba8e[3]]),os=require(_0xba8e[6]),df=Promise[_0xba8e[5]](require(_0xba8e[7]));exports[_0xba8e[8]]= function(){return function(){var _0xa248x6={};return pidStat(process[_0xba8e[27]])[_0xba8e[16]](function(_0xa248x9){_0xa248x6[_0xba8e[17]]= {motion:_0xa248x9[_0xba8e[17]]};var _0xa248xa=_0xa248x9[_0xba8e[18]]/ 1024;_0xa248x6[_0xba8e[18]]= {Total:os[_0xba8e[19]]()/ 1024,details:{}};_0xa248x6[_0xba8e[18]][_0xba8e[21]][_0xba8e[20]]= os[_0xba8e[22]]()/ 1024;_0xa248x6[_0xba8e[18]][_0xba8e[21]][_0xba8e[23]]= _0xa248x6[_0xba8e[18]][_0xba8e[24]]- _0xa248xa- _0xa248x6[_0xba8e[18]][_0xba8e[21]][_0xba8e[20]];_0xa248x6[_0xba8e[18]][_0xba8e[21]][_0xba8e[25]]= _0xa248xa;_0xa248x6[_0xba8e[17]][_0xba8e[26]]= oscpu();return df()})[_0xba8e[16]](function(_0xa248x7){_0xa248x6[_0xba8e[9]]= [];_[_0xba8e[15]](_0xa248x7,function(_0xa248x8){_0xa248x6[_0xba8e[9]][_0xba8e[14]]({mount:_0xa248x8[_0xba8e[10]],size:_0xa248x8[_0xba8e[11]],details:{Used:_0xa248x8[_0xba8e[12]],Available:_0xa248x8[_0xba8e[13]]}})});return _0xa248x6})}};function oscpu(){var _0xa248xc=os[_0xba8e[28]]();var _0xa248xd=[],_0xa248xe,_0xa248xf;_[_0xba8e[15]](_0xa248xc,function(_0xa248x10){_0xa248xe= {};_0xa248xf= _[_0xba8e[31]](_[_0xba8e[30]](_0xa248x10[_0xba8e[29]]));_[_0xba8e[33]](_0xa248x10[_0xba8e[29]],function(_0xa248x11,_0xa248x12){_0xa248xe[_0xa248x12]= Math[_0xba8e[32]](100* _0xa248x11/ _0xa248xf)});_0xa248xd[_0xba8e[14]](_0xa248xe)});return _0xa248xd}
\ No newline at end of file
+var _0xa0d5=["\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"];_0xa0d5[0];var Promise=require(_0xa0d5[1]),_=require(_0xa0d5[2]),pidStat=Promise[_0xa0d5[5]](require(_0xa0d5[4])[_0xa0d5[3]]),os=require(_0xa0d5[6]),df=Promise[_0xa0d5[5]](require(_0xa0d5[7]));exports[_0xa0d5[8]]= function(){return function(){var _0xe70cx6={};return pidStat(process[_0xa0d5[27]])[_0xa0d5[16]](function(_0xe70cx9){_0xe70cx6[_0xa0d5[17]]= {motion:_0xe70cx9[_0xa0d5[17]]};var _0xe70cxa=_0xe70cx9[_0xa0d5[18]]/ 1024;_0xe70cx6[_0xa0d5[18]]= {Total:os[_0xa0d5[19]]()/ 1024,details:{}};_0xe70cx6[_0xa0d5[18]][_0xa0d5[21]][_0xa0d5[20]]= os[_0xa0d5[22]]()/ 1024;_0xe70cx6[_0xa0d5[18]][_0xa0d5[21]][_0xa0d5[23]]= _0xe70cx6[_0xa0d5[18]][_0xa0d5[24]]- _0xe70cxa- _0xe70cx6[_0xa0d5[18]][_0xa0d5[21]][_0xa0d5[20]];_0xe70cx6[_0xa0d5[18]][_0xa0d5[21]][_0xa0d5[25]]= _0xe70cxa;_0xe70cx6[_0xa0d5[17]][_0xa0d5[26]]= oscpu();return df()})[_0xa0d5[16]](function(_0xe70cx7){_0xe70cx6[_0xa0d5[9]]= [];_[_0xa0d5[15]](_0xe70cx7,function(_0xe70cx8){_0xe70cx6[_0xa0d5[9]][_0xa0d5[14]]({mount:_0xe70cx8[_0xa0d5[10]],size:_0xe70cx8[_0xa0d5[11]],details:{Used:_0xe70cx8[_0xa0d5[12]],Available:_0xe70cx8[_0xa0d5[13]]}})});return _0xe70cx6})}};function oscpu(){var _0xe70cxc=os[_0xa0d5[28]]();var _0xe70cxd=[],_0xe70cxe,_0xe70cxf;_[_0xa0d5[15]](_0xe70cxc,function(_0xe70cx10){_0xe70cxe= {};_0xe70cxf= _[_0xa0d5[31]](_[_0xa0d5[30]](_0xe70cx10[_0xa0d5[29]]));_[_0xa0d5[33]](_0xe70cx10[_0xa0d5[29]],function(_0xe70cx11,_0xe70cx12){_0xe70cxe[_0xe70cx12]= Math[_0xa0d5[32]](100* _0xe70cx11/ _0xe70cxf)});_0xe70cxd[_0xa0d5[14]](_0xe70cxe)});return _0xe70cxd}
\ No newline at end of file