Killing Jobs - Job Number Method

When you run a job in the background a job number is assigned in brackets.

checklen < data &
[19108]

Typing kill -9 19108 will terminate the job.

If you cannot remember the job number type busy | grep

userid. This will list all processes running on this workstation by a specific user.

busy | grep lisan | grep -v grep

lisan 29832 0.0 0.0 308 648 pts/2 S 13:54:52 0:02 -tcsh

lisan 31227 33.2 0.0 612 1404 pts/2 R 14:00:12 13:45 /export/tmp/usr/sas609/sas LJN-893

The number next to the username is the process ID. To kill the SAS job type:

kill -9 31227

Users cannot kill other users' jobs.


NEW PSC blog

Recent resources, events, news

New Publications

Frey. Race, Immigration and Changing Electorate, PSC Research Report.

Danziger & Rouse. Economics of Early Adulthood

Next Brown Bag

Seminars will start up again in fall 2008
Check for new schedule


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.