How to set my jboss to background process
Dear friends,
I have a server running jboss. When ps aux i can see thr process running and the process ID. I wish to set it to background process but it failed to do so. What i did was i looked for the process id (say 1124), then i do the command: bg 1124 but its says -bash: bg: 726: no such job All i want to do is to set the jboss running process to background, how do i do that? thanks for taking time helping, Regards Y |
Sorry guys,
i figured it out. Just need topress Ctrl+Z when the logs are displaying in the terminal. But then, when i tried to log out, it stop that background job! how do i make sure even when i log out the background jobs are continued. I ssh into the server to start the jboss ./run.sh, then ctrl+z to push the logs to background but when i logged out, it stopped the background jboss job. I refered to thread http://www.linuxquestions.org/questi...ground+process says after hitting Ctrl+Z and then press bg, it will do the process in backgrpund, but for my case after hitting bg, it starts to display all the logs on the terminal again. What i would expect is to logs to stop and simply display one line of sentence telling me the jboss process is running plus the process number. But thats not the case...confused...please help if you know whats the problem...thanks a lot Thanks, Regards Y |
All times are GMT -5. The time now is 06:59 AM. |