Hardinfo (a GTK tool for viewing system information):
https://github.com/lpereira/hardinfo
It also includes some benchmarks which you can compare with results from other machines.
hardinfo
has a built-in limit. In your version, it only reads up to 896 bytes of each line of /proc/cpuinfo
. But some lines of the /proc/cpuinfo
on your system are longer than that. So these lines get truncated; it doesn't read them completely. As the warning says, these are probably the lines describing the flags your CPUs support. But you could just cat /proc/cpuinfo
yourself to see which lines are particularly long.
> Is there any means of making it stop saying that?
Increase that limit, as was done in this commit. Or just ignore it.
> U think it might be a bad sign ?
No.
> Corrupt files maybe?
No.
> Would debugging it help?
There's nothing to debug.
hardinfo
needs to read the /proc/cpuinfo
file. Your /proc/cpuinfo
file has long lines.
The only significance of the warning is that the developer of hardinfo
was lazy. They are using a fixed-size buffer while reading the file, and they are assuming that buffer will be "big enough" to accommodate any line in the /proc/cpuinfo
file. They are smart enough to detect that the line they were reading was too big — hence the warning you're seeing — but they didn't bother actually writing any more code than that to actually handle it properly.
Indeed, they aren't even properly skipping over the rest of the line... they would read the next part of that same line as if it were a different line in /proc/cpuinfo
. Presumably that doesn't cause further problems because they just ignore lines they do not understand.
(And if you're wondering "doesn't that code say 1024? my error message said 896", that's because they changed the buffer size — and used the wrong "old buffer size" in their commit message — in a later version of hardinfo
than that you are running.)
There are quite a few but I'll list only 2. There's lshw which works both from the command line and with a GUI. Also HardInfo, a GUI hardware system info tool that hasn't had new releases in a long time, but it's actually still developed, and Linux distributions usually provide master git builds in their repos.