-- CarlGwilliam - 11 Jul 2006

Useful Grid Commands

To find out how to get a grid certificate see: http://hep.ph.liv.ac.uk/~gwilliam/GridCert.html

To find out what all the grid jargon means see the Grid Acronym Soup: http://www.gridpp.ac.uk/gas/

EDG Commands

Command Description
edg-job-submit --vo atlas -o < idfile >  -r < ce_id >  < file.jdl >
submit a job
edg-job-status -i < idfile >
status of a job
edg-job-cancel -i < idfile >
cancel a job
edg-job-get-output -dir . -i < idfile >
get job output
edg-job-list-match --vo atlas  < file.jdl > 
find a CE which matches the job requirements
edg-gridftp-ls -v gsiftp://hepgrid5.ph.liv.ac.uk:2811/pnfs/ph.liv.ac.uk/
lists a directory on a SE
edg-gridftp-mkdir gsiftp://se:port/path/dirname
make a directory "dirname" on storage element "se"
 edg-job-get-logging-info -v 1 < job ID >
detailed logging information for a previously submittted job
 

LFC Commands

Command Description
lfc-chmod < lfc file/dir >
change the permissions of a file/directory
lfc-chown < lfc file/dir >
change the owner/group of a file/directory
lfc-delcomment < lfc file/dir >
delete the comment associated to the file/directory
lfc-getacl < lfc file/dir >
get the acl for the file/directory
lfc-ln < lfc file/dir >
create a symbolic link to a file/directory
lfc-ls < lfc file/dir >
list a file catalog directory
lfc-mkdir < lfc file/dir >
create a file catalog directory
lfc-rename < old lfc file/dir >< new lfc file/dir >
rename a file/directory
lfc-rm < lfc file/dir >
remove a file/directory
lfc-setacl < lfc file/dir >
set the acl of a file/directory
lfc-setcomment < lfc file/dir >
add/replace a comment to a file/directory
 

LCG Commands

Command Description
lcg-infosites --vo atlas se
SE info
lcg-infosites --vo atlas ce
CE info
lcg-infosites --vo atlas closeSE
CE and closest SE
lcg-infosites --vo atlas tag
version tags of software available on that SE
lcg-infosites --vo atlas se| grep -i liv | awk '{print "Host = " $4; print "Storage (TB) = " $1/(1024^3); print "Used (GB) =" $2/(1024^2)}'
Info on liverpool SE
lcg-info
query SEs or CEs available (see lcg-info --help)
lcg-lr --vo altas < lfn:/guid: >
lists the replicas (SFNs) for a given LFN/GUID
lcg-lg --vo atlas < lfn:/sfn: >
lists the GUID for a given LFN/SFN
lcg-la --vo atlas < guid:/sfn: >
lists the aliases (LFNs) for a given LFN/SFN
lcg-cp --vo atlas -v < lfn:/sfn: >  file://`pwd`/< filename >
copys a file from the grid to "filename" locally
lcg-cr --vo atlas -v -l < lfn > -d < dest. SE > file:`pwd`/< filename >
copy a file to a SE and register in LFC
lcg-la --vo atlas < guid: > < lfn: >
add an alias (LFN) to a particular GUID
lcg-ra --vo atlas < guid: > < lfn: >
remove an alias (LFN) from a particular GUID
lcg-del --vo atlas -a < lfn:/guid: > 
Deletes all replicas associated with a particular LFN/GUID
lcg-del --vo atlas < sfn:/srm: > 
Deletes replica with given SFN/SRM
 

SRMCP

Command Description
srmcp file:////< path/localname > srm://< se:port/path/gridname > 
copy local file "localname" to "gridname" on storage element "se"
srmcp srm://< se:port/path/gridname > file:////< path/localname >
copy grid file "gridname" on storage element "se" to local file "localanme"
 
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r12 - 2006-11-06 - HelenHayward
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback