USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND You can see the command here (output edited for length): ~]$ ps aux x - displays processes not executed in the terminal (making the output rather long).To see an incredibly detailed list of processes, you can use the ps aux command. You will want to pay attention to the PID (unique process ID), the TIME (amount of time that the process has been running), and the CMD (the command executed to launch the process). Here you get a little information about the active processes on your system. To display your currently active processes, use the ps command: ~]$ ps I then stopped the process with Ctrl+Z so that we can use our terminal. This approach allows you to see the process without me making meaningful changes to my system. That way, you can try and fail without consequence (which is definitely the best way to get comfortable at the terminal).įor this demo, I am going to start the sleep process for 500 seconds. I recommend that you follow along on your favorite virtual machine. At a basic level, this is pretty easy to manage, and that is what we are going to take a look at today. Anytime you run a program, you have created a process. But what is a program? Well, technically, a program is any executable file held in storage on your machine. In Linux, a process is any active (running) instance of a program.
0 Comments
Leave a Reply. |