Find the answer to your Linux question:
Results 1 to 4 of 4
I am trying to compile some thing on a remote machine, need to know following infomation: 1. machine: 2. CPU type: 3. Operation system: 4. Fortran compiler: 5. C compiler: ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    4

    how to find out such info of a remote machine

    I am trying to compile some thing on a remote machine, need to know following infomation:
    1. machine:
    2. CPU type:
    3. Operation system:
    4. Fortran compiler:
    5. C compiler:

    Where do I look?

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Do you have ssh access to the remote machine?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    4
    Quote Originally Posted by Lakshmipathi View Post
    Do you have ssh access to the remote machine?
    yes, I can ssh to it. Now I know I can do "uname" with options to see the cpu and machine type. Just wondering how to know which fortran compiler it has. THanks

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    I use following to get system info
    echo ""
    echo "## Global PCI Information ##"
    lspci -v

    echo ""
    echo "## Kernel Version ##"
    uname -a

    echo ""
    echo "## Loaded Modules ##"
    lsmod

    echo ""
    echo "## CPU Info ##"
    cat /proc/cpuinfo

    echo ""
    echo "## Physical Disk Information ##"
    fdisk -l

    echo ""
    echo "## Disk Size Information ##"
    df -h

    echo ""
    echo "## Mount Information"
    mount

    echo ""
    echo "## Network Interface Information ##"
    ifconfig -a

    echo ""
    echo "## OS Version ##"
    cat /proc/version

    echo ""
    echo "## OS Type ##"
    [ -r /etc/debian_version ] && {
    echo "Debian"
    cat /etc/debian_version
    }

    echo ""
    [ -r /etc/SuSE-release ] && {
    echo "SUSE"
    cat /etc/SuSE-release
    }

    echo ""
    [ -r /etc/redhat-release ] && {
    echo "RedHat|CentOS|Fedora"
    cat /etc/redhat-release
    }

    echo ""
    [ -r /etc/slackware-version ] && {
    echo "Slackware"
    cat /etc/slackware-version
    }

    echo ""
    [ -r /etc/lsb-release ] && {
    echo "Ubuntu"
    cat /etc/lsb-release
    }
    Fortran complier ? I never used it .. Do you know the complier name ? if so
    then search it like

    whereis fortran_complier_name

    and then run

    fortran_complier_name --version

    Most likely that should work
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...