%CPU – the CPU time used divided by the time the process has been running.PID – process ID of the process ( 2570).USER – the user who owns the process (the user pi in this case).Used with these options, the ps command will display all processes running on our system, along with information such as the username of the process′s owner, CPU loads, the starting time of the process, the command that initiated the process, etc: But the most commonly used options with the ps command are a, u and x ( ps aux). The output above gives us some useful information, such as the PIDs of the running processes and the commands used to start them. For example, to get information about all processes running on our system, we can use the ps -A command: We need to run the ps command with various options in order to get more info about our system. The output above doesn’t provide many useful information. Used without any options, ps displays only processes started from the current terminal: It can accept a lot of options that can come in handy when troubleshooting your system. The ps (short for process status) command is used to list processes currently running on your Raspbian system. Each process has a process id ( PID) and it’s associated with a particular user and group account. When you run a command in the terminal, a program is run and a process is created for it. A process is an instance of a running program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |