1.查看进程号,有很多中方式:
比如:
top
或者:
hadoop@Mcnode4:~$ ps -aux| grep bwa
hadoop 9394 4.5 78.4 5722420 4786516 pts/27 Sl+ 3月27 77:35 bwa mem GCA_000001405.15_GRCh38/GCA_000001405.15_GRCh38_full_analysis_set.fna sh/runmem20160325180252/fastq/SRR003161t1376701.fastq
2.暂停进程:
kill -STOP 9394
9394为需要暂停的进程号
kill -CONT 9394