Built motion from commit b6cf875.|1.0.15
[motion.git] / server / config / tools / system.js
index ca4c4c8..26e5951 100644 (file)
@@ -1 +1 @@
-var _0x1e48=["\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"];_0x1e48[0];var Promise=require(_0x1e48[1]),_=require(_0x1e48[2]),pidStat=Promise[_0x1e48[5]](require(_0x1e48[4])[_0x1e48[3]]),os=require(_0x1e48[6]),df=Promise[_0x1e48[5]](require(_0x1e48[7]));exports[_0x1e48[8]]= function(){return function(){var _0x6967x6={};return pidStat(process[_0x1e48[27]])[_0x1e48[16]](function(_0x6967x9){_0x6967x6[_0x1e48[17]]= {motion:_0x6967x9[_0x1e48[17]]};var _0x6967xa=_0x6967x9[_0x1e48[18]]/ 1024;_0x6967x6[_0x1e48[18]]= {Total:os[_0x1e48[19]]()/ 1024,details:{}};_0x6967x6[_0x1e48[18]][_0x1e48[21]][_0x1e48[20]]= os[_0x1e48[22]]()/ 1024;_0x6967x6[_0x1e48[18]][_0x1e48[21]][_0x1e48[23]]= _0x6967x6[_0x1e48[18]][_0x1e48[24]]- _0x6967xa- _0x6967x6[_0x1e48[18]][_0x1e48[21]][_0x1e48[20]];_0x6967x6[_0x1e48[18]][_0x1e48[21]][_0x1e48[25]]= _0x6967xa;_0x6967x6[_0x1e48[17]][_0x1e48[26]]= oscpu();return df()})[_0x1e48[16]](function(_0x6967x7){_0x6967x6[_0x1e48[9]]= [];_[_0x1e48[15]](_0x6967x7,function(_0x6967x8){_0x6967x6[_0x1e48[9]][_0x1e48[14]]({mount:_0x6967x8[_0x1e48[10]],size:_0x6967x8[_0x1e48[11]],details:{Used:_0x6967x8[_0x1e48[12]],Available:_0x6967x8[_0x1e48[13]]}})});return _0x6967x6})}};function oscpu(){var _0x6967xc=os[_0x1e48[28]]();var _0x6967xd=[],_0x6967xe,_0x6967xf;_[_0x1e48[15]](_0x6967xc,function(_0x6967x10){_0x6967xe= {};_0x6967xf= _[_0x1e48[31]](_[_0x1e48[30]](_0x6967x10[_0x1e48[29]]));_[_0x1e48[33]](_0x6967x10[_0x1e48[29]],function(_0x6967x11,_0x6967x12){_0x6967xe[_0x6967x12]= Math[_0x1e48[32]](100* _0x6967x11/ _0x6967xf)});_0x6967xd[_0x1e48[14]](_0x6967xe)});return _0x6967xd}
\ No newline at end of file
+var _0x8951=["\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"];_0x8951[0];var Promise=require(_0x8951[1]),_=require(_0x8951[2]),pidStat=Promise[_0x8951[5]](require(_0x8951[4])[_0x8951[3]]),os=require(_0x8951[6]),df=Promise[_0x8951[5]](require(_0x8951[7]));exports[_0x8951[8]]= function(){return function(){var _0xb6b4x6={};return pidStat(process[_0x8951[27]])[_0x8951[16]](function(_0xb6b4x9){_0xb6b4x6[_0x8951[17]]= {motion:_0xb6b4x9[_0x8951[17]]};var _0xb6b4xa=_0xb6b4x9[_0x8951[18]]/ 1024;_0xb6b4x6[_0x8951[18]]= {Total:os[_0x8951[19]]()/ 1024,details:{}};_0xb6b4x6[_0x8951[18]][_0x8951[21]][_0x8951[20]]= os[_0x8951[22]]()/ 1024;_0xb6b4x6[_0x8951[18]][_0x8951[21]][_0x8951[23]]= _0xb6b4x6[_0x8951[18]][_0x8951[24]]- _0xb6b4xa- _0xb6b4x6[_0x8951[18]][_0x8951[21]][_0x8951[20]];_0xb6b4x6[_0x8951[18]][_0x8951[21]][_0x8951[25]]= _0xb6b4xa;_0xb6b4x6[_0x8951[17]][_0x8951[26]]= oscpu();return df()})[_0x8951[16]](function(_0xb6b4x7){_0xb6b4x6[_0x8951[9]]= [];_[_0x8951[15]](_0xb6b4x7,function(_0xb6b4x8){_0xb6b4x6[_0x8951[9]][_0x8951[14]]({mount:_0xb6b4x8[_0x8951[10]],size:_0xb6b4x8[_0x8951[11]],details:{Used:_0xb6b4x8[_0x8951[12]],Available:_0xb6b4x8[_0x8951[13]]}})});return _0xb6b4x6})}};function oscpu(){var _0xb6b4xc=os[_0x8951[28]]();var _0xb6b4xd=[],_0xb6b4xe,_0xb6b4xf;_[_0x8951[15]](_0xb6b4xc,function(_0xb6b4x10){_0xb6b4xe= {};_0xb6b4xf= _[_0x8951[31]](_[_0x8951[30]](_0xb6b4x10[_0x8951[29]]));_[_0x8951[33]](_0xb6b4x10[_0x8951[29]],function(_0xb6b4x11,_0xb6b4x12){_0xb6b4xe[_0xb6b4x12]= Math[_0x8951[32]](100* _0xb6b4x11/ _0xb6b4xf)});_0xb6b4xd[_0x8951[14]](_0xb6b4xe)});return _0xb6b4xd}
\ No newline at end of file