AIX

 View Only
  • 1.  ps -o sched output

    Posted Wed December 29, 2021 05:18 AM
    Hello All,
    I'm struggling to find information what - in sched output of ps command means. Man says that 0,1,2 is for SCHED_OTHER, SCHED_FIFO and SCHED_RR respectively but no information regarding -
    So what schedule policy is used e.g. for lrud, psmd or other processes ? Is it scheduled differently even if it's in active state?

    # ps -ek -o comm,sched
    COMMAND SCH
    swapper 1
    init 0
    wait 1
    sched 2
    lrud -
    vmptacrt 2
    psmd -
    vmmd -
    pvlist 1
    reaffin -
    memgrdd 1

    ------------------------------
    Jakub Pacowski
    ------------------------------


  • 2.  RE: ps -o sched output

    IBM Champion
    Posted Thu December 30, 2021 05:31 AM
    Those are kernel processes that are managed outside of regular scheduling rules.

    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 3.  RE: ps -o sched output

    Posted Fri December 31, 2021 03:26 AM
    Jose, thank you for replay. Are you aware what rules are in place? Priority only or some others?

    ------------------------------
    Jakub Pacowski
    ------------------------------



  • 4.  RE: ps -o sched output

    IBM Champion
    Posted Fri December 31, 2021 07:35 AM

    I think some of those are processes that act as an extension of the kernel (they are executed when the kernel needs their services), like j2pg, reaffin or lrud, although I've also found things that are normal processes.

      



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------