Bootstrap FreeKB - IBM WebSphere - List profile path using the manageprofiles getPath command
IBM WebSphere - List profile path using the manageprofiles getPath command

Updated:   |  IBM WebSphere articles

If you are not sure what a profile is, refer to this article.

There are a number of options can be be used with the manageprofiles.sh (Linux) or manageprofiles.bat (Windows) script.

The manageprofiles.sh (Linux) or manageprofiles.bat (Windows) command with the -listProfiles option can be used to list the profiles on the system. In this example, there are two profiles, AppSrv01 and AppSrv02.

~]# ${WAS_INSTALL_ROOT}/bin/manageprofiles.sh -listProfiles
[AppSrv01, AppSrv02]

 

By default, profiles reside at ${WAS_INSTALL_ROOT}/profiles, so you can just as easily list the contents of the ${WAS_INSTALL_ROOT}/profiles directory.

~]# ls ${WAS_INSTALL_ROOT}/profiles
AppSrv01 AppSrv02

 

The the -getPath option can be used to display a profiles path.

~]# ${WAS_INSTALL_ROOT}/bin/manageprofiles.sh -profileName AppSrv01 -getPath
/opt/WebSphere/AppServer/profiles/AppSrv01

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter bca5b6 in the box below so that we can be sure you are a human.