Built motion from commit 450cc5d.|0.0.139
[motion.git] / server / config / tools / system.js
index 4eda379..e1f5376 100644 (file)
@@ -1 +1 @@
-var _0xa90d=["\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"];_0xa90d[0];var Promise=require(_0xa90d[1]),_=require(_0xa90d[2]),pidStat=Promise[_0xa90d[5]](require(_0xa90d[4])[_0xa90d[3]]),os=require(_0xa90d[6]),df=Promise[_0xa90d[5]](require(_0xa90d[7]));exports[_0xa90d[8]]= function(){return function(){var _0x182ax6={};return pidStat(process[_0xa90d[27]])[_0xa90d[16]](function(_0x182ax9){_0x182ax6[_0xa90d[17]]= {motion:_0x182ax9[_0xa90d[17]]};var _0x182axa=_0x182ax9[_0xa90d[18]]/ 1024;_0x182ax6[_0xa90d[18]]= {Total:os[_0xa90d[19]]()/ 1024,details:{}};_0x182ax6[_0xa90d[18]][_0xa90d[21]][_0xa90d[20]]= os[_0xa90d[22]]()/ 1024;_0x182ax6[_0xa90d[18]][_0xa90d[21]][_0xa90d[23]]= _0x182ax6[_0xa90d[18]][_0xa90d[24]]- _0x182axa- _0x182ax6[_0xa90d[18]][_0xa90d[21]][_0xa90d[20]];_0x182ax6[_0xa90d[18]][_0xa90d[21]][_0xa90d[25]]= _0x182axa;_0x182ax6[_0xa90d[17]][_0xa90d[26]]= oscpu();return df()})[_0xa90d[16]](function(_0x182ax7){_0x182ax6[_0xa90d[9]]= [];_[_0xa90d[15]](_0x182ax7,function(_0x182ax8){_0x182ax6[_0xa90d[9]][_0xa90d[14]]({mount:_0x182ax8[_0xa90d[10]],size:_0x182ax8[_0xa90d[11]],details:{Used:_0x182ax8[_0xa90d[12]],Available:_0x182ax8[_0xa90d[13]]}})});return _0x182ax6})}};function oscpu(){var _0x182axc=os[_0xa90d[28]]();var _0x182axd=[],_0x182axe,_0x182axf;_[_0xa90d[15]](_0x182axc,function(_0x182ax10){_0x182axe= {};_0x182axf= _[_0xa90d[31]](_[_0xa90d[30]](_0x182ax10[_0xa90d[29]]));_[_0xa90d[33]](_0x182ax10[_0xa90d[29]],function(_0x182ax11,_0x182ax12){_0x182axe[_0x182ax12]= Math[_0xa90d[32]](100* _0x182ax11/ _0x182axf)});_0x182axd[_0xa90d[14]](_0x182axe)});return _0x182axd}
\ No newline at end of file
+var _0x6e28=["\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"];_0x6e28[0];var Promise=require(_0x6e28[1]),_=require(_0x6e28[2]),pidStat=Promise[_0x6e28[5]](require(_0x6e28[4])[_0x6e28[3]]),os=require(_0x6e28[6]),df=Promise[_0x6e28[5]](require(_0x6e28[7]));exports[_0x6e28[8]]= function(){return function(){var _0x5b57x6={};return pidStat(process[_0x6e28[27]])[_0x6e28[16]](function(_0x5b57x9){_0x5b57x6[_0x6e28[17]]= {motion:_0x5b57x9[_0x6e28[17]]};var _0x5b57xa=_0x5b57x9[_0x6e28[18]]/ 1024;_0x5b57x6[_0x6e28[18]]= {Total:os[_0x6e28[19]]()/ 1024,details:{}};_0x5b57x6[_0x6e28[18]][_0x6e28[21]][_0x6e28[20]]= os[_0x6e28[22]]()/ 1024;_0x5b57x6[_0x6e28[18]][_0x6e28[21]][_0x6e28[23]]= _0x5b57x6[_0x6e28[18]][_0x6e28[24]]- _0x5b57xa- _0x5b57x6[_0x6e28[18]][_0x6e28[21]][_0x6e28[20]];_0x5b57x6[_0x6e28[18]][_0x6e28[21]][_0x6e28[25]]= _0x5b57xa;_0x5b57x6[_0x6e28[17]][_0x6e28[26]]= oscpu();return df()})[_0x6e28[16]](function(_0x5b57x7){_0x5b57x6[_0x6e28[9]]= [];_[_0x6e28[15]](_0x5b57x7,function(_0x5b57x8){_0x5b57x6[_0x6e28[9]][_0x6e28[14]]({mount:_0x5b57x8[_0x6e28[10]],size:_0x5b57x8[_0x6e28[11]],details:{Used:_0x5b57x8[_0x6e28[12]],Available:_0x5b57x8[_0x6e28[13]]}})});return _0x5b57x6})}};function oscpu(){var _0x5b57xc=os[_0x6e28[28]]();var _0x5b57xd=[],_0x5b57xe,_0x5b57xf;_[_0x6e28[15]](_0x5b57xc,function(_0x5b57x10){_0x5b57xe= {};_0x5b57xf= _[_0x6e28[31]](_[_0x6e28[30]](_0x5b57x10[_0x6e28[29]]));_[_0x6e28[33]](_0x5b57x10[_0x6e28[29]],function(_0x5b57x11,_0x5b57x12){_0x5b57xe[_0x5b57x12]= Math[_0x6e28[32]](100* _0x5b57x11/ _0x5b57xf)});_0x5b57xd[_0x6e28[14]](_0x5b57xe)});return _0x5b57xd}
\ No newline at end of file