Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 20.08.2005, 19:12   #1
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default [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
divider is offline  
Old 20.08.2005, 22:18   #2
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

good work, really, haven't yet tested, but run it once
Professor F is offline  
Old 21.08.2005, 00:17   #3
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default

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...
MoSs is offline  
Old 21.08.2005, 01:48   #4
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

you dont have to press Start!
if possible post the lines from your ini
divider is offline  
Old 21.08.2005, 05:38   #5
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

I tested it, and IT WORKS. Very good program. Thank you divider.
Silentz0r is offline  
Old 21.08.2005, 06:16   #6
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

than i would thank divider too! i saw it , and if it works, it's great
Professor F is offline  
Old 21.08.2005, 06:26   #7
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

woooow is like a great tool for l2 server

good job divider

200 for you
SoaPy is offline  
Old 13.10.2005, 05:18   #8
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

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 ....
bob1122 is offline  
Old 13.10.2005, 10:10   #9
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

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.
divider is offline  
Old 13.10.2005, 10:25   #10
srh
Архивный участник
 
Join Date: Aug 2005
Posts: 145
Default

we use it and it pretty fine, and help us.
srh is offline  
Old 13.10.2005, 22:27   #11
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

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.
bob1122 is offline  
Old 14.10.2005, 10:22   #12
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

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.
divider is offline  
Old 14.10.2005, 11:44   #13
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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?
top-gear is offline  
Old 14.10.2005, 12:12   #14
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

read the included INI
divider is offline  
Old 14.10.2005, 16:19   #15
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

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 ?
LDragonL is offline  
Old 18.10.2005, 10:21   #16
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default


about /restartoncrash and /restartifnoresponding

0 or 1 for each of them

first post updated
divider is offline  
Old 08.11.2005, 09:05   #17
a-dru
Архивный участник
 
Join Date: Sep 2005
Posts: 32
Default

WHo can GIVE me YOUR L2procMonitor .ini file

i can not set it ?

[email protected]
a-dru is offline  
Old 15.11.2005, 03:07   #18
frogbi4
Архивный участник
 
Join Date: Nov 2005
Posts: 2
Default

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
frogbi4 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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