Linux.com

uname command output

Link to this post 31 May 09

Hi,

I am using ubuntu in my system for last one month. when i run the uname command with options i and p, it is showing unknown output. It means Ubuntu was not installed properly in my system or problem with the system hardware? I am pasting the out below. Can anyone please help me.

root@room1-desktop:/home/room1# uname -a
Linux room1-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
root@room1-desktop:/home/room1# uname -i
unknown
root@room1-desktop:/home/room1# uname -p
unknown
root@room1-desktop:/home/room1#


Thanks in advance.

Link to this post 02 Jun 09

ravi.chakram wrote:

Hi,

I am using ubuntu in my system for last one month. when i run the uname command with options i and p, it is showing unknown output. It means Ubuntu was not installed properly in my system or problem with the system hardware? I am pasting the out below. Can anyone please help me.

root@room1-desktop:/home/room1# uname -a
Linux room1-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
root@room1-desktop:/home/room1# uname -i
unknown
root@room1-desktop:/home/room1# uname -p
unknown
root@room1-desktop:/home/room1#


Thanks in advance.

sounds like an Ubuntu/kernel thing maybe...
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/111863

do these commands help?

grep name /proc/cpuinfo

arch

Link to this post 18 Jun 09

Thanks the first command gives the output, But it is showing two same entries twice. Please find the out put below.

# grep name /proc/cpuinfo
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
# arch
bash: arch: command not found
#

Can you please help me to understand why it is showing two same entries.

Link to this post 18 Jun 09

ravi.chakram wrote:

Thanks the first command gives the output, But it is showing two same entries twice. Please find the out put below.

# grep name /proc/cpuinfo
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
# arch
bash: arch: command not found
#

Can you please help me to understand why it is showing two same entries.

Because you have two CPU cores. Do this instead, to understand more fully the output:

cat /proc/cpuinfo | more

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board