Computing.Net > Forums > Solaris > Unix Background Process

Unix Background Process

Reply to Message Icon

Original Message
Name: rits
Date: September 13, 2005 at 05:28:55 Pacific
Subject: Unix Background Process
OS: Solaris 9
CPU/Ram: 300Mzh
Comment:

Hi,
We have requirement to bring the background process in foreground after the sencond job is finished.


Report Offensive Message For Removal

Response Number 1
Name: Mukesh Kesharwani
Date: September 13, 2005 at 05:40:46 Pacific
Subject: Unix Background Process
Reply: (edit)

Rits,( What a cute name) :)
you can bring the background process in foreground if u started it as job. You might be interested to know how u have to do this. Just a quick note u can start the process as jobs as

$ tail -f afrweb.1.0.0.2.veri & [2] 59999

Now u can see your process with the help of

$ jobs
[1] + Running tail -f afrweb.1.0.0.2.veri & [2] 59999

You can bring that process in forground by
$ fg %1

And manupulate with it

$bg %1


take help of jobs command to know it in much better way.

Mukesh Kesharwani
CISSP, CCNA, SCSA,CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security

http://www.keekar.com


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Unix Background Process 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software