[ale] Procinfo

Jim Kinney jim.kinney at gmail.com
Sat Feb 12 15:28:46 EST 2011


Uname wont work for unknown arch. Default boot with i386 and probe hardware
for capabilities. Uname shown running kernel data not hardware capability.
Procinfo grep flags lm
On Feb 12, 2011 3:25 PM, "Michael B. Trausch" <mike at trausch.us> wrote:
> On Sat, 2011-02-12 at 14:55 -0500, scott mcbrien wrote:
>> procinfo collects some data in /proc and displays it to stdout. What
>> about looking at /proc/cpuinfo or uname -p?
>
> uname -a will work.
>
> uname -p has never been implemented in GNU coreutils. Only a small
> handful of distributions have implemented -p based on patches from the
> Gentoo project, if memory serves. Debian and Ubuntu are not in that
> list.
>
> That said, if uname -p did work as advertised, it wouldn't help much.
> uname -a (for architecture) will identify the architecture of the
> presently running system; it'll report iX86 (replace X with 3, 4, 5, or
> 6) or x86_64 depending on what's really running.
>
> Possibly also noteworthy: uname -a can be fooled by programs that play
> with "personalities" on Linux. QEMU's foreign architecture linux-binary
> executor (not the full-blown emulator itself) and linux32 both employ
> such trickery when running binaries not quite intended to be run on the
> system they're being run on.
>
> --- Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110212/8b16d282/attachment-0001.html 


More information about the Ale mailing list