emuMonitor V1.4 - Added Timed startups and shutdowns - Updated
emuMonitor V1.4
What is it?
- This app will monitor your emulator's CPU and Ram usage and restart the emu when an overload time limit is reached.
- This app will send a Hotel Alert an x amount of seconds before the emu restarts.
- This app will restart your emulator when it has been shutdown.
- This app will Start and Stop your emulator at given times.
- This app provides a server for remote monitoring.
How do I use it?
- Just put the two files from the download in the same folder as your emulator.
- Open emuMonitor_config.txt and change the config to your likings.
- Execute emuMonitor.exe to start monitoring. (make sure your emulator is not running).
Remote monitoring can be done through emuCommander v1.2 found in this thread .
Config - updated
PHP Code:
################################
## emuMonitorv1.4 by Leenster ##
################################
## Exe of the emulator
EmuName = Butterfly Emulator.exe
## Start the monitor when windows loads (true / false)
StartWithWindows = false
## Max CPU usage
CPUmax = 75
## How long can the CPU go over Max usage
CPUtimer = 10
## Max Memory usage
MEMmax = 400
## How long can the Mem go over max usage
MEMtimer = 10
## RCon (MUS) Settings
EmuRconPort = 30001
EmuIP = 127.0.0.1
## RCon Commands
RconShutdownCommand = shutdown
RconHotelAlertCommand = ha
## The amount of seconds between the Hotel Alert and Shutdown
RconHotelAlertTimer = 15
## {seconds} will be replaced with the value of RconHotelAlertTimer
RconHotelAlertMessage = The Server will restart in {seconds} seconds.
## Allowed remote IP's
RemoteAllowedIPs = 127.0.0.1;64.31.19.41
## Remote Monitor Port
RemotePort = 30032
##Use automatic open/close hotel (true / false)
AutoOpenClose = true
OpeningTime = 07:00AM
ClosingTime = 11:04PM
## The amount of seconds between the Hotel Alert and closing time
ClosingHaTimer=60
## Closing Hotel alert message
ClosingHaMessage=This hotel is open from {OpeningTime} till {ClosingTime}.\rWe will close in {ClosingHaTimer} Seconds.
These are the new settings. You can use these for timed restarts or to Open your hotel in the morning and close it at night.
No need to explain them. Just keep the times in the same format.
PHP Code:
##Use automatic open/close hotel (true / false)
AutoOpenClose = true
OpeningTime = 07:00AM
ClosingTime = 11:04PM
## The amount of seconds between the Hotel Alert and closing time
ClosingHaTimer=60
## Closing Hotel alert message
ClosingHaMessage=This hotel is open from {OpeningTime} till {ClosingTime}.\rWe will close in {ClosingHaTimer} Seconds.
{OpeningTime}, {ClosingTime} and {ClosingHaTimer} will automatically be replaced with the configured values.
Screenshot
http://hubbahubba.no-ip.biz/downloads/screens/em.png
Timed shutdown
http://hubbahubba.no-ip.biz/downloads/screens/timed.png
Download
Download
Please report any bugs or feature requests in this thread.
UPDATE:
1.4
- Code cleanup.
- Added settings to the configuration file for Timed starts and stops.
- Added settings to the configuration file for Closing Hotel alert.
- Removed remote monitor from the download
1.3 Added fix for Phoenix.
1.1 Added remote monitoring through a web panel.
1.1 Added log files.