Package: procps
Version: 2:4.0.2-3

on Debian 12, ps command behaves weirdly when run under root and when
combining options -H and --sort=start_time:

this works as expected and shows all my processes:

  /usr/bin/ps -e -H

but when I add --sort=start_time

  /usr/bin/ps -e --sort=start_time -H

it only shows init and 4 other daemons (in additin to the [kernel
threads] which are same in both cases):

    1 ?        00:00:02 init
  819 ?        00:00:00   rsyslogd
  869 ?        00:00:00   cron
  895 ?        00:00:00   dbus-daemon
  917 ?        00:00:00   slim
  921 tty7     00:00:37     Xorg


when I run same ps command as user, everything works fine

Reply via email to