Visit Our UNIX and Linux User Community

Processes, Services, Daemon's and Subsystems

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Processes, Services, Daemon's and Subsystems
# 1  
Old 10-14-2003
Question Processes, Services, Daemon's and Subsystems

I'm just wondering what the differences/relationships there are between processes, services, daemons and subsystems?
I keep coming across these terms but I can't find clear definitions/explanations of these terms.

# 2  
Old 10-16-2003
Good Question!

To understand processes you have to pick up a Operating System book.

In general terms, a process is a job or time-shared program. Processes can also have subprocesses and so on.

A daemon is a server process that waits for communication.

Handeling processes is another story.

# 3  
Old 10-16-2003
You forget one "port-number" Smilie

A service, is a service a server can offer.

F.e. ftp

ftp is a service taken in /etc/services,
it has a specific port onwhere it should communicate with.
Therefor a daemon (inetd) is started that keeps track of any incomming or outgoung requests on that port.
This daemon runs as a process as it's claiming memory/cpu-time/IO-resources.

Subsystem is quiet unknown with me, Maybe you mean the child of a Parent process. Sometimes a process can fork and create a child to have a job done for him. We call this the parents child.
f.e. :
running a shell gives you a process (ps -ef | grep sh | grep -v grep). Now performing an "bdf ." will fork your shell into a process that will find out the diskusage for your current directory. when it is finished the child automaticly dies (stops) and goes back to it's parent.

Well, enough fast-course Unix Smilie
Anymore questions, just let us know.

Regs David
# 4  
Old 10-16-2003
A subsystem is a piece of a system. The memory management unit and floating point coprocessor could be called subsystems of a cpu.

{lp, lpstat, lpsched, accept, reject, enable, disable } could be called the printer spooling subsystem.

Previous Thread | Next Thread
Test Your Knowledge in Computers #303
Difficulty: Easy
Normally sed is invoked like this: sed SCRIPT INPUTFILE ...
True or False?

10 More Discussions You Might Find Interesting

1. Linux

How to display all daemon processes in priority order?

Hi, Is there any way to run chkconfig --list and to display all daemon processes in PRIORITY order, not in alphabetic order? Thank you. (4 Replies)
Discussion started by: hce
4 Replies

2. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

3. Solaris

How to configure start up services/processes in Solaris 10?

I normally use "chkconfig" to configure start up services in a particular run level..... But i don't know how to do it in solaris 10.... please help me !!! (2 Replies)
Discussion started by: vamshigvk475
2 Replies

4. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

5. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

6. Ubuntu

enabling core dumps for daemon processes

Hello, I am debugging a program which works as daemon. It sigfaults, unfortunately I'm unable to generate core dump file. Here is what I am doing: tsurko@bastila:~$ ulimit -c unlimited tsurko@bastila:~$ ulimit -c unlimited tsurko@bastila:~$ cat /etc/sysctl.conf | grep 'core_pattern'... (1 Reply)
Discussion started by: tsurko
1 Replies

7. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

8. AIX

subsystems are all inoperative

Hi, As part of our maintenance schedule, we reboot our systems every few months to test HACMP and etc... etc.... It looked like everything was normal but when we tried to bring up HACMP, we didn't see anything in the /etc/hacmp.out and we didn't see any processes associated with HACMP running.... (0 Replies)
Discussion started by: xender69
0 Replies

9. UNIX for Advanced & Expert Users

Monitoring Processes - Killing hung processes

Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go? Thank you Richard (4 Replies)
Discussion started by: ukndoit
4 Replies

10. UNIX for Dummies Questions & Answers

Daemon, scripts and processes

Hi, I am new to the world of Unix, I need some help in doing a small project at work. Can anyone point out any good references for the below functions? Objective --------- To write a daemon that will run in the central server to 1) access our process(I will find this out), log down... (1 Reply)
Discussion started by: seongyin
1 Replies

Featured Tech Videos