Keval
Keval

Reputation: 65

PBS: Check contents of submitted job file

Is there a way to check the contents of a submitted job script/file (job can be queued/running)? Basically, I want to be able to see the commands inside my script file.

Upvotes: 1

Views: 368

Answers (1)

dbeer
dbeer

Reputation: 7213

To see the file that TORQUE has saved for the job, you'll need to have root access. The file is located in TORQUE_HOME/server_priv/jobs/JOBID.SC. Most of the time, TORQUE is installed to /var/spool/torque, making that the value for TORQUE_HOME. For example, the script file for job 1.host could be viewed:

vi /var/spool/torque/server_priv/jobs/1.host.SC

Upvotes: 1

Related Questions