The script is a tarball downloadable at
Here is the script syntax:
python IB_delete_abandoned_leases.pyc
GMaddr 192.168.1.1
user your_username
passwd your_password!
ver v2.9
delete No
page 10000
logfile .list_abandoned_leases.log
Copy and paste the above into a command line on a Mac or nix machine and this should run.
Make sure you have python installed first.
Of course make sure to change the GMaddr to the IP of your Grid Master and the user and passwd to an account that has API privs.
Источник: rutube.ru