Is there a way to find install directory in D-Series Unix agent. In windows from services panel --> <CA serviceName>--> properties we can able to determine install directory, is there a way we have in Unix agents ?
Are you after any specific flavor of UNIX?
# grep "CA Workload Automation Agent" /var/.com.zerog.registry.xml
<product name="CA Workload Automation Agent R11.3 SP4" id="026e062a-1ed8-11b2-b541-b43c47352144" version="18.104.22.168" copyright="2014" info_url="" support_url="" location="/opt/CA/WA_Agent_R11_3_4" last_modified="2016-03-10 15:10:10">
You can also use the find command:
find / -name cybAgent.bin 2> /dev/null
Both Chandru's and Richard's answer are correct and would work in general. Just a couple of word of caution. If you are deploying agents manually, i.e copy an existing installation or extract from a tar bundle, it will not be listed in the installanywhere registry file /var/.com.zerog.registry.xml. Find command will traverse all the directories it has access to. Therefore you will have to run it as root or with a user id who has system wide read access.
Chandru / Rick / Pradeep,
Thanks for your responses, the command you have shared was really helpful for our upgrades.