←back to thread

CPU-X: CPU-Z for Linux

(thetumultuousunicornofdarkness.github.io)
170 points nateb2022 | 10 comments | | HN request time: 0.8s | source | bottom
1. mmh0000 ◴[] No.44492320[source]
[flagged]
replies(5): >>44492393 #>>44492464 #>>44492651 #>>44492668 #>>44496566 #
2. jcelerier ◴[] No.44492393[source]
When I type all that (if I type them correctly, I do a lot of mistakes so I need simple icons to click sometimes), it really doesn't look like CPU-Z in my terminal, I wonder what I'm doing wrong?
replies(1): >>44492522 #
3. petabyt ◴[] No.44492464[source]
This tool does benchmarks and lists vulkan/opengl capabilities. It's a bit more than a glorified command line frontend.
replies(1): >>44492548 #
4. Brian_K_White ◴[] No.44492522[source]
Those commands do provide the information. They never claimed it exactly matches the graphical layout.

And I don't think they are even claiming that a graphical presentation of the same info is necessarily wrong or pointless, they are simply saying, that's a lot of c++ for merely wrapping the text in some gui widgets.

It's a fair observation.

I can imagine generating say an html rendition that looks almost the same in a few k of shell. Maybe there's more to it and it wouldn't be so simple, but that is what it looks like.

replies(1): >>44492585 #
5. Brian_K_White ◴[] No.44492548[source]
There are similar commands for those. It is exactly a bit more than a front end.
6. jcelerier ◴[] No.44492585{3}[source]
> Those commands do provide the information. They never claimed it exactly matches the graphical layout.

but that's the thing, the target audience for "CPU-Z for Linux" is not people who want the information (because if you do it's of course trivial to google and find out about /proc/cpuinfo), it's people who want to use a software which is as close as possible to the original CPU-Z (so HTML layout definitely does not cut it either).

> I can imagine generating say an html rendition that looks almost the same in a few k of shell.

considering that the source code assumes that dmidecode won't be present (it embeds it) I doubt you'd reimplement the whole dmidecode in only a few k lines of shell. And that's just a small part of what CPU-X does.

7. izacus ◴[] No.44492651[source]
This is absolutely "Who cares about Dropbox, just use rsync!" level of silly and lazy HN answer :D
replies(1): >>44493083 #
8. ◴[] No.44492668[source]
9. ◴[] No.44493083[source]
10. tomhow ◴[] No.44496566[source]
Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

https://news.ycombinator.com/newsguidelines.html