Which command reports the scheduling class a process falls under?

Which command reports the scheduling class a process falls under?

Which command reports the scheduling class a process falls under?

A.
ps

B.
priocnt1

C.
dispadmin

D.
rctladm

E.
prstat

Explanation:
How to Display Basic Information About Process Classes (priocntl)
Display process scheduling classes and priority ranges with the priocntl -l command.
$ priocntl -l
Incorrect:
Not C:
dispadmin
– process scheduler administration
The dispadmin command displays or changes process scheduler parameters while the system is
running.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Bednario

Bednario

– “priocntl” is generally for CHANGING scheduling class for process. Option “-l” – Displays a list of the classes currently configured in the system along with class-specific information about each class. The format of the class-specific information displayed is described under USAGE.

– “ps” can REPORTS scheduling class for a process.

In my opinion answer A (ps) is correct.

Pal

Pal

A is correct
ps -c
CLS(f,l) Scheduling class. Printed only when the -c option is used.

dupek

dupek

A

root@dbzone:~# ps -ecl
F S UID PID PPID CLS PRI ADDR SZ WCHAN TTY TIME CMD
0 S 0 3335 2613 FSS 59 ? 758 ? ? 0:00 init
0 S 0 3946 2613 FSS 59 ? 6764 ? ? 0:00 fmd
0 S 16 3718 2613 FSS 59 ? 3199 ? ? 0:00 nwamd
1 S 0 2613 2613 SYS 60 ? 0 ? ? 0:00 zsched
0 S 0 3517 2613 FSS 59 ? 4706 ? ? 0:05 svc.conf
0 S 0 3515 2613 FSS 59 ? 5762 ? ? 0:01 svc.star
0 S 0 3568 2613 FSS 59 ? 688 ? ? 0:00 pfexecd
0 S 17 3540 2613 FSS 59 ? 925 ? ? 0:00 netcfgd
0 S 16 3562 2613 FSS 59 ? 1240 ? ? 0:00 ipmgmtd
0 S 1 3563 2613 FSS 59 ? 2552 ? ? 0:00 kcfd
0 S 1 3605 2613 FSS 59 ? 596 ? ? 0:00 utmpd
0 S 0 3590 2613 FSS 59 ? 2446 ? ? 0:00 in.mpath
0 S 0 3623 2613 FSS 59 ? 792 ? ? 0:00 dbus-dae

Brett

Brett

A

ps(1) Lists information about running processes, identifies in which scheduling classes
processor sets are running.