LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-31-2007, 08:19 PM   #1
Niceman2005
Member
 
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,

Regards
Y
 
Old 01-31-2007, 09:35 PM   #2
Niceman2005
Member
 
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 ./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

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


Reply


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 05:11 AM
really background a process Henster Linux - Newbie 1 07-01-2005 05:29 AM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 12:27 AM
Background process h8r Linux - Newbie 5 01-13-2003 04:21 PM
background process gurra Programming 9 09-30-2001 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:24 PM.

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