.\" -*- nroff -*- .TH ARCCAT 1 "2021-02-24" "NorduGrid ARC 6.10.2" "NorduGrid Users Manual" .SH NAME arccat \- ARC Catenate .SH DESCRIPTION The .B arccat command can be used to view the stdout or stderr of a running job. It can also be used to show A-REX's error log of a job. .SH SYNOPSIS .B arccat [options] [job ...] .SH OPTIONS .IP "\fB-a\fR, \fB--all\fR" all jobs .IP "\fB-j\fR, \fB--joblist\fR=\fIfilename\fR" the file storing information about active jobs (default ~/.arc/jobs.xml) .IP "\fB-i\fR, \fB--jobids-from-file\fR=\fIfilename\fR" a file containing a list of jobIDs .IP "\fB-c\fR, \fB--cluster\fR=\fIname\fR" select one or more computing elements: \fIname\fR can be an alias for a single CE, a group of CEs or a URL .IP "\fB-r\fR, \fB--rejectmanagement\fR=\fIURL\fR" skip jobs which are on a computing element with a given URL .IP "\fB-s\fR, \fB--status\fR=\fIstatusstr\fR" only select jobs whose status is statusstr .IP "\fB-o\fR, \fB--stdout\fR" show the stdout of the job (default) .IP "\fB-e\fR, \fB--stderr\fR" show the stderr of the job .IP "\fB-l\fR, \fB--joblog\fR" show A-REX's error log of the job .IP "\fB-P\fR, \fB--listplugins\fR" list the available plugins .IP "\fB-t\fR, \fB--timeout\fR=\fIseconds\fR" timeout in seconds (default 20) .IP "\fB-z\fR, \fB--conffile\fR=\fIfilename\fR" configuration file (default ~/.arc/client.conf) .IP "\fB-d\fR, \fB--debug\fR=\fIdebuglevel\fR" FATAL, ERROR, WARNING, INFO, VERBOSE or DEBUG .IP "\fB-v\fR, \fB--version\fR" print version information .IP "\fB-?\fR, \fB--help\fR" print help .LP .SH ARGUMENTS .IP "\fBjob\fR ..." list of jobids and/or jobnames .LP .SH EXTENDED DESCRIPTION The .B arccat command displays the stdout or stderr of running jobs. It can also display A-REX's error log of a job. The job can be referred to either by the jobid that was returned by .BR arcsub (1) at submission time or by its jobname if the job description that was submitted contained a jobname attribute. More than one jobid and/or jobname can be given. If several jobs were submitted with the same jobname the stdout, stderr or A-REX error log of all those jobs are shown. If the .B --joblist option is used the list of jobs is read from a file with the specified filename. By specifying the .B --all option, the stdout, stderr or A-REX error log of all active jobs will be shown. The .B --cluster option can be used to select or reject jobs at specific clusters. See .BR arcsub (1) for a discussion of the format of arguments to this option. The .B --status option can be used to select jobs in a specific state. These options can be repeated several times. See .BR arstat (1) for possible state values. Only jobs where the stdout or stderr argument was given in the job description can display the contents of those files. .SH FILES .TP .B ~/.arc/client.conf Some options can be given default values by specifying them in the ARC client configuration file. By using the .B --conffile option a different configuration file can be used than the default. .TP .B ~/.arc/jobs.xml This a local list of the user's active jobs. When a job is successfully submitted it is added to this list and when it is removed from the remote cluster it is removed from this list. This list is used as the list of all active jobs when the user specifies the .B --all option to the various NorduGrid ARC user interface commands. By using the .B --joblist option a different file can be used than the default. .SH ENVIRONMENT VARIABLES .TP .B X509_USER_PROXY The location of the user's Grid proxy file. Shouldn't be set unless the proxy is in a non-standard location. .TP .B ARC_LOCATION The location where ARC is installed can be specified by this variable. If not specified the install location will be determined from the path to the command being executed, and if this fails a WARNING will be given stating the location which will be used. .TP .B ARC_PLUGIN_PATH The location of ARC plugins can be specified by this variable. Multiple locations can be specified by separating them by : (; in Windows). The default location is \fB$ARC_LOCATION\fR/lib/arc (\\ in Windows). .SH COPYRIGHT APACHE LICENSE Version 2.0 .SH AUTHOR ARC software is developed by the NorduGrid Collaboration (http://www.nordugrid.org), please consult the AUTHORS file distributed with ARC. Please report bugs and feature requests to http://bugzilla.nordugrid.org .SH SEE ALSO .BR arcclean (1), .BR arccp (1), .BR arcget (1), .BR arcinfo (1), .BR arckill (1), .BR arcls (1), .BR arcmkdir (1), .BR arcproxy (1), .BR arcrenew (1), .BR arcresub (1), .BR arcresume (1), .BR arcrm (1), .BR arcstat (1), .BR arcsub (1), .BR arcsync (1), .BR arctest (1)