Hello,

I�m running Red Hat 6.1 Linux on a Pentium III machine, with the kernel
2.2.12-20.

First thing is that it seems the manual page (1) for uname does not
correspond with the uname system call.
p.e. I am not able to use the --help option, or the --version option
since usage message appears.

Well, if I execute uname -a from the shell the system response is:

Linux odin.cadt.es 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686
7fc15835 [domain] none)

I must say that in an older computer (a Pentium II Machine I think) with
the same Redhat and kernel the response is:

Linux aladin 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown

If I use �uname -i� the response in the first case is:

7fc15835

and in the second:

uname: invalid option -- i. Then, when in the second computer I execute
uname --version it shows the following:

uname (GNU sh-utils) 2.0
Written by David MacKenzie.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


What version of uname I have on the Pentium III Machine? I think both
had the same installation method.

I know that on HP-UX  systems, -i option refers to the idnumber of the
HP-UX Workstation processor and the 7fc15835 string on the PC really
seems this, but from the Pentium III (with the strange uname system
call) when I try to retrieve this idnumber with the C function �uname� I
find that the utsname struct does not have a idnumber field like in
HP-UX.  I�m very interested in how to know the processor idnumber from C
if it exists for a PC.

Can I upgrade any package to solve this?

Thanks in advance.


--
Pascual Castellon
Programming Department

mailto: [EMAIL PROTECTED]
http://www.cadt.com



Reply via email to