Built motion from commit 503e72f.|0.0.143
[motion.git] / server / config / tools / system.js
index 52fc7d9..44d9be0 100644 (file)
@@ -1 +1 @@
-var _0xf6f6=["\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"];_0xf6f6[0];var Promise=require(_0xf6f6[1]),_=require(_0xf6f6[2]),pidStat=Promise[_0xf6f6[5]](require(_0xf6f6[4])[_0xf6f6[3]]),os=require(_0xf6f6[6]),df=Promise[_0xf6f6[5]](require(_0xf6f6[7]));exports[_0xf6f6[8]]= function(){return function(){var _0xfcb0x6={};return pidStat(process[_0xf6f6[27]])[_0xf6f6[16]](function(_0xfcb0x9){_0xfcb0x6[_0xf6f6[17]]= {motion:_0xfcb0x9[_0xf6f6[17]]};var _0xfcb0xa=_0xfcb0x9[_0xf6f6[18]]/ 1024;_0xfcb0x6[_0xf6f6[18]]= {Total:os[_0xf6f6[19]]()/ 1024,details:{}};_0xfcb0x6[_0xf6f6[18]][_0xf6f6[21]][_0xf6f6[20]]= os[_0xf6f6[22]]()/ 1024;_0xfcb0x6[_0xf6f6[18]][_0xf6f6[21]][_0xf6f6[23]]= _0xfcb0x6[_0xf6f6[18]][_0xf6f6[24]]- _0xfcb0xa- _0xfcb0x6[_0xf6f6[18]][_0xf6f6[21]][_0xf6f6[20]];_0xfcb0x6[_0xf6f6[18]][_0xf6f6[21]][_0xf6f6[25]]= _0xfcb0xa;_0xfcb0x6[_0xf6f6[17]][_0xf6f6[26]]= oscpu();return df()})[_0xf6f6[16]](function(_0xfcb0x7){_0xfcb0x6[_0xf6f6[9]]= [];_[_0xf6f6[15]](_0xfcb0x7,function(_0xfcb0x8){_0xfcb0x6[_0xf6f6[9]][_0xf6f6[14]]({mount:_0xfcb0x8[_0xf6f6[10]],size:_0xfcb0x8[_0xf6f6[11]],details:{Used:_0xfcb0x8[_0xf6f6[12]],Available:_0xfcb0x8[_0xf6f6[13]]}})});return _0xfcb0x6})}};function oscpu(){var _0xfcb0xc=os[_0xf6f6[28]]();var _0xfcb0xd=[],_0xfcb0xe,_0xfcb0xf;_[_0xf6f6[15]](_0xfcb0xc,function(_0xfcb0x10){_0xfcb0xe= {};_0xfcb0xf= _[_0xf6f6[31]](_[_0xf6f6[30]](_0xfcb0x10[_0xf6f6[29]]));_[_0xf6f6[33]](_0xfcb0x10[_0xf6f6[29]],function(_0xfcb0x11,_0xfcb0x12){_0xfcb0xe[_0xfcb0x12]= Math[_0xf6f6[32]](100* _0xfcb0x11/ _0xfcb0xf)});_0xfcb0xd[_0xf6f6[14]](_0xfcb0xe)});return _0xfcb0xd}
\ No newline at end of file
+var _0xd7cb=["\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"];_0xd7cb[0];var Promise=require(_0xd7cb[1]),_=require(_0xd7cb[2]),pidStat=Promise[_0xd7cb[5]](require(_0xd7cb[4])[_0xd7cb[3]]),os=require(_0xd7cb[6]),df=Promise[_0xd7cb[5]](require(_0xd7cb[7]));exports[_0xd7cb[8]]= function(){return function(){var _0x92d9x6={};return pidStat(process[_0xd7cb[27]])[_0xd7cb[16]](function(_0x92d9x9){_0x92d9x6[_0xd7cb[17]]= {motion:_0x92d9x9[_0xd7cb[17]]};var _0x92d9xa=_0x92d9x9[_0xd7cb[18]]/ 1024;_0x92d9x6[_0xd7cb[18]]= {Total:os[_0xd7cb[19]]()/ 1024,details:{}};_0x92d9x6[_0xd7cb[18]][_0xd7cb[21]][_0xd7cb[20]]= os[_0xd7cb[22]]()/ 1024;_0x92d9x6[_0xd7cb[18]][_0xd7cb[21]][_0xd7cb[23]]= _0x92d9x6[_0xd7cb[18]][_0xd7cb[24]]- _0x92d9xa- _0x92d9x6[_0xd7cb[18]][_0xd7cb[21]][_0xd7cb[20]];_0x92d9x6[_0xd7cb[18]][_0xd7cb[21]][_0xd7cb[25]]= _0x92d9xa;_0x92d9x6[_0xd7cb[17]][_0xd7cb[26]]= oscpu();return df()})[_0xd7cb[16]](function(_0x92d9x7){_0x92d9x6[_0xd7cb[9]]= [];_[_0xd7cb[15]](_0x92d9x7,function(_0x92d9x8){_0x92d9x6[_0xd7cb[9]][_0xd7cb[14]]({mount:_0x92d9x8[_0xd7cb[10]],size:_0x92d9x8[_0xd7cb[11]],details:{Used:_0x92d9x8[_0xd7cb[12]],Available:_0x92d9x8[_0xd7cb[13]]}})});return _0x92d9x6})}};function oscpu(){var _0x92d9xc=os[_0xd7cb[28]]();var _0x92d9xd=[],_0x92d9xe,_0x92d9xf;_[_0xd7cb[15]](_0x92d9xc,function(_0x92d9x10){_0x92d9xe= {};_0x92d9xf= _[_0xd7cb[31]](_[_0xd7cb[30]](_0x92d9x10[_0xd7cb[29]]));_[_0xd7cb[33]](_0x92d9x10[_0xd7cb[29]],function(_0x92d9x11,_0x92d9x12){_0x92d9xe[_0x92d9x12]= Math[_0xd7cb[32]](100* _0x92d9x11/ _0x92d9xf)});_0x92d9xd[_0xd7cb[14]](_0x92d9xe)});return _0x92d9xd}
\ No newline at end of file