this post was submitted on 26 Apr 2025
367 points (98.7% liked)

linuxmemes

24652 readers
1001 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     

    Or is it only me?

    top 36 comments
    sorted by: hot top controversial new old
    [–] grue@lemmy.world 83 points 19 hours ago

    top immediately upon starting:

    [–] TheGingerNut@lemmy.blahaj.zone 30 points 18 hours ago

    TOP averages out readings from the last few seconds. If there aren't enough samples the displayed values can be… off

    [–] Lyra_Lycan@lemmy.blahaj.zone 34 points 21 hours ago* (last edited 21 hours ago) (1 children)

    Same happens opening Windows Task Manager, my older server rig used to lock up frequently, stalling programs like Home Assistant, and the only thing I had to do to fix it was remote in and open Task Manager. CPU usage dropped to between 70% and 30%.

    This, incidentally, was why I was convinced I needed better hardware for a dedicated Proxmox rig. I was very wrong. With Windows, I can barely run three services (HA, AgentDVR, Emby) alongside their stupid NTFS scan and antivirus. With Proxmox I can run 20 services with no issue. CPU is usually 60%-70% with everything.

    [–] the_crotch@sh.itjust.works 1 points 18 hours ago

    I'm running like 18 machines inside of hyper-v and don't have that problem. Were you using a consumer version of windows or something?

    [–] DmMacniel@feddit.org 52 points 23 hours ago (1 children)

    Well it does make sense that the CPU has to work a bit when loading a new program.

    [–] sorter_plainview@lemmy.today 26 points 22 hours ago (6 children)

    All four cores at 100%? We don't see that kind of spike when we open some other application right? Is it the experience of everyone? Or am I wrong in this?

    [–] rtxn@lemmy.world 55 points 22 hours ago (1 children)

    That first data point is simply invalid. Ignore it. Monitoring software usually report some kind of statistic (mean, median, min/max, etc) taken from measurements over a period of time instead of the instantaneous value when the report is updated. But they can't do that for the first data point when the application is launched because there's no time period over which to measure it.

    [–] muntedcrocodile@lemm.ee 8 points 19 hours ago (1 children)

    Lim t->0 x/t =infinity when x>0

    [–] rtxn@lemmy.world 4 points 18 hours ago

    Math - not even once.

    [–] Colloidal@programming.dev 18 points 19 hours ago

    I paid for all the cores, I'm gonna use all the cores!

    [–] Eheran@lemmy.world 28 points 22 hours ago (1 children)

    Unless bottlenecked somewhere else, we would want to see 100 % with everything that takes more than some milliseconds.

    [–] c10l@lemmy.world 10 points 20 hours ago

    This is the real answer. Other apps might be bottlenecked by IO so the CPU doesn’t work as hard. Get faster disks, the CPU will see more use. Since top is so small that it loads into memory almost instantly, and has no need for further IO, the CPU is free to spin all the way!

    People get worked up when CPU usage is high, but unless there’s a resource leak somewhere, that just means the computer is working at full efficiency.

    [–] 30p87@feddit.org 12 points 22 hours ago (1 children)

    Top revs the engine as a test /s

    It's like when the boss walks in so everybody becomes visibly busy. Never want to look like you could be the couple pennies shaved off the budget when management bonus calculation time comes around.

    Absolutely. That's why race to idle is a thing. As soon as the CPU is fed cycles it races to complete the task as quickly as possible. When the program first launches and starts monitoring the only thing it knows is that it was just doing something. It hasn't had a change to not do something. It's now completed its race and now it's able to relax for a second and idle.

    [–] jerkface@lemmy.ca 3 points 18 hours ago

    It's going to be an artifact of the data collection method. The sample size is extremely small and taken during the period where top has never stopped running.

    [–] lena@gregtech.eu 35 points 22 hours ago (3 children)
    [–] sneezycat@sopuli.xyz 29 points 19 hours ago* (last edited 19 hours ago) (2 children)

    btop is nice and I use it sometimes; but htop, my beloved, doesn't complain about the screen size being too small. And it's more visual for me anyways.

    [–] lena@gregtech.eu 6 points 19 hours ago (2 children)

    yeah htop is useful on a phone

    btw to format inline code blocks, put a single backtick on each side of the code, like this: btop.

    [–] sneezycat@sopuli.xyz 14 points 16 hours ago (2 children)

    How dare you call my laptop a "phone" /s

    (btop on the left)

    Also, thanks for the tip, I just used voyager's formatting cause I was on my phone :'D

    [–] Matriks404@lemmy.world 5 points 14 hours ago

    That's a very nice desktop.

    [–] lena@gregtech.eu 6 points 16 hours ago

    I like the color scheme of the buttons in the top right

    [–] demunted@lemmy.ml 5 points 14 hours ago

    Can't wait for zztop

    [–] Earflap@reddthat.com 2 points 18 hours ago (1 children)
    [–] Illecors@lemmy.cafe 2 points 10 hours ago (1 children)

    It was, but it's been back for some years now

    [–] Earflap@reddthat.com 2 points 4 hours ago

    Oh neat, thanks! I didn't hear that someone took it up again.

    [–] callyral@pawb.social 5 points 18 hours ago
    [–] db0@lemmy.dbzer0.com 3 points 21 hours ago

    glances Btw

    [–] a14o@feddit.org 5 points 22 hours ago

    Same, but if you haven't aliased top to btm --battery you're not really living

    [–] Allero@lemmy.today -4 points 19 hours ago (3 children)

    You guys hate GUI, don't you?

    [–] Earflap@reddthat.com 11 points 18 hours ago* (last edited 18 hours ago) (2 children)

    No but sometimes you're in a terminal anyway and its trivial to pop open a new tab and run an arbitrary command. It isn't that we hate GUI; TUI/CLI is just objectively faster for a lot of things.

    [–] jerkface@lemmy.ca 8 points 18 hours ago (1 children)

    Sometimes you have a runaway process sucking up another gigabyte of your swap every second and you don't have a chance in hell of bringing up some kind of system management gui

    [–] jerkface@lemmy.ca 2 points 14 hours ago

    Looking at you, BattleBit.exe

    [–] Demdaru@lemmy.world 4 points 18 hours ago

    sometimes you're in terninal anyway

    Said confidently Fully Casual Personal Computational Machine Operator

    [–] slacktoid@lemmy.ml 2 points 13 hours ago

    No, but I don't see the value in using the GUI for something that can be gotten with less complexity and overhead.

    [–] jerkface@lemmy.ca -2 points 18 hours ago

    You're dyslexic, aren't you?