Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-31-2007, 09:19 PM   #1
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
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,

Old 01-31-2007, 10:35 PM   #2
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
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 ./, then ctrl+z to push the logs to background but when i logged out, it stopped the background jboss job.

I refered to thread
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



Last edited by Niceman2005; 01-31-2007 at 10:53 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't find my jboss process with ps aux, what is the command to list background proce Niceman2005 Linux - General 3 08-18-2012 06:11 AM
really background a process Henster Linux - Newbie 1 07-01-2005 06:29 AM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 01:27 AM
Background process h8r Linux - Newbie 5 01-13-2003 05:21 PM
background process gurra Programming 9 09-30-2001 02:31 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration