<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: background process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731575#M254549</link>
    <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;This link provides with Monitoring and Tracing Unix Processes on various Unix OS. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_MonitoringandtracingUnixprocesses.shtml" target="_blank"&gt;http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_MonitoringandtracingUnixprocesses.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Tue, 14 Feb 2006 22:39:06 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-02-14T22:39:06Z</dc:date>
    <item>
      <title>background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731572#M254546</link>
      <description>Is there a command to check background running processes ? if yes then how to move them between foreground and background ?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;shiv&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 21:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731572#M254546</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-02-14T21:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731573#M254547</link>
      <description>jobs is the command to see how many jobs are in stoped state (means not running)&lt;BR /&gt;&lt;BR /&gt;to move the job to background do&lt;BR /&gt;bg &lt;JOB number="" you="" get="" from="" jobs="" command=""&gt;&lt;/JOB&gt;&lt;BR /&gt;to move the job to foreground run&lt;BR /&gt;fg &lt;JOB number=""&gt;&lt;BR /&gt;&lt;/JOB&gt;</description>
      <pubDate>Tue, 14 Feb 2006 21:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731573#M254547</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-02-14T21:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731574#M254548</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;You can use "bg" and "fg". You can take a look at the man pages for more information. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 14 Feb 2006 22:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731574#M254548</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T22:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731575#M254549</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;This link provides with Monitoring and Tracing Unix Processes on various Unix OS. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_MonitoringandtracingUnixprocesses.shtml" target="_blank"&gt;http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_MonitoringandtracingUnixprocesses.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 14 Feb 2006 22:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731575#M254549</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T22:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731576#M254550</link>
      <description>Hi shiva,&lt;BR /&gt;   to know the process running in background on unix machines, refer this link;&lt;BR /&gt;&lt;A href="http://www.unixguide.net/unix/faq/3.7.shtml" target="_blank"&gt;http://www.unixguide.net/unix/faq/3.7.shtml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And fg and bg are the commands to shift process between background and foreground.</description>
      <pubDate>Tue, 14 Feb 2006 23:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731576#M254550</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-02-14T23:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731577#M254551</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;You have to find the job number using job command. Then, You can do the following&lt;BR /&gt;&lt;BR /&gt;To put the #999 job in the background&lt;BR /&gt;# bg %999&lt;BR /&gt;&lt;BR /&gt;To would bring it back in the foreground.&lt;BR /&gt;&lt;BR /&gt;# fg %999&lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 23:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731577#M254551</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-14T23:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731578#M254552</link>
      <description>hi shiv,&lt;BR /&gt;&lt;BR /&gt;below more information on fg and bg:&lt;BR /&gt;&lt;BR /&gt;fg [%&lt;JOB-INDEX&gt;]&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;bg [%&lt;JOB-INDEX&gt;]&lt;BR /&gt;&lt;BR /&gt;The fg command can be used to restart the execution of a suspended or backgrounded command or program in foreground mode. With no arguments, the fg command causes the current job (the one shown in the output of the jobs command with a + sign next to it) to be resumed in foreground mode. The program will take control of your terminal, just as though you'd originally run it in the foreground. As always, you can resuspend the process by pressing CTRL-Z.&lt;BR /&gt;&lt;BR /&gt;With a single argument consisting of a percent sign (%) and the job index of a backgrounded or suspended job (as listed by the jobs command), the fg command brings the specified process to the foreground, resuming it if it was previously suspended.&lt;BR /&gt;&lt;BR /&gt;The bg command is analogous to the fg command, but allows you to resume a suspended process in background mode, rather than foreground mode. Like the fg command, the bg command will accept a single argument consisting of a percent sign and a job index, or, with no arguments, will operate on the current job.&lt;BR /&gt;&lt;BR /&gt;In the example below, our YD resumes running his second terminal emulator window in the background, and resumes reading the manual page for the C shell in the foreground:&lt;BR /&gt;&lt;BR /&gt;[18] YD@MYSERVER# jobs&lt;BR /&gt;[1] + Stopped man csh&lt;BR /&gt;[2] - Stopped /usr/bin/X11/xterm&lt;BR /&gt;[3] - Running /usr/bin/X11/xterm&lt;BR /&gt;[19] YD@MYSERVER# bg %2&lt;BR /&gt;[1] + Running /usr/bin/X11/xterm&lt;BR /&gt;[20] YD@MYSERVER# jobs&lt;BR /&gt;[1] - Stopped man csh&lt;BR /&gt;[2] + Running /usr/bin/X11/xterm&lt;BR /&gt;[3] - Running /usr/bin/X11/xterm&lt;BR /&gt;[21] YD@MYSERVER# fg %1&lt;BR /&gt;man csh&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;Note that the shell automatically prints a reminder message after each bg or fg command, to let you know what process has been resumed. &lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/JOB-INDEX&gt;&lt;/JOB-INDEX&gt;</description>
      <pubDate>Tue, 14 Feb 2006 23:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731578#M254552</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-14T23:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731579#M254553</link>
      <description>Use bg to check the background process informations. To make them from background to foreground use fg.&lt;BR /&gt;&lt;BR /&gt;# sleep 100&amp;amp;&lt;BR /&gt;# bg&lt;BR /&gt;# fg&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it will give you the details.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 15 Feb 2006 00:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731579#M254553</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-15T00:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731580#M254554</link>
      <description>Read ksh man page for Jobs part. It is all related to this question.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 15 Feb 2006 01:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731580#M254554</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-15T01:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731581#M254555</link>
      <description>Hi Shiv, &lt;BR /&gt;&lt;BR /&gt;# man sh-posix&lt;BR /&gt;&lt;BR /&gt;will give you all the details. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 15 Feb 2006 01:21:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731581#M254555</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-15T01:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731582#M254556</link>
      <description>Are "job id" and "process id" two different things ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shiv</description>
      <pubDate>Wed, 15 Feb 2006 13:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731582#M254556</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-02-15T13:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731583#M254557</link>
      <description>Hi Shiv:&lt;BR /&gt;&lt;BR /&gt;Do this:&lt;BR /&gt;&lt;BR /&gt;# sleep 120 &amp;amp;&lt;BR /&gt;[1]     21132&lt;BR /&gt;# jobs&lt;BR /&gt;[1] +  Running sleep 120 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;The job number is in brackets;  The pid (process ID) is next.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 15 Feb 2006 13:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731583#M254557</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-15T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: background process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731584#M254558</link>
      <description>Hi (again) Shiv:&lt;BR /&gt;&lt;BR /&gt;I guess I should add that the job number is a shorthand way of referring to the background process.  Every process has a process ID or 'pid'.  This is the kernel's way of tracking the process.&lt;BR /&gt;&lt;BR /&gt;The section titled JOBS in the 'sh_posix' manpages offers more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 15 Feb 2006 13:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-process/m-p/3731584#M254558</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-15T13:56:11Z</dc:date>
    </item>
  </channel>
</rss>

