Always thought top was one of those programs frozen in time since the 70s, but apparently, it has a feature set comparable to htop and the like. The default configuration just doesn’t show much of it…

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    I always killed processes with ps -ef | grep <process-name> and then kill <pid>

    you could check pgrep <process-name> too

    • Ephera@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      That is a good tip. Unfortunately, I am too fish to understand it. 🙃

      I just type ps and in 9 out of 10 cases, my shell suggests ps -ef | grep <process-name>. So, it’s actually less for me to type than “pgrep”…

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        35 minutes ago

        Far from me to try to bash a suggestion’s on one’s head but ^rpg or ^r<process-name> (for reverse-i-search) is probably quite fast, obviously depends entirely on your typical usage. Hard to do less than 2 keystrokes I admit.