How can I distinguish a service form a process in Activity Monitor?
up vote
4
down vote
favorite
Is there a way to determine if an entry listed in Activity Monitor is a service (daemon) or a process (application)?
Examples:
- Firefox (application)
- com.apple.audio.SandboxHelper (daemon?)
Is there a good definition of what these terms (that I'm using loosely) mean in OS X?
macos activity-monitor
add a comment |
up vote
4
down vote
favorite
Is there a way to determine if an entry listed in Activity Monitor is a service (daemon) or a process (application)?
Examples:
- Firefox (application)
- com.apple.audio.SandboxHelper (daemon?)
Is there a good definition of what these terms (that I'm using loosely) mean in OS X?
macos activity-monitor
1
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
1
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Is there a way to determine if an entry listed in Activity Monitor is a service (daemon) or a process (application)?
Examples:
- Firefox (application)
- com.apple.audio.SandboxHelper (daemon?)
Is there a good definition of what these terms (that I'm using loosely) mean in OS X?
macos activity-monitor
Is there a way to determine if an entry listed in Activity Monitor is a service (daemon) or a process (application)?
Examples:
- Firefox (application)
- com.apple.audio.SandboxHelper (daemon?)
Is there a good definition of what these terms (that I'm using loosely) mean in OS X?
macos activity-monitor
macos activity-monitor
edited 21 mins ago
Thunderforge
76551329
76551329
asked 14 hours ago
craig
4661519
4661519
1
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
1
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago
add a comment |
1
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
1
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago
1
1
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
1
1
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago
add a comment |
2 Answers
2
active
oldest
votes
up vote
7
down vote
accepted
All Processes, Hierarchically
Activity Monitor can show the process hierarchy:
Activity Monitor.app > View (menu) > All Processes, Hierarchically
The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.
Services are Processes
On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper
, this is an XPC service.
Why do all processes (exceptkernel_task
) run as children oflaunchd
?
– craig
13 hours ago
2
This would make a great new question. The root process in macOS islaunchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
add a comment |
up vote
6
down vote
Technically speaking, anything that gets loaded and executed is a process; so a service is a process.
A service is a nuanced definition of something that gets loaded to provide a service like DHCP or DNS.
A alternative way to sum this up is all services are processes, but not all processes are services. An example would be Firefox, it's a process, but not a service - it's an application.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "118"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f345634%2fhow-can-i-distinguish-a-service-form-a-process-in-activity-monitor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
accepted
All Processes, Hierarchically
Activity Monitor can show the process hierarchy:
Activity Monitor.app > View (menu) > All Processes, Hierarchically
The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.
Services are Processes
On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper
, this is an XPC service.
Why do all processes (exceptkernel_task
) run as children oflaunchd
?
– craig
13 hours ago
2
This would make a great new question. The root process in macOS islaunchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
add a comment |
up vote
7
down vote
accepted
All Processes, Hierarchically
Activity Monitor can show the process hierarchy:
Activity Monitor.app > View (menu) > All Processes, Hierarchically
The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.
Services are Processes
On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper
, this is an XPC service.
Why do all processes (exceptkernel_task
) run as children oflaunchd
?
– craig
13 hours ago
2
This would make a great new question. The root process in macOS islaunchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
add a comment |
up vote
7
down vote
accepted
up vote
7
down vote
accepted
All Processes, Hierarchically
Activity Monitor can show the process hierarchy:
Activity Monitor.app > View (menu) > All Processes, Hierarchically
The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.
Services are Processes
On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper
, this is an XPC service.
All Processes, Hierarchically
Activity Monitor can show the process hierarchy:
Activity Monitor.app > View (menu) > All Processes, Hierarchically
The grouping shows those processes launched by another process. Typically child-process will be services of the parent. On macOS many of these child processes will be XPC instances.
Services are Processes
On macOS, daemons are processes and services are processes. In your example, com.apple.audio.SandboxHelper
, this is an XPC service.
edited 11 hours ago
answered 13 hours ago
Graham Miln
26.4k56188
26.4k56188
Why do all processes (exceptkernel_task
) run as children oflaunchd
?
– craig
13 hours ago
2
This would make a great new question. The root process in macOS islaunchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
add a comment |
Why do all processes (exceptkernel_task
) run as children oflaunchd
?
– craig
13 hours ago
2
This would make a great new question. The root process in macOS islaunchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
Why do all processes (except
kernel_task
) run as children of launchd
?– craig
13 hours ago
Why do all processes (except
kernel_task
) run as children of launchd
?– craig
13 hours ago
2
2
This would make a great new question. The root process in macOS is
launchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.– Graham Miln
13 hours ago
This would make a great new question. The root process in macOS is
launchd
and Apple have decided to put almost every process launch through it. I suspect it has many benefits but those can be discussed in a new question.– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
apple.stackexchange.com/questions/345639/…
– craig
13 hours ago
add a comment |
up vote
6
down vote
Technically speaking, anything that gets loaded and executed is a process; so a service is a process.
A service is a nuanced definition of something that gets loaded to provide a service like DHCP or DNS.
A alternative way to sum this up is all services are processes, but not all processes are services. An example would be Firefox, it's a process, but not a service - it's an application.
add a comment |
up vote
6
down vote
Technically speaking, anything that gets loaded and executed is a process; so a service is a process.
A service is a nuanced definition of something that gets loaded to provide a service like DHCP or DNS.
A alternative way to sum this up is all services are processes, but not all processes are services. An example would be Firefox, it's a process, but not a service - it's an application.
add a comment |
up vote
6
down vote
up vote
6
down vote
Technically speaking, anything that gets loaded and executed is a process; so a service is a process.
A service is a nuanced definition of something that gets loaded to provide a service like DHCP or DNS.
A alternative way to sum this up is all services are processes, but not all processes are services. An example would be Firefox, it's a process, but not a service - it's an application.
Technically speaking, anything that gets loaded and executed is a process; so a service is a process.
A service is a nuanced definition of something that gets loaded to provide a service like DHCP or DNS.
A alternative way to sum this up is all services are processes, but not all processes are services. An example would be Firefox, it's a process, but not a service - it's an application.
edited 13 hours ago
answered 13 hours ago
Allan
41.5k1359152
41.5k1359152
add a comment |
add a comment |
Thanks for contributing an answer to Ask Different!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f345634%2fhow-can-i-distinguish-a-service-form-a-process-in-activity-monitor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What do you want to do, once you know the difference? Services are often essential to the parent application process.
– Graham Miln
13 hours ago
I'm just trying to understand the architecture.
– craig
13 hours ago
1
Please can you ask a new question for Does the application need to be built in specific way (e.g. no UI, implement certain interfaces) so it can be used as a service?` Ask Different works best when each question is asked separately. Feel free to refer to other questions in your new question.
– Graham Miln
13 hours ago
apple.stackexchange.com/questions/345640/…
– craig
13 hours ago