Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected] • 2 years ago

I'm ditching htop for btop, look how cool it is

lemmy.ml

message-square
140
fedilink
520

I'm ditching htop for btop, look how cool it is

lemmy.ml

@[email protected] to [email protected] • 2 years ago
message-square
140
fedilink
alert-triangle
You must log in or register to comment.
  • @[email protected]
    link
    fedilink
    8•
    edit-2
    2 years ago

    Hi Guiseppe

  • unalivejoy
    link
    fedilink
    English
    31•
    edit-2
    2 years ago

    Ooh, it looks even better than gtop.

    Edit: Why does the menu look like this?

    • Beej Jorgensen
      link
      fedilink
      4•2 years ago

      Nostalgia city…

    • @[email protected]OP
      link
      fedilink
      5•2 years ago

      Jeez, never saw that, mine just open the program

      • @[email protected]
        link
        fedilink
        English
        8•2 years ago

        Press ‘m’

    • @[email protected]
      link
      fedilink
      English
      77•2 years ago

      50/50 on if it starts listing processes or launches a new game of Zelda.

      • 𝙣𝙪𝙠𝙚
        link
        fedilink
        English
        17•2 years ago

        Say no more, I’m sold

    • Rikj000
      link
      fedilink
      English
      17•2 years ago

      Btop has been rewritten in C++, hence the ++

      • @[email protected]
        link
        fedilink
        23•2 years ago

        Uh oh, time to rewrite it in rust

        • @[email protected]
          link
          fedilink
          1•2 years ago

          deleted by creator

        • @[email protected]
          link
          fedilink
          1•2 years ago

          The rust one is called bottom (btm) see the other thread :). When you already have a rust environment it is just at a cargo install away which is convenient.

        • @[email protected]
          link
          fedilink
          13•2 years ago

          https://github.com/aristocratos/btop/issues/5

  • Raccoonn
    link
    fedilink
    8•2 years ago

    I ditched all top programs on my system, because I have no use for any of them…

    • @[email protected]
      link
      fedilink
      11•2 years ago

      How do you check what is eating up all your memory/cpu?

      • KᑌᔕᕼIᗩ
        link
        fedilink
        English
        22•2 years ago

        Just download more, simple.

        • @[email protected]
          link
          fedilink
          10•2 years ago

          mount google drive as swap. RAM downloaded !!

          • KᑌᔕᕼIᗩ
            link
            fedilink
            English
            3•2 years ago

            I kinda want someone to make this for shits and giggles.

            • 𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠
              link
              fedilink
              3•2 years ago

              https://blog.horner.tj/how-to-kinda-download-more-ram/

              Already been done.

        • @[email protected]
          link
          fedilink
          8•2 years ago

          ⬆️ This man is too dangerous to be left alive.

      • Raccoonn
        link
        fedilink
        2•
        edit-2
        2 years ago

        My computer just works so I’ve never needed to check, but I run XFCE & have xfce4-taskmanager installed, so I could use that if I ever needed…

        • @[email protected]
          link
          fedilink
          2•2 years ago

          Ah, I see. I use htop as a task manager.

      • anoklola
        link
        fedilink
        2•
        edit-2
        2 years ago

        @berg @furycd001

        To get a comprehensive overview of your system’s resource usage, install and run the btop command. It’s a top-like interactive system monitor that displays a range of system information, including:

        -CPU usage (per core and overall)
        -RAM usage (free, used, and cached)
        -Disk usage (per disk and overall)
        -Network usage (bytes sent and received)
        -Process list (with CPU, RAM, and disk usage per process)
        -System temperature
        -Uptime

    • TwinTusks
      link
      fedilink
      English
      6•2 years ago

      I only use htop to kill process when it froze.

      • Raccoonn
        link
        fedilink
        1•2 years ago

        I just use xkill for that…

        • TwinTusks
          link
          fedilink
          English
          1•2 years ago

          A question, what tod do when the laptop is completely frozen, as in you can’t even move your mouse. Is the only solution to force shutdown?

          • @[email protected]
            link
            fedilink
            5•2 years ago

            You can try the Magic SysRq key, if its enabled.

            https://en.m.wikipedia.org/wiki/Magic_SysRq_key

            https://wiki.archlinux.org/title/Keyboard_shortcuts

          • Raccoonn
            link
            fedilink
            3•2 years ago

            Thankfully I’ve never had that happen, but if it did I would probably just switch to a tty & use the killall command on whatever was giving me bother…

          • @[email protected]
            link
            fedilink
            English
            1•2 years ago

            Switch to a different virtual terminal (ctrl-alt-F3), login and restart desktop manager, switch back to the normal GUI terminal (ctrl-alt-F2)

    • DefinitelyNotAPhone [he/him]
      link
      fedilink
      English
      7•2 years ago

      There’s a top surgery joke in here somewhere, I can feel it.

  • @[email protected]
    link
    fedilink
    English
    44•2 years ago

    Bottom for life (or at least until something with more stats comes out)

    • @[email protected]
      link
      fedilink
      English
      25•2 years ago

      Just found this too, through the rust post some days ago…but its quite obvious that from a usability context that btop is easier to use. With bottom you have to memorize all hotkeys wheres btop is showing them right in the interface.

      • @[email protected]
        link
        fedilink
        8•2 years ago

        Yea. I was using bottom until I saw this and did a quick side-by-side comparison (nix-shell -p btop, I use NixOS BTW). btop’s UI is just so much better.

    • @[email protected]
      link
      fedilink
      11•2 years ago

      I’m really loving bottom

      • caseyweederman
        link
        fedilink
        10•2 years ago

        Switch is that perfect sweet spot right in the middle. Very versatile.

    • @[email protected]
      link
      fedilink
      2•2 years ago

      The graphs look way better than btop.

      • @[email protected]
        link
        fedilink
        English
        1•2 years ago

        I agree here, although I have no clue why it looks so different.

    • @[email protected]
      link
      fedilink
      1•2 years ago

      it’s actually really pretty

    • Clot
      link
      fedilink
      4•2 years ago

      Bro literally every second software is written in rust nowadays 😭

      • @[email protected]
        link
        fedilink
        1•2 years ago

        it’s a good language

        • Clot
          link
          fedilink
          2•2 years ago

          Ik, I am also a rustacean

    • Emperor Palpapeen
      link
      fedilink
      3•2 years ago

      @Static_Rocket @zShxck for a second there I thought he was revealing his favored sexual positions

  • Jo Miran
    link
    fedilink
    11•2 years ago

    One I started using Bpytop, I couldn’t go back.

    • nanook
      link
      fedilink
      1•8 months ago

      @JoMiran @zShxck That is very nice. I love the way you can toggle between disk space usage and disk I/O usage. Here is a btop of the machine that friendica.eskimo.com is running on:

    • @[email protected]
      link
      fedilink
      1•
      edit-2
      8 months ago
      • Jo Miran
        link
        fedilink
        11•
        edit-2
        2 years ago

        It’s written in Python.

        EDIT: My original comment refers to going to Bpytop from just plain top. I believe btop is a C++ rewrite of bpytop.

  • Display Name
    link
    fedilink
    3•2 years ago

    Crazy

  • @[email protected]
    link
    fedilink
    55•
    edit-2
    2 years ago

    I made the swich a year or two ago. It is much better I find. I leave it running in a tmux session on my server . with btop on one pane and switch to another with a split view to do work. It allows me to take a quick glance at any time while not taking the focus from what I was working on.

    • @[email protected]OP
      link
      fedilink
      10•2 years ago

      Don’t understand why someone should downvote you, take my upvote instead

      • @[email protected]
        link
        fedilink
        6•2 years ago

        Lol no idea, some people just want to watch the world burn I suppose. Thanks kind stranger. Wishing you and yours the best.

      • @[email protected]
        link
        fedilink
        6•2 years ago

        Might be missclick. Some people have fat fingers.

        • @[email protected]OP
          link
          fedilink
          2•2 years ago

          I saw him with “-1” so actually 2 people not just one person have misclicked according to your theory. Hmmm i don’t know, but i hope it’s true, better then the alternative

        • @[email protected]
          link
          fedilink
          6•2 years ago

          The slide is what gets me. My client supports swiping for voting so I’m constantly downvoting by accident.

          • @[email protected]
            link
            fedilink
            3•2 years ago

            So does mine (Voyager), and the misswipes is why I disabled it, which thankfully Voyagers allows to be configurable.

            • @[email protected]
              link
              fedilink
              English
              1•2 years ago

              The latest Voyager also allows you to customize when the long swipe trigger point is now! Settings -> Gestures -> Long Swipe Trigger Point

  • @[email protected]
    link
    fedilink
    4•2 years ago

    has more empty space. Can the user change that?

    • @[email protected]
      link
      fedilink
      7•2 years ago

      You can collapse the subwindows and configure the graphs

      • @[email protected]
        link
        fedilink
        2•2 years ago

        Oh, good.

  • @[email protected]
    link
    fedilink
    English
    9•2 years ago

    Nice, I’ve tried gtop and atop before and they were pretty nice, but I usually fall back to htop because old habits die hard. I’ll give this a go!

  • @[email protected]
    link
    fedilink
    8•2 years ago

    Meanwhile, every system (even Android) has good ol’ top. It works.

    • @[email protected]
      link
      fedilink
      3•2 years ago

      It can’t even kill processes.

      • @[email protected]
        link
        fedilink
        12•2 years ago

        That’s what kill is for …

        • @[email protected]
          link
          fedilink
          6•2 years ago

          And then I forget the pid.

          • Trailblazing Braille Taser
            link
            fedilink
            11•2 years ago

            That’s what pkill is for.

          • @[email protected]
            link
            fedilink
            2•2 years ago

            It should be in the terminal right next to the one you have open for issuing the kill command

            Don’t tell me that you’re only using a single terminal window

  • @[email protected]
    link
    fedilink
    4•
    edit-2
    2 years ago

    This looks great! Thanks for the recommendation.

    I like Netdata because it’s web based, has a large number of metrics, you can pan/zoom the graphs, and it doesn’t use much CPU power. Console UIs are nice but they’re more limiting than something web-based.

    • @[email protected]
      link
      fedilink
      1•2 years ago

      Perhaps someone can implement something w3mimage or sixels in btop for pannable graphs. Don’t know how efficient that is.

  • @[email protected]
    link
    fedilink
    6•2 years ago

    I just wish there was a .deb package.

    Still gonna get around to making a playbook for installing it someday. btop (and it’s predecessors) are awesome.

    • caseyweederman
      link
      fedilink
      10•2 years ago

      There’s a deb in Ubuntu Universe.
      Oh heck, it’s in Debian Bookworm too, and Bullseye-Backports.
      Debs all around.

      • @[email protected]
        link
        fedilink
        3•2 years ago

        I could have sworn I checked and didn’t find it. I’ll look again, maybe I did something wrong

  • @[email protected]
    link
    fedilink
    10•2 years ago

    Both are useless toys for newbie sysadmins who think their job is sitting and looking at list of processes.

    • Aatube
      link
      fedilink
      12•2 years ago

      I mean, you do sometimes need to check out which processes are running to debug

      • @[email protected]
        link
        fedilink
        3•2 years ago

        Aren’t top or pgrep enough for that?

        • Aatube
          link
          fedilink
          7•
          edit-2
          2 years ago

          If it looks better and does the same thing efficiently, I’ll take the thing that looks better.

          • @[email protected]
            link
            fedilink
            1•2 years ago

            You have a pre-installed tool and a tool that looks better but which you need to install. When you need it for a rare task, and you administer many machines, it is easier to use what you already have on each of them.

            • Aatube
              link
              fedilink
              1•2 years ago

              Do these programs not work over SSH?

    • @[email protected]
      link
      fedilink
      17•2 years ago

      Teach me how to know which process is hogging my memory or CPU, in less than 5 steps without htop?

      • WuTang
        link
        fedilink
        English
        5•2 years ago

        do you experience that often ? anyway, the plain, basic ‘top’ command can provide it to you. There’s literally a column %CPU and %MEM

        • @[email protected]
          link
          fedilink
          2•2 years ago

          This. Type f, select %MEM, then type s and q.

      • Papamousse
        link
        fedilink
        4•2 years ago

        Launch top? Quick glance, type ‘q’, then kill

        • @[email protected]
          link
          fedilink
          2•2 years ago

          Just type k to kill.

        • @[email protected]
          link
          fedilink
          2•
          edit-2
          2 years ago

          Lol, top. Try that to figure out the load on a 256 core DGX slurm setup with that shit. Top is barely usable on consumer hardware…

    • WuTang
      link
      fedilink
      English
      3•
      edit-2
      2 years ago

      It’s not even about sysadmins, it’s just hacker wannabe. tomorrow they will say “coz I waNt to maSter mo sYstem”.

      yep good luck in auditing the 1.5k packages installed on your system.

      • @[email protected]
        link
        fedilink
        2•2 years ago

        Cringe take. I’ts just a fun pretty system monitor tool. I work as a senior cloud architect. I have 10 years of pretty heavy professional and home Linux usage and I just installed it on my home server because I have a unused 1/3 on one of my monitors at home where it can just live forever inside tmux.

        It’s fun to see Plex take more resources because someone started a stream, or see the different parts of kubernetes working when I start a few containers. I have also added a drive to my btrfs raid so I was interested in seeing what kinda load the re balance did on the system over time. Turns out not much. It’s a fun tool.

        I use different tools on the several Azure environments I am part of maintaining lol.

    • @[email protected]
      link
      fedilink
      21•2 years ago

      Nice gatekeeping.

    • TankieTanuki [he/him]
      link
      fedilink
      English
      4•2 years ago

      I use it to find a process quickly and send a SIGTERM. I’m probably a noob though.

      • @[email protected]
        link
        fedilink
        2•2 years ago

        Why not top? pkill? killall? These tools are usually installed by default.

        • TankieTanuki [he/him]
          link
          fedilink
          English
          2•2 years ago

          Why not indeed.

    • @[email protected]
      link
      fedilink
      1•2 years ago

      It is, for them.

  • WuTang
    link
    fedilink
    English
    2•2 years ago

    why ? Why do you feel the need to have process monitoring displayed all the time?

    • Trailblazing Braille Taser
      link
      fedilink
      6•2 years ago

      It’s a tool. It’s useful to figure out if something you’re running is IO-bound or CPU-bound. It also shows per-core load, which is useful for visualizing multi-threaded performance.

    • caseyweederman
      link
      fedilink
      6•2 years ago

      You can sort and filter it.

      More generally, are you questioning why the Top category of tools exists?

      • WuTang
        link
        fedilink
        English
        10•2 years ago

        no, I am questioning why do you have those open all the time. in 17y, I never had to. This is just ASCII pr0n to look “deep” .

        • @[email protected]
          link
          fedilink
          1•2 years ago

          You are right, they aren’t open all the time except in screenshots. :)

        • @[email protected]
          link
          fedilink
          6•2 years ago

          I have it open all the time, exactly for this reason. 15 years and going.

          • caseyweederman
            link
            fedilink
            1•2 years ago

            Haha, to look deep? Same here.

            • @[email protected]
              link
              fedilink
              2•2 years ago

              As you gaze into the btop, the btop gazes into you

    • @[email protected]OP
      link
      fedilink
      2•2 years ago

      If you press P you can get rid of them

  • Lampros Liontos
    link
    fedilink
    3•2 years ago

    @zShxck

    It’s very attractive, but it also seems to have a minimum window size requirement that exceeds the “stack” in my “master and stack.”

    It’s great to use if you need a dashboard to track issues, but for a quick look at running processes, I think I’ll stick with htop.

[email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 46 users / day
  • 563 users / week
  • 1.72K users / month
  • 5.85K users / 6 months
  • 3 subscribers
  • 7.91K Posts
  • 203K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • @[email protected]
  • Arthur Besse
  • Cyclohexane
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org