* uname
@ 2000-11-23 0:01 J . A . Magallon
2000-11-23 0:21 ` uname David Schwartz
2000-11-23 0:21 ` uname Alex Belits
0 siblings, 2 replies; 3+ messages in thread
From: J . A . Magallon @ 2000-11-23 0:01 UTC (permalink / raw)
To: Linux Kernel List
Hi everyone.
Little question about 'uname'. Does it read data from kernel, /proc or
get its data from other source ?
uname info page:
$ uname -a
Linux hayley 1.0.4 #3 Thu May 12 18:06:34 1994 i486
my system:
uname -a
Linux werewolf 2.2.18-pre23-vm #3 SMP Wed Nov 22 22:33:53 CET 2000 i686 unknown
uname -m (machine)
i686
uname -p (processor)
unknown
Seems like swapping machine-processor.
Perhaps it can be changed to uname -m give the info in get_cpu_vendor(),
and uname -p give the ix86.
Or if some utility relays on uname -m being ix86, make uname -p give cpu_vendor+
cpu_model.
--
Juan Antonio Magallon Lacarta #> cd /pub
mailto:jamagallon@able.es #> more beer
Linux 2.2.18-pre23-vm #3 SMP Wed Nov 22 22:33:53 CET 2000 i686 unknown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: uname
2000-11-23 0:01 uname J . A . Magallon
@ 2000-11-23 0:21 ` David Schwartz
2000-11-23 0:21 ` uname Alex Belits
1 sibling, 0 replies; 3+ messages in thread
From: David Schwartz @ 2000-11-23 0:21 UTC (permalink / raw)
To: jamagallon, Linux Kernel List
> Little question about 'uname'. Does it read data from kernel, /proc or
> get its data from other source ?
'strace' was made to answer questions like this.
DS
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: uname
2000-11-23 0:01 uname J . A . Magallon
2000-11-23 0:21 ` uname David Schwartz
@ 2000-11-23 0:21 ` Alex Belits
1 sibling, 0 replies; 3+ messages in thread
From: Alex Belits @ 2000-11-23 0:21 UTC (permalink / raw)
To: J . A . Magallon; +Cc: Linux Kernel List
On Thu, 23 Nov 2000, J . A . Magallon wrote:
> Little question about 'uname'. Does it read data from kernel, /proc or
> get its data from other source ?
uname(1) utility calls uname(2) syscall.
--
Alex
----------------------------------------------------------------------
Excellent.. now give users the option to cut your hair you hippie!
-- Anonymous Coward
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-23 0:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-23 0:01 uname J . A . Magallon
2000-11-23 0:21 ` uname David Schwartz
2000-11-23 0:21 ` uname Alex Belits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®