Welcome to the Linux Foundation Forum!

uname command output

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.

Comments

  • atreyu
    atreyu Posts: 216
    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
    
  • 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.
  • atreyu
    atreyu Posts: 216
    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
    

Categories

Upcoming Training