Which commands list the process IDs (PIDs) for the running processes on a Linux host? (Select TWO.) ps echo Crontab pidof ls
Question
Which commands list the process IDs (PIDs) for the running processes on a Linux host? (Select TWO.)
ps
echo
Crontab
pidof
ls
Solution
The two commands that list the process IDs (PIDs) for the running processes on a Linux host are:
-
ps
: This command displays information about a selection of the active processes. If you want to see every process on the system using standard syntax, you can useps -e
. -
pidof
: This command finds the process ID of a running program. It takes the program name as an argument and returns the process ID.
The other commands listed (echo
, Crontab
, ls
) do not provide information about running processes or their PIDs.
Similar Questions
What command displays information about active processes?pkillpstrapkillpgrepI don't know
Which of the following Linux commands lists open files and what processes are using them?
Which of the following tools can help you gather information about the processes running on a Windows operating system?
Which of the following are examples of reference models that can be used for process identification. ITIL CMMI SCOR PCF APQC
Which process can be affected by other processes executing in the system?Select one:a. child processb. init processc. parent processd. cooperating process
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.