How I know when my app is shutdown
Hello
I have an application(process) that was shutdown some days ago but I do not know why (the computer is still running). I want to know when the app was shutdown so I can find out the reason. However, the application's log only show when is started. Here is the output of ps -ef command after I restarted the application admin 18064 1 0 11:11 pts/2 00:00:03 java -server -Djava.ext.dirs=. -Djava.rmi.server.hostname=localserver org.alfresco.deployment.Main application-context.xml Is there any information in a system log that helps me to know when the app was shutdown?. Could you please help Many thanks johnhelen |
Quote:
If the application has a shutdown script, that may tell something, but since you don't say anything about what the application is, any details about it, or version/distro of Linux, we can't really be of much help. |
if process dies, not to my knowlegdy there are no place it is written up.
put your own script for example to detect shutdown if happens more frequently. Marko does that java program have application log own ? or try: grep -iE "your program name" /var/log/messages for example.... Marko |
All times are GMT -5. The time now is 01:26 AM. |