News for hackers. Stuff that matters.
Re:Why is my CPU usage always 100%? by ryandrake on Monday January 13, 2025 @11:16AM (#42685063)
Recent Linux distributions are quickly catching up to Windows and macOS. Do a fresh install of your favorite distribution and then use 'ps' to look at what's running. Dozens of processes doing who knows what? They're probably not pegging your CPU at 100%, which is good, but it seems that gone are the days when you could turn on your computer and it was truly idle until you commanded it to actually do something. That's a special use case now, I suppose.
Re:Why is my CPU usage always 100%? by ndriscoll on Monday January 13, 2025 @11:55AM (#42685555)
IME on Linux the only things that use random CPU while idle are web browsers. Otherwise, there's dbus and NetworkManager and bluez and oomd and stuff, but most processes have a fraction of a second used CPU over months. If they're not using CPU, they'll presumably swap out if needed, so they're using ~nothing.
Re:Why is my CPU usage always 100%? by johnmaguire on Monday January 13, 2025 @11:56AM (#42685561)
this is why I use arch btw
Re:Why is my CPU usage always 100%? by rirze on Monday January 13, 2025 @12:15PM (#42685817)
this guy arches
Re:Why is my CPU usage always 100%? by diggan on Monday January 13, 2025 @01:04PM (#42686401)
Add Gnome3 and you can have that too! Source: me, a arch+gnome user, who recently had to turn off the search indexer as it was stuck processing countless multi-GB binary files...
Re:Why is my CPU usage always 100%? by johnisgood on Monday January 13, 2025 @02:50PM (#42688064)
Exactly, or Void, or Alpine, but I love pacman.
Re:Why is my CPU usage always 100%? by craftkiller on Monday January 13, 2025 @02:14PM (#42687423)
This is one the reasons I love FreeBSD. You boot up a fresh install of FreeBSD and there are only a couple processes running and I know what each of them does / why they are there.
Re:Why is my CPU usage always 100%? by m3047 on Monday January 13, 2025 @03:21PM (#42688563)
At least under some circumstances Linux shows (schedulable) threads as separate processes. Just be aware of that.
Re:Why is my CPU usage always 100%? by ciupicri on Monday January 13, 2025 @07:52PM (#42691939)
I recommend using systemd-cgls to get a better idea of what's going on.