Skip to content
  • Jaromir Capik's avatar
    ps: add -q/q/--quick-pid option · e751606f
    Jaromir Capik authored
    This commit introduces a new option q/-q/--quick-pid
    to the 'ps' command. The option does a similar job
    to the p/-p/--pid option (i.e. selection of PIDs
    listed in the comma separated list that follows
    the option), but the new option is optimized
    for speed.
    In cases where users only need to specify a list
    of PIDs to be shown and don't need other selection
    options, forest type output and sorting options,
    the new option is recommended as it decreases
    the initial processing delay by avoiding reading
    the necessary information from all the processes
    running on the system and by simplifying
    the internal filtering logic.
    e751606f