RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
chiva



PostPosted: Mon Sep 15, 2008 6:59 pm    Post subject: Monitor Gamecreate Reply with quote

Hi:

I was looking if it was possible to monitor gamecreate's process (if it goes down restart it...) but he doesn't make the .pid file, so monitoring is not possible

Could you change code to create the .pid file?

Quote:
ps -aux | grep -i 'something'

2nd column shows PID. Generally /var/run/something stores the PID. If it is your own custom-made program, consider writing sys v init script; so that you can integrate your program with monit.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Wed Sep 17, 2008 10:22 am    Post subject: Reply with quote

Hi,

You shouldnt need a pidfile, the pid returned after spawning the process will not change.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.