Top "Shutdown" questions

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state.

Get the date-time of last windows shutdown event using .NET

Is there a way to find out when the system was last shutdown? I know there's a way to find …

c# .net time wmi shutdown
mongod unclean shutdown detected

I try to start mongod.exe but I have and I get the following error: C:\MongoDB\Server\30\bin>…

mongodb shutdown repair
How do I get rid of Java child processes when my Java app exits/crashes?

I launch a child process in Java as follows: final String[] cmd = {"<childProcessName>"}; Process process = Runtime.getRuntime().exec(…

java runtime subprocess shutdown process-management
Best way to shutdown an OSGi Container (specifically equinox)

I'm looking for a best practice on shutting down an OSGi container. Currently we are using a small launcher app …

osgi shutdown equinox
Shut down iPhone in simulator

This might seem like a strange question, but can I actually shut down the iPhone and restart it in the …

iphone settings ios-simulator save shutdown
Shutdown Events in Android

Is it possible to intercept a phone shutdown event or perhaps use a different hack around this? I have an …

android service analytics shutdown
Force application close on system shutdown

I have a Windows Forms application that when the Main Window is closing, it displays a basic dialog box, confirming …

c# winforms shutdown
twisted: catch keyboardinterrupt and shutdown properly

UPDATE: For ease of reading, here is how to add a callback before the reactor gets shutdown: reactor.addSystemEventTrigger('before', …

python twisted shutdown
java web-application initialization and shutdown

I'm trying to implements initialization and shutdown of a webapp. That includes initialization and shutdown of: Hibernate (v3.6); C3P0 (…

java web-applications initialization shutdown
Tomcat6 shutdown failed

I have tomcat 6.0.32 installed and running my web application on it. Usual stop/start works fine, when the tomcat is …

tomcat tomcat6 shutdown catalina