MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The ____ command is used to display some process attributes
A
pwd
B
od
C
cd
D
ps
Explanation: 

Detailed explanation-1: -1. Which command shows some attributes of a process? Explanation: ps command is used to show some attributes of a process. This command reads through the kernel’s data structures and process tables to fetch the characteristics of a process.

Detailed explanation-2: -ps displays status information about processes, and optionally, the threads running under each process. By default, for each process that is associated with the user’s terminal, ps displays the process ID (PID), TTY, processor time used (TIME), and name of the command (COMM).

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: -The ps Command. 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.

There is 1 question to complete.