This is de interface and protocol defined into "intalld" executable:
#pragma mark -
/*
* File: /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/ins talld
* UUID: 2D412B3E-F18C-3A69-AF67-6203D319564F
* Arch: Intel x86-64 (x86_64)
* Minimum Mac OS X version: 10.8.0
*
* Objective-C Garbage Collection: Unsupported
*/
@protocol PKInstallDaemon
- (void)startPurgeOfSandboxesOnVolume:(id)arg1 untilFreeSpaceAvailable:(unsigned long long)arg2;
- (unsigned long long)estimateOfPurgeableSpaceForSandboxesOnVolume:(id)arg1;
- (BOOL)isCurrentlyStagedInstallRequest:(bycopy id)arg1 purgeableSize:(id *)arg2;
- (BOOL)registerAuthorizationFromInstallRequest:(bycopy id)arg1;
- (bycopy id)tokenForCurrentCommitIgnoringBlockingClients:(BOOL)arg1;
- (bycopy id)registrationPathsForToken:(id)arg1;
- (bycopy id)installErrorForToken:(id)arg1;
- (bycopy id)displayNamesForToken:(id)arg1;
- (bycopy id)installStatusForToken:(id)arg1;
- (void)addToken:(id)arg1;
- (id)tokenWithInstallRequest:(bycopy id)arg1 error:(id *)arg2;
@end
@interface PKInstallDaemon (Server)
- (void)shutDown;
- (BOOL)connection:(id)arg1 handleRequest:(id)arg2;
- (void)clientConnectionDidDie:(id)arg1;
- (BOOL)connection:(id)arg1 shouldMakeNewConnection:(id)arg2;
- (void)runWithTimeout:(double)arg1;
- (id)_initAsLaunchDaemon:(id)arg1;
@end
----------------
Maybe this can give us an idea of the end of the program!
We can see 2 interesting methods
- (void)startPurgeOfSandboxesOnVolume:(id)arg1 untilFreeSpaceAvailable:(unsigned long long)arg2;
- (unsigned long long)estimateOfPurgeableSpaceForSandboxesOnVolume:(id)arg1;
This can explain why so many file operations are done while the process is about 100% CPU!
Ok! with this, i understand that one of the target of this program is free disk space!
Can some employer of Apple confirm this??
Perhaps one param to configure CPU level ocupation, can resolve this stages! for example, one param into the next property file:
"/System/Library/LaunchAgents/com.apple.installd.user.plist"
Some solution???
Thanks!