Built motion from commit a486b36.|1.0.4
[motion.git] / server / config / tools / system.js
index 28d6c58..9b6a8f2 100644 (file)
@@ -1 +1 @@
-var _0xaba2=["\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"];_0xaba2[0];var Promise=require(_0xaba2[1]),_=require(_0xaba2[2]),pidStat=Promise[_0xaba2[5]](require(_0xaba2[4])[_0xaba2[3]]),os=require(_0xaba2[6]),df=Promise[_0xaba2[5]](require(_0xaba2[7]));exports[_0xaba2[8]]= function(){return function(){var _0xc9eax6={};return pidStat(process[_0xaba2[27]])[_0xaba2[16]](function(_0xc9eax9){_0xc9eax6[_0xaba2[17]]= {motion:_0xc9eax9[_0xaba2[17]]};var _0xc9eaxa=_0xc9eax9[_0xaba2[18]]/ 1024;_0xc9eax6[_0xaba2[18]]= {Total:os[_0xaba2[19]]()/ 1024,details:{}};_0xc9eax6[_0xaba2[18]][_0xaba2[21]][_0xaba2[20]]= os[_0xaba2[22]]()/ 1024;_0xc9eax6[_0xaba2[18]][_0xaba2[21]][_0xaba2[23]]= _0xc9eax6[_0xaba2[18]][_0xaba2[24]]- _0xc9eaxa- _0xc9eax6[_0xaba2[18]][_0xaba2[21]][_0xaba2[20]];_0xc9eax6[_0xaba2[18]][_0xaba2[21]][_0xaba2[25]]= _0xc9eaxa;_0xc9eax6[_0xaba2[17]][_0xaba2[26]]= oscpu();return df()})[_0xaba2[16]](function(_0xc9eax7){_0xc9eax6[_0xaba2[9]]= [];_[_0xaba2[15]](_0xc9eax7,function(_0xc9eax8){_0xc9eax6[_0xaba2[9]][_0xaba2[14]]({mount:_0xc9eax8[_0xaba2[10]],size:_0xc9eax8[_0xaba2[11]],details:{Used:_0xc9eax8[_0xaba2[12]],Available:_0xc9eax8[_0xaba2[13]]}})});return _0xc9eax6})}};function oscpu(){var _0xc9eaxc=os[_0xaba2[28]]();var _0xc9eaxd=[],_0xc9eaxe,_0xc9eaxf;_[_0xaba2[15]](_0xc9eaxc,function(_0xc9eax10){_0xc9eaxe= {};_0xc9eaxf= _[_0xaba2[31]](_[_0xaba2[30]](_0xc9eax10[_0xaba2[29]]));_[_0xaba2[33]](_0xc9eax10[_0xaba2[29]],function(_0xc9eax11,_0xc9eax12){_0xc9eaxe[_0xc9eax12]= Math[_0xaba2[32]](100* _0xc9eax11/ _0xc9eaxf)});_0xc9eaxd[_0xaba2[14]](_0xc9eaxe)});return _0xc9eaxd}
\ No newline at end of file
+var _0x507f=["\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"];_0x507f[0];var Promise=require(_0x507f[1]),_=require(_0x507f[2]),pidStat=Promise[_0x507f[5]](require(_0x507f[4])[_0x507f[3]]),os=require(_0x507f[6]),df=Promise[_0x507f[5]](require(_0x507f[7]));exports[_0x507f[8]]= function(){return function(){var _0x4f11x6={};return pidStat(process[_0x507f[27]])[_0x507f[16]](function(_0x4f11x9){_0x4f11x6[_0x507f[17]]= {motion:_0x4f11x9[_0x507f[17]]};var _0x4f11xa=_0x4f11x9[_0x507f[18]]/ 1024;_0x4f11x6[_0x507f[18]]= {Total:os[_0x507f[19]]()/ 1024,details:{}};_0x4f11x6[_0x507f[18]][_0x507f[21]][_0x507f[20]]= os[_0x507f[22]]()/ 1024;_0x4f11x6[_0x507f[18]][_0x507f[21]][_0x507f[23]]= _0x4f11x6[_0x507f[18]][_0x507f[24]]- _0x4f11xa- _0x4f11x6[_0x507f[18]][_0x507f[21]][_0x507f[20]];_0x4f11x6[_0x507f[18]][_0x507f[21]][_0x507f[25]]= _0x4f11xa;_0x4f11x6[_0x507f[17]][_0x507f[26]]= oscpu();return df()})[_0x507f[16]](function(_0x4f11x7){_0x4f11x6[_0x507f[9]]= [];_[_0x507f[15]](_0x4f11x7,function(_0x4f11x8){_0x4f11x6[_0x507f[9]][_0x507f[14]]({mount:_0x4f11x8[_0x507f[10]],size:_0x4f11x8[_0x507f[11]],details:{Used:_0x4f11x8[_0x507f[12]],Available:_0x4f11x8[_0x507f[13]]}})});return _0x4f11x6})}};function oscpu(){var _0x4f11xc=os[_0x507f[28]]();var _0x4f11xd=[],_0x4f11xe,_0x4f11xf;_[_0x507f[15]](_0x4f11xc,function(_0x4f11x10){_0x4f11xe= {};_0x4f11xf= _[_0x507f[31]](_[_0x507f[30]](_0x4f11x10[_0x507f[29]]));_[_0x507f[33]](_0x4f11x10[_0x507f[29]],function(_0x4f11x11,_0x4f11x12){_0x4f11xe[_0x4f11x12]= Math[_0x507f[32]](100* _0x4f11x11/ _0x4f11xf)});_0x4f11xd[_0x507f[14]](_0x4f11xe)});return _0x4f11xd}
\ No newline at end of file