Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ how to shut down a mud on cygwin
|
how to shut down a mud on cygwin
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Darzeth
(36 posts) Bio
|
| Date
| Fri 28 Jul 2006 04:56 AM (UTC) |
| Message
| | how do i see what process are running using cygwin and how do i kill the smaug on if i need to. | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #1 on Fri 28 Jul 2006 05:30 AM (UTC) |
| Message
| Well, I'd imagine, given that I don't use cygwin, that you could just press ctrl-alt-delete and select task manager and then kill the smaug process... But if that'd kill all of cygwin instead or you really want to be able to do it from within cygwin, assuming it works the same as linux, you'd type:
and then look over the list for your smaug process (and maybe the startup script process as well) and then type:
kill -9 <whatever process id number was listed beside the ones your trying to kill off>
|
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #2 on Fri 28 Jul 2006 12:37 PM (UTC) |
| Message
| Yes, that is how you'd do it. You would first kill the startup script, to prevent it from restarting the MUD, then you'd kill the MUD itself.
You can also try: ps -ax | grep startup to find the process id of the startup script; replace 'startup' with 'smaug' (assuming the MUD exe has smaug in it) to find its process id. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #3 on Fri 28 Jul 2006 06:16 PM (UTC) |
| Message
| | If all else fails, log on to the mud and type "shutdown mud now" and it should shut down properly. | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #4 on Fri 28 Jul 2006 06:29 PM (UTC) |
| Message
| | Actually that should probably be the first step, since killing the MUD directly with a 'kill' signal can cause data loss. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #5 on Sat 29 Jul 2006 01:28 AM (UTC) |
| Message
| | One would sort of assume (how safely, who knows) that the question was asked because there was a problem and the character with sufficient level to use the shutdown command wasn't able to log on because otherwise one would normally just shut the mud down from within the mud so it'd all shutdown properly.. but it is perhaps too much to assume that we're responding to someone who is familiar enough with their codebase to already know all the commands that it has. |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org | | Top |
|
| Posted by
| Samson
USA (683 posts) Bio
|
| Date
| Reply #6 on Sat 29 Jul 2006 03:24 AM (UTC) |
| Message
| | Heh, well, I just figured I'd mention it since nobody else had. Learned a long time ago that when people ask, they have often overlooked the obvious. Just that usually by the time I have a chance to answer, someone beat me to it :) | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
26,814 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top