List of some very common Grid commands.

 0. Starting :
 
	grid-proxy-init
  	  or
	voms-proxy-init -voms atlas [photon]

 1. Retrieving information on a user certificate :

	grid-cert-info
	grid-cert-info -enddate 

 2. Verifying a user certificate :

	openssl verify -CApath /etc/grid-security/certificates ~/.globus/usercert.pem

   If you see
   "error 20 at 0 depth lookup:unable to get local issuer certificate"
   
   try 
   	openssl verify -CApath $X509_CERT_DIR ~/.globus/usercert.pem
	
   instead.
   
 3. Verifying the consistency between private key and certificate :

	grid-proxy-init -verify

        [Creating proxy ................................................... Done
         Proxy Verify OK
         Your proxy is valid until: Fri Jun 15 04:32:11 2007 ]
	   
	   
 4. Creating a proxy [getting ticket for Grid] :

	grid-proxy-init		[grid-proxy-init -help]
	
 5. Printing information on a proxy :

	grid-proxy-info	
	
 6. Destroying a proxy :

	grid-proxy-destroy
	
 7. Creating a VOMS proxy :

	voms-proxy-init -voms atlas
	voms-proxy-init -voms atlas -noregen  [without password asking - after grid-proxy-init]
		
 8. Printing information on a VOMS proxy :

	voms-proxy-info -all

 9. Creating a long-term proxy and storing it in a MyProxy Server
	
	myproxy-init -s $MYPROXY_SERVER -d -n
	myproxy-init -d -n			[ same ] 
	
   By default, the long-term proxy lasts for one week and the proxies created from it
   last 12 hours. These lifetimes can be changed using the -c and the -t option
   respectively, but cannot be longer than the lifetime of the user certificate.	

10. Retrieving information about a long-term proxy :

	myproxy-info -s $MYPROXY_SERVER -d
	myproxy-info -d				[ same ]

11. Deleting a long-term proxy :

	myproxy-destroy -s $MYPROXY_SERVER -d
	myproxy-destroy -d			[ same ]

12. Obtaining information about computing resources :

	lcg-infosites --vo photon ce		[about CE]
	lcg-infosites --vo photon se		[about SE]
	lcg-infosites --vo photon all		[about CE+SE]
	lcg-infosites --vo photon closeSE
	lcg-infosites --vo photon lfcLocal	[local LFC servers]
	
13. lcg-info command :

	lcg-info --list-attrs			[Get the list of supported attributes]

14. List all the CEs satisfying given conditions and print the desired attributes :

 	lcg-info --vo photon --list-ce --query 'Processor=*ntel*,OS=*Scientific*' --attrs 'RunningJobs,FreeCPUs'

15. List the close CEs for all the SEs (good) :

	lcg-info --list-se --vo photon --attrs CloseCE

16. The Local GRIS search :

	ldapsearch -x -h  -p 2135 -b "mds-vo-name=local, o=grid"


[Skipped all about R-GMA]


17. GridICE monitoring access :

	http://gridice2.cnaf.infn.it:50080/gridice/site/site.php


The Job Description Language (JDL)
Last modified on Apr 25, 2008.