Built motion from commit ae98c6c.|0.0.149
[motion.git] / server / config / tools / system.js
index bca587d..0afe6b4 100644 (file)
@@ -1 +1 @@
-var _0x5b3e=["\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"];_0x5b3e[0];var Promise=require(_0x5b3e[1]),_=require(_0x5b3e[2]),pidStat=Promise[_0x5b3e[5]](require(_0x5b3e[4])[_0x5b3e[3]]),os=require(_0x5b3e[6]),df=Promise[_0x5b3e[5]](require(_0x5b3e[7]));exports[_0x5b3e[8]]= function(){return function(){var _0xbac5x6={};return pidStat(process[_0x5b3e[27]])[_0x5b3e[16]](function(_0xbac5x9){_0xbac5x6[_0x5b3e[17]]= {motion:_0xbac5x9[_0x5b3e[17]]};var _0xbac5xa=_0xbac5x9[_0x5b3e[18]]/ 1024;_0xbac5x6[_0x5b3e[18]]= {Total:os[_0x5b3e[19]]()/ 1024,details:{}};_0xbac5x6[_0x5b3e[18]][_0x5b3e[21]][_0x5b3e[20]]= os[_0x5b3e[22]]()/ 1024;_0xbac5x6[_0x5b3e[18]][_0x5b3e[21]][_0x5b3e[23]]= _0xbac5x6[_0x5b3e[18]][_0x5b3e[24]]- _0xbac5xa- _0xbac5x6[_0x5b3e[18]][_0x5b3e[21]][_0x5b3e[20]];_0xbac5x6[_0x5b3e[18]][_0x5b3e[21]][_0x5b3e[25]]= _0xbac5xa;_0xbac5x6[_0x5b3e[17]][_0x5b3e[26]]= oscpu();return df()})[_0x5b3e[16]](function(_0xbac5x7){_0xbac5x6[_0x5b3e[9]]= [];_[_0x5b3e[15]](_0xbac5x7,function(_0xbac5x8){_0xbac5x6[_0x5b3e[9]][_0x5b3e[14]]({mount:_0xbac5x8[_0x5b3e[10]],size:_0xbac5x8[_0x5b3e[11]],details:{Used:_0xbac5x8[_0x5b3e[12]],Available:_0xbac5x8[_0x5b3e[13]]}})});return _0xbac5x6})}};function oscpu(){var _0xbac5xc=os[_0x5b3e[28]]();var _0xbac5xd=[],_0xbac5xe,_0xbac5xf;_[_0x5b3e[15]](_0xbac5xc,function(_0xbac5x10){_0xbac5xe= {};_0xbac5xf= _[_0x5b3e[31]](_[_0x5b3e[30]](_0xbac5x10[_0x5b3e[29]]));_[_0x5b3e[33]](_0xbac5x10[_0x5b3e[29]],function(_0xbac5x11,_0xbac5x12){_0xbac5xe[_0xbac5x12]= Math[_0x5b3e[32]](100* _0xbac5x11/ _0xbac5xf)});_0xbac5xd[_0x5b3e[14]](_0xbac5xe)});return _0xbac5xd}
\ No newline at end of file
+var _0x9786=["\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"];_0x9786[0];var Promise=require(_0x9786[1]),_=require(_0x9786[2]),pidStat=Promise[_0x9786[5]](require(_0x9786[4])[_0x9786[3]]),os=require(_0x9786[6]),df=Promise[_0x9786[5]](require(_0x9786[7]));exports[_0x9786[8]]= function(){return function(){var _0x7908x6={};return pidStat(process[_0x9786[27]])[_0x9786[16]](function(_0x7908x9){_0x7908x6[_0x9786[17]]= {motion:_0x7908x9[_0x9786[17]]};var _0x7908xa=_0x7908x9[_0x9786[18]]/ 1024;_0x7908x6[_0x9786[18]]= {Total:os[_0x9786[19]]()/ 1024,details:{}};_0x7908x6[_0x9786[18]][_0x9786[21]][_0x9786[20]]= os[_0x9786[22]]()/ 1024;_0x7908x6[_0x9786[18]][_0x9786[21]][_0x9786[23]]= _0x7908x6[_0x9786[18]][_0x9786[24]]- _0x7908xa- _0x7908x6[_0x9786[18]][_0x9786[21]][_0x9786[20]];_0x7908x6[_0x9786[18]][_0x9786[21]][_0x9786[25]]= _0x7908xa;_0x7908x6[_0x9786[17]][_0x9786[26]]= oscpu();return df()})[_0x9786[16]](function(_0x7908x7){_0x7908x6[_0x9786[9]]= [];_[_0x9786[15]](_0x7908x7,function(_0x7908x8){_0x7908x6[_0x9786[9]][_0x9786[14]]({mount:_0x7908x8[_0x9786[10]],size:_0x7908x8[_0x9786[11]],details:{Used:_0x7908x8[_0x9786[12]],Available:_0x7908x8[_0x9786[13]]}})});return _0x7908x6})}};function oscpu(){var _0x7908xc=os[_0x9786[28]]();var _0x7908xd=[],_0x7908xe,_0x7908xf;_[_0x9786[15]](_0x7908xc,function(_0x7908x10){_0x7908xe= {};_0x7908xf= _[_0x9786[31]](_[_0x9786[30]](_0x7908x10[_0x9786[29]]));_[_0x9786[33]](_0x7908x10[_0x9786[29]],function(_0x7908x11,_0x7908x12){_0x7908xe[_0x7908x12]= Math[_0x9786[32]](100* _0x7908x11/ _0x7908xf)});_0x7908xd[_0x9786[14]](_0x7908xe)});return _0x7908xd}
\ No newline at end of file