Hacker News
Explanation of everything you can see in htop/top on Linux (2019)
imrehg
|next
[-]
As others mention it - it seems to shows the Watts used as well :) (and network, and GPU, and disks,....)
AnotherGoodName
|next
|previous
[-]
There's actually guides out there on the web that tell people judge usage by virtual memory allocated too :(. At least this article gets it right :).
jltsiren
|root
|parent
[-]
cogman10
|next
|previous
[-]
1. I disable user threads. Those mostly just clutter up the htop view while providing no useful information.
2. I enable the process tree view. Very frequently, where a process comes from is much more important than other information. It also lets you see and track things like a compiler process which is eating through a bunch of files.
IMO, both these things should be the default behavior of htop.
WD-42
|next
|previous
[-]
thijson
|next
|previous
[-]
fractorial
|next
|previous
[-]
zepearl
|next
|previous
[-]
https://nmon.sourceforge.io/pmwiki.php
Especially disk throughput and I/O (keys "d" & "D") can be very useful.
wyclif
|next
|previous
[-]
TheChaplain
|next
|previous
[-]
I use htop often but pretty much only use it to find pid or cpu-culprits, and never really understood the rest.
amelius
|next
|previous
[-]
amelius
|previous
[-]
FpUser
|root
|parent
|next
[-]
amelius
|root
|parent
[-]
What good does it do to stick your head in the sand?
CPUs are great for orchestrating work, GPUs are great for actually doing the work.
goodmythical
|root
|parent
|next
[-]
Right, and wouldn't it be really nice if we could check on our orchestrators to make sure their not bottlenecking ops?
"How come we can fully load the GPUs?" "Idk boss, amelius said htop et al were irrelevant so we can't really investigate"
sevg
|root
|parent
|previous
[-]
If you’re a 3D rendering designer, an ML engineer or a crypto bro, then sure.
Here are the common workloads (for the average SWE on HN) that use CPU/RAM:
- compilation/builds
- language servers and IDEs
- test suites
- local containers
- local databases
- node tooling
- browsers
- data processing
- compression and encryption
- searching/indexing
Ok sure, top/htop is totally irrelevant now /s