To install the C/C++ SDK on Linux:
- Download the C/C++ SDK from the AppDynamics Downloads Portal.
Extract the SDK to the desired SDK home directory location, such as in
/opt
:sudo tar xvzf appdynamics-sdk-native-64bit-linux-VERSION.tar.gz -C /opt
Replace
VERSION
in the file name with the version of the downloaded SDK.- Update your build scripts to be able to access the AppDynamics SDK library files:
Add
/opt/appdynamics-cpp-sdk/lib
to your library path. For example,-L/opt/appdynamics-cpp-sdk/lib
.- Add
-lappdynamics
to your link options.
- Modify your program to use the AppDynamics C/C++ SDK. See C/C++ SDK Reference and Use the C/C++ SDK.
- Ensure that the
ulimit
setting for open file descriptors on the operating system is set to a sufficient number. At a minimum, you will need two file descriptors for each active thread that calls the C++ SDKappd_sdk_init()
function.
Add Comment