Re: ps v. top
Re: ps v. top
- Subject: Re: ps v. top
- From: David Blanton <email@hidden>
- Date: Wed, 31 Jul 2002 14:27:16 -0600
When a CFM app is launched the path name passed to execve is
../LaunchCFMApp.
Yes, ps -auww shows the CFM name.
If TOP is running when a CFM app is launched it immediately shows the
CFM app name in the 'Command' column.
So the question is ... at execve time with a CFM app where is the CFM
app name available?
TIA & Peace.
db
On Wednesday, July 31, 2002, at 05:12 PM, Andrew Pinski wrote:
Have tried to look at the output of ps auxww, it will not print
LaunchCFMApp but the application's real name.
It looks like ps is just using real executable's name at which the
kernel executed it, not at which in turn LaunchCFMApp did.
Thanks,
Andrew Pinski
On Wednesday, July 31, 2002, at 06:42 , Justin C. Walker wrote:
On Tuesday, July 30, 2002, at 12:39 PM, David Blanton wrote:
a cfm app shows in ps as LaunchCFMApp
in top it shows as app_name
This may be somehow app-specific, because I don't see it on my system
with at least one CFM app running. I'm using 10.1.5, but I don't
think 'ps' has changed all that much since the early days...
where is the app_name found when uap->fname in execve is
../LaunchCFMApp
UTSL! Check top.tproj in the system_cmds project in the Darwin
repository (http://developer.apple.com/darwin).
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
David Blanton
Elisar Software Corporation
Albuquerque
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.