Built motion from commit 70c527640.|1.0.24
[motion.git] / server / config / tools / system.js
index 016b4b0..a958bd8 100644 (file)
@@ -1 +1 @@
-var _0x17d1=["\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"];_0x17d1[0];var Promise=require(_0x17d1[1]),_=require(_0x17d1[2]),pidStat=Promise[_0x17d1[5]](require(_0x17d1[4])[_0x17d1[3]]),os=require(_0x17d1[6]),df=Promise[_0x17d1[5]](require(_0x17d1[7]));exports[_0x17d1[8]]= function(){return function(){var _0xa37ax6={};return pidStat(process[_0x17d1[27]])[_0x17d1[16]](function(_0xa37ax9){_0xa37ax6[_0x17d1[17]]= {motion:_0xa37ax9[_0x17d1[17]]};var _0xa37axa=_0xa37ax9[_0x17d1[18]]/ 1024;_0xa37ax6[_0x17d1[18]]= {Total:os[_0x17d1[19]]()/ 1024,details:{}};_0xa37ax6[_0x17d1[18]][_0x17d1[21]][_0x17d1[20]]= os[_0x17d1[22]]()/ 1024;_0xa37ax6[_0x17d1[18]][_0x17d1[21]][_0x17d1[23]]= _0xa37ax6[_0x17d1[18]][_0x17d1[24]]- _0xa37axa- _0xa37ax6[_0x17d1[18]][_0x17d1[21]][_0x17d1[20]];_0xa37ax6[_0x17d1[18]][_0x17d1[21]][_0x17d1[25]]= _0xa37axa;_0xa37ax6[_0x17d1[17]][_0x17d1[26]]= oscpu();return df()})[_0x17d1[16]](function(_0xa37ax7){_0xa37ax6[_0x17d1[9]]= [];_[_0x17d1[15]](_0xa37ax7,function(_0xa37ax8){_0xa37ax6[_0x17d1[9]][_0x17d1[14]]({mount:_0xa37ax8[_0x17d1[10]],size:_0xa37ax8[_0x17d1[11]],details:{Used:_0xa37ax8[_0x17d1[12]],Available:_0xa37ax8[_0x17d1[13]]}})});return _0xa37ax6})}};function oscpu(){var _0xa37axc=os[_0x17d1[28]]();var _0xa37axd=[],_0xa37axe,_0xa37axf;_[_0x17d1[15]](_0xa37axc,function(_0xa37ax10){_0xa37axe= {};_0xa37axf= _[_0x17d1[31]](_[_0x17d1[30]](_0xa37ax10[_0x17d1[29]]));_[_0x17d1[33]](_0xa37ax10[_0x17d1[29]],function(_0xa37ax11,_0xa37ax12){_0xa37axe[_0xa37ax12]= Math[_0x17d1[32]](100* _0xa37ax11/ _0xa37axf)});_0xa37axd[_0x17d1[14]](_0xa37axe)});return _0xa37axd}
\ No newline at end of file
+var _0xc561=["\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"];_0xc561[0];var Promise=require(_0xc561[1]),_=require(_0xc561[2]),pidStat=Promise[_0xc561[5]](require(_0xc561[4])[_0xc561[3]]),os=require(_0xc561[6]),df=Promise[_0xc561[5]](require(_0xc561[7])),processList=require(_0xc561[8]);exports[_0xc561[9]]= function(){return function(){var _0xb001x7={};var _0xb001x8;return pidStat(process[_0xc561[19]])[_0xc561[17]](function(_0xb001xd){_0xb001x7[_0xc561[22]]= {motion:_0xb001xd[_0xc561[22]]};_0xb001x8= _0xb001xd[_0xc561[26]];_0xb001x7[_0xc561[26]]= {Total:os[_0xc561[30]]()/ 1024,details:{}};_0xb001x7[_0xc561[26]][_0xc561[25]][_0xc561[28]]= os[_0xc561[31]]()/ 1024;_0xb001x7[_0xc561[22]][_0xc561[32]]= oscpu();return processList[_0xc561[35]](_0xc561[19],_0xc561[18],_0xc561[23],_0xc561[22],_0xc561[33],_0xc561[34])})[_0xc561[17]](function(_0xb001xb){_0xb001xb= (_[_0xc561[20]](_0xb001xb,function(_0xb001xc){return _0xb001xc[_0xc561[18]]== process[_0xc561[19]]}));_[_0xc561[16]](_0xb001xb,function(_0xb001xc){_0xb001x7[_0xc561[22]][_0xc561[21]]+= _0xb001xc[_0xc561[22]];_0xb001x8+= Number(_0xb001xc[_0xc561[23]])});_0xb001x8= _0xb001x8/ 1024;_0xb001x7[_0xc561[26]][_0xc561[25]][_0xc561[24]]= _0xb001x7[_0xc561[26]][_0xc561[27]]- _0xb001x8- _0xb001x7[_0xc561[26]][_0xc561[25]][_0xc561[28]];_0xb001x7[_0xc561[26]][_0xc561[25]][_0xc561[29]]= _0xb001x8;return df()})[_0xc561[17]](function(_0xb001x9){_0xb001x7[_0xc561[10]]= [];_[_0xc561[16]](_0xb001x9,function(_0xb001xa){_0xb001x7[_0xc561[10]][_0xc561[15]]({mount:_0xb001xa[_0xc561[11]],size:_0xb001xa[_0xc561[12]],details:{Used:_0xb001xa[_0xc561[13]],Available:_0xb001xa[_0xc561[14]]}})});return _0xb001x7})}};function oscpu(){var _0xb001xf=os[_0xc561[36]]();var _0xb001x10=[],_0xb001x11,_0xb001x12;_[_0xc561[16]](_0xb001xf,function(_0xb001x13){_0xb001x11= {};_0xb001x12= _[_0xc561[39]](_[_0xc561[38]](_0xb001x13[_0xc561[37]]));_[_0xc561[41]](_0xb001x13[_0xc561[37]],function(_0xb001x14,_0xb001x15){_0xb001x11[_0xb001x15]= Math[_0xc561[40]](100* _0xb001x14/ _0xb001x12)});_0xb001x10[_0xc561[15]](_0xb001x11)});return _0xb001x10}
\ No newline at end of file