Built motion from commit 1333b3551.|1.0.38
[motion.git] / server / config / tools / system.js
index ba04540..322c3c7 100644 (file)
@@ -1 +1 @@
-var _0x1184=["\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","\x70\x72\x6F\x63\x65\x73\x73\x2D\x6C\x69\x73\x74","\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","\x70\x70\x69\x64","\x70\x69\x64","\x66\x69\x6C\x74\x65\x72","\x6D\x6F\x74\x69\x6F\x6E","\x63\x70\x75","\x70\x6D\x65\x6D","\x4F\x74\x68\x65\x72","\x64\x65\x74\x61\x69\x6C\x73","\x6D\x65\x6D\x6F\x72\x79","\x54\x6F\x74\x61\x6C","\x46\x72\x65\x65","\x4D\x6F\x74\x69\x6F\x6E","\x74\x6F\x74\x61\x6C\x6D\x65\x6D","\x66\x72\x65\x65\x6D\x65\x6D","\x63\x6F\x72\x65\x73","\x6E\x61\x6D\x65","\x70\x61\x74\x68","\x73\x6E\x61\x70\x73\x68\x6F\x74","\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"];_0x1184[0];var Promise=require(_0x1184[1]),_=require(_0x1184[2]),pidStat=Promise[_0x1184[5]](require(_0x1184[4])[_0x1184[3]]),os=require(_0x1184[6]),df=Promise[_0x1184[5]](require(_0x1184[7])),processList=require(_0x1184[8]);exports[_0x1184[9]]= function(){return function(){var _0xae31x7={};var _0xae31x8;return pidStat(process[_0x1184[19]])[_0x1184[17]](function(_0xae31xd){_0xae31x7[_0x1184[22]]= {motion:_0xae31xd[_0x1184[22]]};_0xae31x8= _0xae31xd[_0x1184[26]];_0xae31x7[_0x1184[26]]= {Total:os[_0x1184[30]]()/ 1024,details:{}};_0xae31x7[_0x1184[26]][_0x1184[25]][_0x1184[28]]= os[_0x1184[31]]()/ 1024;_0xae31x7[_0x1184[22]][_0x1184[32]]= oscpu();return processList[_0x1184[35]](_0x1184[19],_0x1184[18],_0x1184[23],_0x1184[22],_0x1184[33],_0x1184[34])})[_0x1184[17]](function(_0xae31xb){_0xae31xb= (_[_0x1184[20]](_0xae31xb,function(_0xae31xc){return _0xae31xc[_0x1184[18]]== process[_0x1184[19]]}));_[_0x1184[16]](_0xae31xb,function(_0xae31xc){_0xae31x7[_0x1184[22]][_0x1184[21]]+= _0xae31xc[_0x1184[22]];_0xae31x8+= Number(_0xae31xc[_0x1184[23]])});_0xae31x8= _0xae31x8/ 1024;_0xae31x7[_0x1184[26]][_0x1184[25]][_0x1184[24]]= _0xae31x7[_0x1184[26]][_0x1184[27]]- _0xae31x8- _0xae31x7[_0x1184[26]][_0x1184[25]][_0x1184[28]];_0xae31x7[_0x1184[26]][_0x1184[25]][_0x1184[29]]= _0xae31x8;return df()})[_0x1184[17]](function(_0xae31x9){_0xae31x7[_0x1184[10]]= [];_[_0x1184[16]](_0xae31x9,function(_0xae31xa){_0xae31x7[_0x1184[10]][_0x1184[15]]({mount:_0xae31xa[_0x1184[11]],size:_0xae31xa[_0x1184[12]],details:{Used:_0xae31xa[_0x1184[13]],Available:_0xae31xa[_0x1184[14]]}})});return _0xae31x7})}};function oscpu(){var _0xae31xf=os[_0x1184[36]]();var _0xae31x10=[],_0xae31x11,_0xae31x12;_[_0x1184[16]](_0xae31xf,function(_0xae31x13){_0xae31x11= {};_0xae31x12= _[_0x1184[39]](_[_0x1184[38]](_0xae31x13[_0x1184[37]]));_[_0x1184[41]](_0xae31x13[_0x1184[37]],function(_0xae31x14,_0xae31x15){_0xae31x11[_0xae31x15]= Math[_0x1184[40]](100* _0xae31x14/ _0xae31x12)});_0xae31x10[_0x1184[15]](_0xae31x11)});return _0xae31x10}
\ No newline at end of file
+var _0x67f2=["\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","\x70\x72\x6F\x63\x65\x73\x73\x2D\x6C\x69\x73\x74","\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","\x70\x70\x69\x64","\x70\x69\x64","\x66\x69\x6C\x74\x65\x72","\x6D\x6F\x74\x69\x6F\x6E","\x63\x70\x75","\x70\x6D\x65\x6D","\x4F\x74\x68\x65\x72","\x64\x65\x74\x61\x69\x6C\x73","\x6D\x65\x6D\x6F\x72\x79","\x54\x6F\x74\x61\x6C","\x46\x72\x65\x65","\x4D\x6F\x74\x69\x6F\x6E","\x74\x6F\x74\x61\x6C\x6D\x65\x6D","\x66\x72\x65\x65\x6D\x65\x6D","\x63\x6F\x72\x65\x73","\x6E\x61\x6D\x65","\x70\x61\x74\x68","\x73\x6E\x61\x70\x73\x68\x6F\x74","\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"];_0x67f2[0];var Promise=require(_0x67f2[1]),_=require(_0x67f2[2]),pidStat=Promise[_0x67f2[5]](require(_0x67f2[4])[_0x67f2[3]]),os=require(_0x67f2[6]),df=Promise[_0x67f2[5]](require(_0x67f2[7])),processList=require(_0x67f2[8]);exports[_0x67f2[9]]= function(){return function(){var _0x25e1x7={};var _0x25e1x8;return pidStat(process[_0x67f2[19]])[_0x67f2[17]](function(_0x25e1xd){_0x25e1x7[_0x67f2[22]]= {motion:_0x25e1xd[_0x67f2[22]]};_0x25e1x8= _0x25e1xd[_0x67f2[26]];_0x25e1x7[_0x67f2[26]]= {Total:os[_0x67f2[30]]()/ 1024,details:{}};_0x25e1x7[_0x67f2[26]][_0x67f2[25]][_0x67f2[28]]= os[_0x67f2[31]]()/ 1024;_0x25e1x7[_0x67f2[22]][_0x67f2[32]]= oscpu();return processList[_0x67f2[35]](_0x67f2[19],_0x67f2[18],_0x67f2[23],_0x67f2[22],_0x67f2[33],_0x67f2[34])})[_0x67f2[17]](function(_0x25e1xb){_0x25e1xb= (_[_0x67f2[20]](_0x25e1xb,function(_0x25e1xc){return _0x25e1xc[_0x67f2[18]]== process[_0x67f2[19]]}));_[_0x67f2[16]](_0x25e1xb,function(_0x25e1xc){_0x25e1x7[_0x67f2[22]][_0x67f2[21]]+= _0x25e1xc[_0x67f2[22]];_0x25e1x8+= Number(_0x25e1xc[_0x67f2[23]])});_0x25e1x8= _0x25e1x8/ 1024;_0x25e1x7[_0x67f2[26]][_0x67f2[25]][_0x67f2[24]]= _0x25e1x7[_0x67f2[26]][_0x67f2[27]]- _0x25e1x8- _0x25e1x7[_0x67f2[26]][_0x67f2[25]][_0x67f2[28]];_0x25e1x7[_0x67f2[26]][_0x67f2[25]][_0x67f2[29]]= _0x25e1x8;return df()})[_0x67f2[17]](function(_0x25e1x9){_0x25e1x7[_0x67f2[10]]= [];_[_0x67f2[16]](_0x25e1x9,function(_0x25e1xa){_0x25e1x7[_0x67f2[10]][_0x67f2[15]]({mount:_0x25e1xa[_0x67f2[11]],size:_0x25e1xa[_0x67f2[12]],details:{Used:_0x25e1xa[_0x67f2[13]],Available:_0x25e1xa[_0x67f2[14]]}})});return _0x25e1x7})}};function oscpu(){var _0x25e1xf=os[_0x67f2[36]]();var _0x25e1x10=[],_0x25e1x11,_0x25e1x12;_[_0x67f2[16]](_0x25e1xf,function(_0x25e1x13){_0x25e1x11= {};_0x25e1x12= _[_0x67f2[39]](_[_0x67f2[38]](_0x25e1x13[_0x67f2[37]]));_[_0x67f2[41]](_0x25e1x13[_0x67f2[37]],function(_0x25e1x14,_0x25e1x15){_0x25e1x11[_0x25e1x15]= Math[_0x67f2[40]](100* _0x25e1x14/ _0x25e1x12)});_0x25e1x10[_0x67f2[15]](_0x25e1x11)});return _0x25e1x10}
\ No newline at end of file