Get All Source and Target Hostnames Configured in Oracle Managed File Transfer
We can get all source and target hostnames configured in MFT following below steps:
1. Export MFT configuration from MFT console or using WLST command. Let us call this export hosts.txt.
2. Run below awk command to get list of configured host names:
awk -F’host=’ ‘ { print $2 } ‘ hosts.txt | awk ‘ { print $1 } ‘ | sort | uniq | sed ‘s/”//g’ > uniqhosts.txt
Comments
Post a Comment