HowTo Keep Processes Running After Logging Out Using: "setsid"

From MediaWiki
Revision as of 07:37, 30 November 2007 by Rwh (talk | contribs) (New page: == HowTo Set Session ID (SID) and Process Group ID (PGID) == The "'''setsid'''" command allows one to set a new "'''Session ID'''" ('''SID''') and "'''Process Group ID'''" ('''PGID''') for...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

HowTo Set Session ID (SID) and Process Group ID (PGID)

The "setsid" command allows one to set a new "Session ID" (SID) and "Process Group ID" (PGID) for a given command. This can be useful when logging out from a shell environment and keeping a process running. Since the process is running in an entirely different "session", it should not be effected by the logging out and terminating the shell.

Command: "setsig" Using: "--continue" option.
[root@probe tmp]# wget --continue http://www.linux-freeware.org/ftp/download/treebuild.src