This wiki is obsolete, see the NorduGrid web pages for up to date information.

ARC Compute Clients/Command line options

From NorduGrid
Jump to navigationJump to search

The following is a list of all the command line options used in the WS client commands. For each option the short flag, long flag and description are listed, and below these are given the files which uses the specified option. The files are relative to the 'src/clients' directory.

List of all command line options:

  • a/all: All jobs.
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcget.cpp
    • arclib/arcstat.cpp
  • b/broker: Select broker.
    • arclib/arcsub.cpp
    • arclib/arcmigrate.cpp
    • arclib/arcresub.cpp
  • C/cert: Path to certificate file.
    • credentials/arcproxy.cpp
  • c/cluster: Explicitly select or reject cluster.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcinfo.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
  • c/config: Path to config file.
    • charon/arcdecision.cpp
    • voms/voms_assertion_init.cpp
  • c/constraint: Proxy constraints.
    • credentials/arcproxy.cpp
  • d/debug: Debug level.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcinfo.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
    • charon/arcdecision.cpp
    • credentials/arcslcs.cpp
    • credentials/arcproxy.cpp
    • data/arcrm.cpp
    • data/arcls.cpp
    • data/arccp.cpp
    • echo/arcecho.cpp
    • srm/arcsrmping.cpp
    • voms/voms_assertion_init.cpp
  • D/dir: Download directory.
    • arclib/arcget.cpp
  • D/dryrun: Add dryrun option.
    • arclib/arcsub.cpp
  • D/storedir: Store directory for key and signed certificate.
    • credentials/arcslcs.cpp
  • e/jobdescrstring: Jobdescription string.
    • arclib/arcsub.cpp
  • e/stderr: Show the stderr of the job.
    • arclib/arccat.cpp
  • f/force: -- Multiple definitions --.
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arcsync.cpp
    • data/arcrm.cpp
    • data/arccp.cpp
  • f/jobdescrfile: Jobdescription file.
    • arclib/arcsub.cpp
  • G/gsicom: Use GSI communication protocol for contacting the VOMS services.
    • credentials/arcproxy.cpp
  • I/idp: IdP name.
    • credentials/arcslcs.cpp
  • I/info: Print all information about this proxy.
    • credentials/arcproxy.cpp
  • i/index: Explicitly select or reject index servers.
    • arclib/arcsub.cpp
    • arclib/arcmigrate.cpp
    • arclib/arcresub.cpp
    • arclib/arcinfo.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
  • i/indicate: Show progress indicator.
    • data/arccp.cpp
  • j/joblist: Job list file.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
  • k/keep: Keep the files on the server.
    • arclib/arckill.cpp
    • arclib/arcresub.cpp
    • arclib/arcget.cpp
  • K/key: Path to the private key file.
    • credentials/arcproxy.cpp
  • K/keypass: Private key passphrase.
    • credentials/arcslcs.cpp
  • L/lifetime: Lifetime of the certificate.
    • credentials/arcslcs.cpp
  • L/locations: Show URLs of file locations.
    • data/arcls.cpp
  • L/myproxysrv: URL of myproxy server.
    • credentials/arcproxy.cpp
  • l/gmlog: Show the grid manager's error log of the job.
    • arclib/arccat.cpp
  • l/long: Long format (more information).
    • arclib/arcinfo.cpp
    • arclib/arcstat.cpp
    • data/arcls.cpp
  • M/myproxycmd: Command to myproxy server.
    • credentials/arcproxy.cpp
  • m/merge: Merge the found jobs with the jobs in the joblist.
    • arclib/arcsync.cpp
  • m/metadata: Display all available metadata.
    • data/arcls.cpp
  • m/same: Resubmit to the same cluster.
    • arclib/arcresub.cpp
  • n/dolocalsandbox: Store job description in local sandbox.
    • arclib/arcsub.cpp
  • n/nopassive: Do not try to force passive transfer.
    • data/arccp.cpp
  • o/stdout: Show the stdout of the job.
    • arclib/arccat.cpp
  • p/passive: Use passive transfer.
    • data/arccp.cpp
  • P/password: Password for user account to IdP.'
    • credentials/arcslcs.cpp
  • P/proxy: Path to proxy file.
    • credentials/arcproxy.cpp
  • q/qluster: Explicitly select or reject a cluster.
    • arclib/arcmigrate.cpp
    • arclib/arcresub.cpp
  • R/pass: passphrase to myproxy server.
    • credentials/arcproxy.cpp
  • R/retries: Number of retries before failing file transfer.
    • data/arccp.cpp
  • r/recursive: Operate recursively up to specified level.
    • data/arcls.cpp
    • data/arccp.cpp
  • S/url: URL of SLCS service.
    • credentials/arcslcs.cpp
  • S/voms: Specify voms server. Command is optional.
    • credentials/arcproxy.cpp
  • s/status: Only select jobs whose status is statusstr.
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcget.cpp
    • arclib/arcstat.cpp
  • T/cadir: Path to trusted certificate directory only needed for voms client functionality.
    • credentials/arcproxy.cpp
  • T/notransfer: Do not transfer file, just register it.
    • data/arccp.cpp
  • t/timeout: Timeout in seconds.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcinfo.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
    • data/arcrm.cpp
    • data/arcls.cpp
    • data/arccp.cpp
  • U/user: User account to IdP.
    • credentials/arcslcs.cpp
  • U/user: Username to myproxy server.
    • credentials/arcproxy.cpp
  • u/secure: Use secure transfer.
    • data/arccp.cpp
  • v/version: Print version information.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcinfo.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
    • charon/arcdecision.cpp
    • credentials/arcslcs.cpp
    • credentials/arcproxy.cpp
    • data/arcrm.cpp
    • data/arcls.cpp
    • data/arccp.cpp
    • echo/arcecho.cpp
    • srm/arcsrmping.cpp
    • voms/voms_assertion_init.cpp
  • V/vomses: Path to voms server configuration file.
    • credentials/arcproxy.cpp
  • x/dumpdescription: Do not submit, dump job description in the format matching the selected cluster.
    • arclib/arcsub.cpp
  • Y/cachedata: Path for cache data.
    • data/arccp.cpp
  • y/cache: Path to local cache.
    • data/arccp.cpp
  • Z/keysize: Key size of the private key.
    • credentials/arcslcs.cpp
  • z/conffile: Configuration file.
    • arclib/arcsub.cpp
    • arclib/arcrenew.cpp
    • arclib/arcclean.cpp
    • arclib/arcmigrate.cpp
    • arclib/arckill.cpp
    • arclib/arccat.cpp
    • arclib/arcresub.cpp
    • arclib/arcresume.cpp
    • arclib/arcinfo.cpp
    • arclib/arcget.cpp
    • arclib/arcsync.cpp
    • arclib/arcstat.cpp
    • credentials/arcslcs.cpp
    • credentials/arcproxy.cpp
    • data/arcrm.cpp
    • data/arcls.cpp
    • data/arccp.cpp
    • echo/arcecho.cpp
    • srm/arcsrmping.cpp

Command for listing all command line options:

n=0 && for line in `grep -Rh -A2 --include="*.cpp" "AddOption" * | grep -v "^--" | sed "s/\([[:space:]]\+\)\|\(^$\)/@/g"`; do echo -n "`echo $line | sed "s/@/ /g" | sed "s/^ //"` "; [[ $(( n%3 )) == 2 ]] && echo ; let 'n += 1'; done | sort -u | sed "s/options.AddOption(//"

Command for listing files using specified option:

for option in `cat longoptions | sort -u`; do echo $option; grep -R -A2 --include="*.cpp" "AddOption" * | grep "\"$option\"" | grep "AddOption" | awk '{ print $1 }' | sed "s/^/* /" | sed "s/://" ; done