Unix/Linux command help?

What unix commands would you type to find out:

1. Operating System? (ie linux...)

2. Amount of Memory

3. Type of Hardware (opteron, intel, etc...)

4. #cpus

Thanks!

4 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    1. uname -a

    2. df -h (for hard drive space)

    free -m (shows amount of RAM remaining)

    grep MemTotal /proc/meminfo (total amount of RAM)

    3. grep "model name" /proc/cpuinfo

    lspci (shows things plugged into pci)

    lsusb (shows connected usb devices)

    4. grep "model name" /proc/cpuinfo

    • Login to reply the answers
  • 1 decade ago

    check uname and all its attributes. It should provide you with all the answers.

    my system

    Server1 > uname -X

    System = SunOS

    Node = Server1

    Release = 5.8

    KernelID = Generic_108528-27

    Machine = sun4u

    BusType = <unknown>

    Serial = <unknown>

    Users = <unknown>

    OEM# = 0

    Origin# = 1

    NumCPU = 2

    • Login to reply the answers
  • sander
    Lv 4
    3 years ago

    possibly they're speaking approximately how instructions are frequently typed... in many cases you will in simple terms type a command, then put in any thoughts you % to apply, in many cases preceded via a splash ("-").

    • Login to reply the answers
  • Anonymous
    1 decade ago

    df -h will let you know how much hardspace you have

    • Login to reply the answers
Still have questions? Get your answers by asking now.