-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.js
More file actions
22 lines (16 loc) · 717 Bytes
/
Copy pathserver.js
File metadata and controls
22 lines (16 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
Copyright 2013 - 2014 (C) All rights reserved
This program is private: you can not redistribute or sell.
Threads is a application for the game Mundoci and use the latest technologies that are on the web.
Powered by: MettoK
*/
var Config = require('./Settings/config'),
Server = require('http').createServer().listen(Config['local']['port']),
SyS = require('os');
Mundoci = require('./HabboCI/app');
Mundoci.Initializer(Config, Server);
setInterval(function(){
Mundoci.Logger('System timestamp: ' + SyS.uptime(), 'debug');
Mundoci.Logger('System CPU load: ' + SyS.loadavg()[0], 'debug');
Mundoci.Logger('System CPU total: ' + SyS.totalmem(), 'debug');
}, 50000);