1Z0-822 · Question #10
Which command reports the scheduling class a process falls under?
The correct answer is A. ps. ps with the appropriate flags (e.g., ps -ecl or ps -o class on Solaris) displays the scheduling class column (such as TS for time-sharing, RT for real-time, or IA for interactive) for each process, making it the correct tool for reporting which class a process falls under. Why…
Question
Which command reports the scheduling class a process falls under?
Options
- Aps
- Bpriocnt1
- Cdispadmin
- Drctladm
- Eprstat
How the community answered
(50 responses)- A88% (44)
- B2% (1)
- C4% (2)
- D6% (3)
Explanation
ps with the appropriate flags (e.g., ps -ecl or ps -o class on Solaris) displays the scheduling class column (such as TS for time-sharing, RT for real-time, or IA for interactive) for each process, making it the correct tool for reporting which class a process falls under.
Why the distractors are wrong:
- B. priocntl - used to set or get scheduling parameters for processes, not simply report which class they belong to; it's a control tool, not a reporting one
- C. dispadmin - administers dispatcher configuration (e.g., adjusting time quantum tables for a class), not for inspecting individual process class assignments
- D. rctladm - manages resource controls (like CPU caps and memory limits), an unrelated subsystem
- E. prstat - a real-time process monitoring tool (like
top) focused on CPU/memory usage stats, not scheduling class reporting
Memory tip: Think "ps = process status" - it's the go-to snapshot command for everything about a process's current state, including its scheduling class. If you need to change scheduling, think priocntl; if you need to configure a class, think dispadmin. Reporting = ps.
Topics
Community Discussion
No community discussion yet for this question.