Unix run processes in parallel is called multitasking.
# (1) check the running processes
ps
# give you more
ps -T
# (2) understanding the ps output 
PID - process ID
TTY - terminal name
STAT - (S) sleep
            (O) running 
            (R) wait to run on the processor
            (I) just be started
            (T) paused
            (Z) that is ending
TIME - amount of computing time the process has used
CMD - command used by the process
# (3) killing process
you need to know the process ID of which you would like to kill
kill PID
没有评论:
发表评论