quota -Qs
andy@kato:~ $ quota -Qs
Disk quotas for user andy (uid 24050):
Filesystem space quota limit grace files quota limit grace
icnfs-ma.cc.ic.ac.uk:/home/ma
3980M 4883M 5500M 43523 0 0
andy@kato:~ $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/ma/a/andy/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/ma/a/andy/.ssh/id_rsa. Your public key has been saved in /home/ma/a/andy/.ssh/id_rsa.pub. The key fingerprint is: 80:d9:2c:2d:d7:4e:57:7f:a1:68:6a:d1:79:02:bc:18 andy@kato.ma.ic.ac.uk
andy@kato:~ $ ls -l .ssh total 64 -rw------- 1 andy mastaff 883 Nov 10 14:50 id_rsa -rw-r--r-- 1 andy mastaff 222 Nov 10 14:50 id_rsa.pub
andy@kato:~ $ cd .ssh andy@kato:~/.ssh $ cp id_rsa.pub authorized_keys
update-ssh-known-hosts
andy@kato:~/pbs_tests $ cat queue.test4
#!/bin/bash
#PBS -N R_job
#PBS -m be
#PBS -q standard
cd ${HOME}/pbs_tests
/usr/bin/R --vanilla < test.r > test_r.out
#PBS -N R_job
#PBS -m be
#PBS -q standard
qsub my-wrapper-script
andy@kato:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 1.kato.degond time-waster_job andy 0 Q standard 2.kato.degond examplejob andy 0 Q standard 3.kato.degond recursive-ls andy 0 Q standard
andy@kato:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 52.kato.degond R_job andy 0 R standard
andy@kato:~/pbs_tests $ qstat Job id Name User Time Use S Queue ------------------------- ---------------- --------------- -------- - ----- 52.kato.degond R_job andy 00:00:23 R standard
andy@kato:~/pbs_tests $ qstat -f
Job Id: 51.ma-queue
Job_Name = R_job
Job_Owner = andy@kato
job_state = R
queue = standard
server = ma-queue
Checkpoint = u
ctime = Fri Feb 12 12:01:35 2010
Error_Path = kato.degond.ma.ic.ac.uk:/home/ma/a/andy/pbs_tests/R_job.e51
exec_host = lax/0
Hold_Types = n
Join_Path = n
Keep_Files = n
Mail_Points = be
mtime = Fri Feb 12 12:01:36 2010
Output_Path = kato.degond.ma.ic.ac.uk:/home/ma/a/andy/pbs_tests/R_job.o51
Priority = 0
qtime = Fri Feb 12 12:01:35 2010
Rerunable = True
Resource_List.mem = 2000mb
Resource_List.ncpus = 1
Resource_List.nodect = 1
Resource_List.nodes = 1
session_id = 1531
Variable_List = PBS_O_HOME=/home/ma/a/andy,PBS_O_LANG=en_GB.UTF-8,
PBS_O_LOGNAME=andy,
PBS_O_PATH=/usr/local_machine/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local_machine/bin:/usr/local_machine/sbin:/usr/local/
apache/bin:/usr/local/mysql/bin,PBS_O_MAIL=/var/spool/mail/andy,
PBS_O_SHELL=/bin/bash,PBS_O_HOST=kato.degond.ma.ic.ac.uk
PBS_SERVER=kato.degond.ma.ic.ac.uk
PBS_O_WORKDIR=/home/ma/a/andy/pbs_tests,PBS_O_QUEUE=standard
etime = Fri Feb 12 12:01:35 2010
submit_args = queue.test4
start_time = Fri Feb 12 12:01:36 2010
start_count = 1
fault_tolerant = False
andy@kato:~/pbs_tests $ showq
ACTIVE JOBS--------------------
JOBNAME USERNAME STATE PROC REMAINING STARTTIME
52 andy Running 1 00:00:00 Fri Feb 12 12:24:55
1 Active Job 1 of 128 Processors Active (0.78%)
1 of 11 Nodes Active (9.00%)
IDLE JOBS----------------------
JOBNAME USERNAME STATE PROC WCLIMIT QUEUETIME
0 Idle Jobs
BLOCKED JOBS----------------
JOBNAME USERNAME STATE PROC WCLIMIT QUEUETIME
Total Jobs: 1 Active Jobs: 1 Idle Jobs: 0 Blocked Jobs: 0
andy@kato:~/pbs_tests $ qdel 52
andy@kato:~/pbs_tests $ canceljob 52 job '52' cancelled
Date: Fri, 12 Feb 2010 12:00:57 +0000 From: "root@kato.degond.ma.ic.ac.uk"To: "Thomas, Andy D" Subject: PBS JOB 50.kato PBS Job Id: 50.ma-queue Job Name: R_job Exec host: lax.degond.ma.ic.ac.uk/0 Begun execution
Date: Fri, 12 Feb 2010 12:01:08 +0000 From: "root@kato.degond.ma.ic.ac.uk"To: "Thomas, Andy D" Subject: PBS JOB 50.ma-queue PBS Job Id: 50.kato Job Name: R_job Exec host: lax.degond.ma.ic.ac.uk/0 Execution terminated Exit_status=0 resources_used.cput=00:00:09 resources_used.mem=0kb resources_used.vmem=0kb resources_used.walltime=00:00:10
Warning: No display specified. You will not be able to display graphics on the screen.
< M A T L A B (R) >
Copyright 1984-2009 The MathWorks, Inc.
Version 7.8.0.347 (R2009a) 64-bit (glnxa64)
February 12, 2009
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Fatal error: you must specify '--save', '--no-save' or '--vanilla'
chk_tree printjob pbsdsh qhold qselect hostn printserverdb pbsnodes qmove qsig nc-config printtracking qalter qmsg qstart ncdump pbs_queue_attributes qchkpt qorder qstat ncgen pbs_resources qdel qrerun qstop nqs2pbs pbs_server qdisable qrls qsub pbs-config pbs_track qenable qrun tracejob
canceljob checkjob showbf showq showstart showstats
Research Computing Manager, Department of Mathematics
last updated: 7.1.2022