Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [TOOL] L2ProcMonitor (https://postpacific.loc-online.com/showthread.php?t=1532)

divider 20.08.2005 19:12

[TOOL] L2ProcMonitor
 
// INI Format
//
// Executable;WorkingDir;Arguments;ActivateCommands;P riority;Affinity;RestartOnCrash;RestartIfNoRespond ing;StartupCheckTime
//
//
// Parameters are optionals
//
//
// Executable=the full path + filename to be executed
//
// Working Dir = The path where the Process will start
//
// ActivateCommands = Same as VB SendKeys, send keystrokes to the app after its loaded, you may click a button this wait etc
//
// Arguments = Parameters passed to the Process
//
//
// Priority=Process Priority as:
// 1=Low
// 2=Normal
// 3=High
// 4=Real Time
//
//
// Affinity=Processors the Process sould use as(bitmask value):
//
// Example values
// Value = Cpu Number
// 1 = 1
// 2 = 2
// 3 = 1 and 2
// 7 = 1, 2 and 3
// 9 = 1 and 4
// 127 = 1, 2, 3, 4, 5, 6 and 7
//
//
// RestartOnCrash = [0 or 1] If process crash (terminated not using the stop)
// that process and any process started after this one will be restarted
// too
//
//
// SetRestartIfNoResponding = [0 or 1] if process stops responding it will be
// terminated and set to be restarted plus any process started after that one
// will be restarted too
//
//
// StartupCheckTime = possitive or negative number
//
// Positive = number of sec between checks on memory for the process, if
// the memory isnt increasing or decreasing it will assume that
// its loaded
// Negative = number of sec to wait before to continue to the next process
//
//
// To avoid Dialogs like Applications Exceptions:
// run: drwtsn32.exe -i -> this will install drwatch as default debuger
// run: drwtsn32.exe and uncheck "Visual Notifications"
// after that if a process terminates L2ProcMonitor will responde according to
// your settings
// Example: will start notepad and write sth to it

c:\windows\notepad.exe;;;Hello There{ENTER}wsup ?{ENTER}{ENTER}:P

// Any comment or suggestions mail to: [email protected]

ps. latest version at(L2ProcMonitor + L2Control): http://2xx.xx.1xx.xx/L2Control.CAB

Professor F 20.08.2005 22:18

good work, really, haven't yet tested, but run it once :)

MoSs 21.08.2005 00:17

well i dont think it works...
i configured the .ini file as the example sais, run the monitor, then press start on the processes, but the processes do not start...

divider 21.08.2005 01:48

you dont have to press Start!
if possible post the lines from your ini

Silentz0r 21.08.2005 05:38

I tested it, and IT WORKS. Very good program. Thank you divider.

Professor F 21.08.2005 06:16

than i would thank divider too! i saw it , and if it works, it's great :)

SoaPy 21.08.2005 06:26

woooow is like a great tool for l2 server :D

good job divider

200 for you ;)

bob1122 13.10.2005 05:18

Sorry, i know this is reallllly outdated but now that help.htmis able to crash server This is much more important to me to find out ...

What is 'Seconds to Restart:' Mean... -1 means what ??

Thanks ....

divider 13.10.2005 10:10

it would be the time to wait after a crash to restart the app but it isnt working, i didnt find any reason to go on with that app since nobody used it. if you interest let me know and i fix it.

srh 13.10.2005 10:25

we use it and it pretty fine, and help us.

bob1122 13.10.2005 22:27

Quote:

Originally Posted by divider
it would be the time to wait after a crash to restart the app but it isnt working, i didnt find any reason to go on with that app since nobody used it. if you interest let me know and i fix it.

Sure if you want, though I allready have started writing something similar in VB.

divider 14.10.2005 10:22

download post attachment again, that option is removed but there is sth similar in the INI file. save your current INI and read the new one for instructions.

top-gear 14.10.2005 11:44

Quote:

Originally Posted by SIlentz0r
I tested it, and IT WORKS. Very good program. Thank you divider.

can't get it to work :/ Guess Im missing something. what do I have to edit?

divider 14.10.2005 12:12

read the included INI

LDragonL 14.10.2005 16:19

divider, it's a great tool and i thankfully use it now.
Really nice share !!


I tried the commands /restartoncrash and /restartifnoresponding but they don't work for me, but they can be activated when the program started ;)

Well, anyone know how to set /restartoncrash and /restartifnoresponding on startup ?

divider 18.10.2005 10:21

:)
about /restartoncrash and /restartifnoresponding

0 or 1 for each of them

first post updated

a-dru 08.11.2005 09:05

WHo can GIVE me YOUR L2procMonitor .ini file

i can not set it ?

[email protected]

frogbi4 15.11.2005 03:07

I'm using something like that:

Code:

L2logD\l2logd.exe;;;;;;1;1;-15
cacheD\cached.exe;;;;;;1;1;-15
l2authD\l2authd.exe;;;;;;1;1;-15
l2server\l2server.exe;;;;;;1;1;-250
l2npc\l2npc.exe;;;;;;1;1;-15



All times are GMT. The time now is 16:20.