No, I think you can use one command at a time..!
But you can use for loop for engine and pass those engines in commands.
Also for the above policy question, if you pass -format csv and redirect it to csv file
./dx_get_policy -engine {ENGINE1} -policy REFRESH -format csv >> policy.csv
./dx_get_policy -engine {ENGINE 2} -policy REFRESH -format csv >> policy.csv
OR
create a script like
policy.sh
#!/bin/bash
for engine in engine1 engine2
do
echo "Create session for ${engine}"
./dx_get_policy -d $engine -policy REFRESH -format csv >> policy.csv
done
Save
Chmod 755 policy.sh
execute script
policy.csv file will get created for engines, likewise, you can create multiple scripts for multiple commands
Kindly let me know if you found it helpful..!
------------------------------
Pankaj Asegaonkar
Masking/Virtualization Specialist
+91 9689996500
------------------------------
Original Message:
Sent: 06-30-2023 02:01:39 AM
From: Nidhi Tiwari
Subject: Can we get the refresh policy for all the datasets/applications present in the engines?
Can we use multiple commands at once to extract the data?
------------------------------
Nidhi Tiwari
IV-Asst Mgr, IT App Development
Deloitte Services LP
Original Message:
Sent: 06-29-2023 11:36:31 PM
From: Nidhi Tiwari
Subject: Can we get the refresh policy for all the datasets/applications present in the engines?
Thanks for your quick response Neal. It worked !
------------------------------
Nidhi Tiwari
IV-Asst Mgr, IT App Development
Deloitte Services LP
Original Message:
Sent: 06-29-2023 11:16:45 AM
From: Nidhi Tiwari
Subject: Can we get the refresh policy for all the datasets/applications present in the engines?
Suppose I have 100 applications/datasets in one of the delphix engine, few has a refresh policy set as daily, few of them has weekly refresh policy. Can I get a list of all the refresh policy for each application using dxtoolkit.
------------------------------
Nidhi Tiwari
IV-Asst Mgr, IT App Development
Deloitte Services LP
------------------------------