Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
zShxck ( zShxck@lemmy.ml )  to Linux@lemmy.ml · 3 years ago

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

lemmy.ml

message-square
68
link
fedilink
325

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

lemmy.ml

zShxck ( zShxck@lemmy.ml )  to Linux@lemmy.ml · 3 years ago
message-square
68
link
fedilink
alert-triangle
You must log in or # to comment.
  • hexloc ( hexloc@feddit.nl ) 
    link
    fedilink
    arrow-up
    20
    ·
    3 years ago

    That basically looks like every hollywood movie in existence

    • jherazob ( jherazob@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 years ago

      Nope, for that use this one, which is also in Debian-based distros and Docker

    • Catsrules ( Catsrules@lemmy.ml ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Clearly OP Is hacking the Matrix.

  • unalivejoy ( joyjoy@lemm.ee ) 
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 years ago

    Ooh, it looks even better than gtop.

    Edit: Why does the menu look like this?

    • TheButtonJustSpins ( TheButtonJustSpins@infosec.pub ) 
      link
      fedilink
      English
      arrow-up
      46
      ·
      3 years ago

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

      • 𝙣𝙪𝙠𝙚 ( nuke@yah.lol ) 
        link
        fedilink
        English
        arrow-up
        11
        ·
        3 years ago

        Say no more, I’m sold

    • Rikj000 ( Rikj000@discuss.tchncs.de ) 
      link
      fedilink
      English
      arrow-up
      9
      ·
      3 years ago

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

      • aport ( aport@programming.dev ) 
        link
        fedilink
        arrow-up
        15
        ·
        3 years ago

        Uh oh, time to rewrite it in rust

        • teawrecks ( teawrecks@sopuli.xyz ) 
          link
          fedilink
          arrow-up
          7
          ·
          3 years ago

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

        • teawrecks ( teawrecks@sopuli.xyz ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          deleted by creator

        • gbin ( gbin@lemmy.ca ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 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.

    • Beej Jorgensen ( beejjorgensen@lemmy.sdf.org ) 
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Nostalgia city…

    • zShxck ( zShxck@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      2
      ·
      3 years ago

      Jeez, never saw that, mine just open the program

  • Thurstylark ( thurstylark@lemm.ee ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

    Pro tip: configure a font that doesn’t show open circles for unused braille characters to have a higher priority than your current font to get better-looking graphs.

    On my system, braille characters are provided by DejaVu Serif, and it was as easy as just installing the font.

    • zShxck ( zShxck@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      Where do you see open circles? I don’t understand sorry

      • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        I think they mean the variable width of the graph’s columns. If you watch it as the graph moves, there are gaps at every 2 columns.

        I don’t understand though the thing about font priorities.
        And also, would that just change all fonts? Unless you mod the font to only have the braille characters…

      • Thurstylark ( thurstylark@lemm.ee ) 
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 years ago

        No, you’ve got it set up right. Many people will have graphs where each character rectangle has open circles for the unused braile dots in the character block.

        Here’s an example.

    • PlexSheep ( PlexSheep@feddit.de ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Stop has a block mode, I just use that. Stop is so fancy I love it

  • deadcatbounce ( deadcatbounce@reddthat.com ) 
    link
    fedilink
    arrow-up
    11
    ·
    3 years ago

    Does noone use glances anymore?

    • Marud ( lemmymarud@lemmy.marud.fr ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      I do.

  • Jo Miran ( JoMiran@lemmy.ml ) 
    link
    fedilink
    arrow-up
    7
    ·
    3 years ago

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

    • nanook ( nanook@friendica.eskimo.com ) BannedBanned from community
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Removed by mod

  • bizdelnick ( bizdelnick@lemmy.ml ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

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

    • BestBouclettes ( BestBouclettes@jlai.lu ) 
      link
      fedilink
      arrow-up
      12
      ·
      3 years ago

      Nice gatekeeping.

    • pokexpert30 ( pokexpert30@lemmy.pussthecat.org ) 
      link
      fedilink
      arrow-up
      11
      ·
      3 years ago

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

      • Papamousse ( Frederic@beehaw.org ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

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

        • dmrzl ( dmrzl@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 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…

        • bizdelnick ( bizdelnick@lemmy.ml ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          Just type k to kill.

    • Aatube ( Aatube@kbin.social ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

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

      • bizdelnick ( bizdelnick@lemmy.ml ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

        Aren’t top or pgrep enough for that?

        • Aatube ( Aatube@kbin.social ) 
          link
          fedilink
          arrow-up
          5
          ·
          3 years ago

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

          • bizdelnick ( bizdelnick@lemmy.ml ) 
            link
            fedilink
            arrow-up
            1
            ·
            3 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 ( Aatube@kbin.social ) 
              link
              fedilink
              arrow-up
              1
              ·
              3 years ago

              Do these programs not work over SSH?

              • bizdelnick ( bizdelnick@lemmy.ml ) 
                link
                fedilink
                arrow-up
                1
                ·
                3 years ago

                Sorry, I don’t understand what you are talking about. Yes, you can run them in SSH session. No, you still need to have them installed on the remote machine to do this. And installing diagnostic tools is not only time consuming, sometimes it can be even impossible if you already get in troubles (and if you did not, why would you need them?).

                • Aatube ( Aatube@kbin.social ) 
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 years ago

                  Hmm, that’s a fair argument. I’m pretty sure new server installations can just have their default program list modified though.

    • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      It is, for them.

  • Raccoonn ( furycd001@lemmy.ml ) 
    link
    fedilink
    arrow-up
    6
    ·
    3 years ago

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

    • berg ( berg@lemm.ee ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

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

      • KᑌᔕᕼIᗩ ( Kushia@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        15
        ·
        3 years ago

        Just download more, simple.

        • milkjug ( milkjug@lemmy.wildfyre.dev ) 
          link
          fedilink
          arrow-up
          7
          ·
          3 years ago

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

        • TylerDurdenJunior ( TylerDurdenJunior@lemmy.ml ) 
          link
          fedilink
          arrow-up
          6
          ·
          3 years ago

          mount google drive as swap. RAM downloaded !!

          • KᑌᔕᕼIᗩ ( Kushia@lemmy.ml ) 
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 years ago

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

            • 𝙲𝚑𝚊𝚒𝚛𝚖𝚊𝚗 𝙼𝚎𝚘𝚠 ( ChairmanMeow@programming.dev ) 
              link
              fedilink
              arrow-up
              2
              ·
              3 years ago

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

              Already been done.

      • Raccoonn ( furycd001@lemmy.ml ) 
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 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…

        • berg ( berg@lemm.ee ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

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

      • anoklola ( anoklola@mastodon.world ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 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 ( TwinTusks@outpost.zeuslink.net ) 
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 years ago

      I only use htop to kill process when it froze.

      • Raccoonn ( furycd001@lemmy.ml ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        I just use xkill for that…

        • TwinTusks ( TwinTusks@outpost.zeuslink.net ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 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?

          • Matty_r ( Matty_r@programming.dev ) 
            link
            fedilink
            arrow-up
            4
            ·
            3 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 ( furycd001@lemmy.ml ) 
            link
            fedilink
            arrow-up
            2
            ·
            3 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…

  • El Gringo Loco ( el_gringo_loco@lemmy.one ) 
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Yeah, that looks very cool. Wish I could use it as my wallpaper or a widget in gnome

    • zShxck ( zShxck@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Open btop in the terminal, then (note the terminal window must not be in fullscreen) right click with the mouse on the top bar of the terminal window and select “Always on top”.

  • Papamousse ( Frederic@beehaw.org ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 years ago

    I’m using lcdproc on a 20x4 characters display, it’s enough to see cpu, load, mem, Network, etc

    • the_lone_wolf ( the_lone_wolf@lemmy.ml ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      Show us

      • Papamousse ( Frederic@beehaw.org ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        • not_amm ( not_amm@beehaw.org ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          Very nice

  • dan ( dan@upvote.au ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 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.

  • BrioxorMorbide ( BrioxorMorbide@lemm.ee ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 years ago

    Can it show each core’s frequency? Or is there anything other than htop that can do that?

    • tobimai ( tobimai@startrek.website ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      It does

      • BrioxorMorbide ( BrioxorMorbide@lemm.ee ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        I don’t see any option in 1.2.13, and https://github.com/aristocratos/btop/issues/190 suggests it isn’t implemented yet.

        • tobimai ( tobimai@startrek.website ) 
          link
          fedilink
          arrow-up
          1
          ·
          3 years ago

          True, i confused it with clock frequency.

  • 4am ( 4am@lemm.ee ) 
    link
    fedilink
    arrow-up
    3
    ·
    3 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 ( caseyweederman@lemmy.ca ) 
      link
      fedilink
      arrow-up
      7
      ·
      3 years ago

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

      • 4am ( 4am@lemm.ee ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

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

  • filcuk ( filcuk@lemmy.zip ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Purely on aesthetics, I find bashtop nicer, but I couldn’t get it on my server.
    I often use glances for general monitoring.

  • Lampros Liontos ( reteo@mastodon.online ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 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.

  • MonkderZweite ( MonkderZweite@feddit.ch ) 
    link
    fedilink
    arrow-up
    1
    ·
    3 years ago

    has more empty space. Can the user change that?

    • Kwdg ( Kwdg@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      You can collapse the subwindows and configure the graphs

      • MonkderZweite ( MonkderZweite@feddit.ch ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        Oh, good.

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

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: !linux@lemmy.ml

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

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 94 users / day
  • 930 users / week
  • 2.85K users / month
  • 6.38K users / 6 months
  • 1.31K local subscribers
  • 67.8K subscribers
  • 8.07K Posts
  • 108K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • nooter692 ( nooter692@lemmy.ml ) 
  • MarcellusDrum ( MarcellusDrum@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • d3Xt3r ( d3Xt3r@lemmy.nz ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code