FUNDAMENTALS OF COMPUTER

OPERATING SYSTEMS FOR COMPUTERS

COMMAND LINE INTERFACE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following commands provides a list of running processes?
A
tasks
B
process
C
ps
D
tasklist
Explanation: 

Detailed explanation-1: -ps-u [username] lists all running processes of a certain user. ps-e or ps-A displays active Linux processes in the generic UNIX format. ps-T prints active processes that are executed from the terminal. Ps-C process name will filter the list by the process name.

Detailed explanation-2: -Any time the system is running, processes are also running. You can use the ps command to find out which processes are running and display information about those processes.

Detailed explanation-3: -You can use the ps command to display a list of your processes that are currently running and obtain additional information about those processes. (Only a superuser or a user with appropriate permissions can obtain information about all processes.) This is a PID displayed as a decimal value.

Detailed explanation-4: -Linux provides a utility called ps (which stands as abbreviation for “Process Status”) for viewing information related with the processes on a system. The ps command is used to list the currently running processes and their PIDs along with some other information, which depends on different options.

Detailed explanation-5: -Type the ps aux to see all running process in Linux. Alternatively, you can issue the top command or htop command to view running process in Linux.

There is 1 question to complete.