Written by J. Moellenkamp on
Reading time: 1 minute
Solaris
ptree with service names
A nice tool to get some understanding of the dependencies of processes is ptree tool. With the -c option the contract id (the contract filesystem is one of the features many people use because other features use it, but many are not really aware it’s there) of the process and - for many people more - the FMRI of the service by it has beeen started (that said it’s technically not the FMRI of the process but of the contract, which is the same)
When you know the the contract id of an process, you can check which service created this contract.
With ptree you get the most interesting information in a better overview representation: