Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
hi guys, am really new to linux, but i like the command line challenge i would like help on getting system info like amount of RAM, HDD size, System Serial ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Location
    Kampala - Uganda
    Posts
    7

    getting system info


    hi guys,
    am really new to linux, but i like the command line challenge i would like help on getting system info like amount of RAM, HDD size, System Serial etc from the CLI. i am currently using Ubuntu Desktop 12.10.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    Hi and welcome

    use these
    Code:
    cat /proc/meminfo
    parted -l
    dmidecode
    If parted should not be available, install it via
    Code:
    apt-get install parted
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Location
    Kampala - Uganda
    Posts
    7
    thanks Irithori, i have just run the commands and i think am getting somewhere

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    yw.
    Out of curiosity. Is this for adhoc use or do you want to further process this information for e.g. inventory purposes?
    You must always face the curtain with a bow.

  6. #5
    Just Joined!
    Join Date
    Feb 2013
    Location
    Kampala - Uganda
    Posts
    7
    I use a lot of linux live cds to troubleshoot windows machines, I like to use CLI because it is faster and does not lie. i would like to improve my Linux CLI skills to do my work.

  7. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,410
    Ah ok.
    Then yes, the above commands should be useful.
    You might also want to try
    Code:
    lspci
    lspci -v
    lsusb
    lshw
    You must always face the curtain with a bow.

  8. #7
    Just Joined!
    Join Date
    Feb 2013
    Location
    Kampala - Uganda
    Posts
    7
    Quote Originally Posted by Irithori View Post
    Ah ok.
    Then yes, the above commands should be useful.
    You might also want to try
    Code:
    lspci
    lspci -v
    lsusb
    lshw
    Thanks alot this lshw is what i exactly what i needed thanx again.

  9. #8
    Just Joined!
    Join Date
    Nov 2011
    Posts
    9
    I occasionally find dmesg to be very helpful.

  10. #9
    Just Joined!
    Join Date
    Feb 2013
    Location
    Kampala - Uganda
    Posts
    7

    Red face

    Quote Originally Posted by grendel42 View Post
    I occasionally find dmesg to be very helpful.
    thanks, though it's alotta detail quite hard to pick out what u want, i will go with lshw

  11. #10
    Linux User jkwilborn's Avatar
    Join Date
    Nov 2012
    Posts
    278
    One of the nice things about Linux is the availability of items. Keep in mind that some just read a configuration file and others actually check the hardware. I am still learning what does what, but as a fore-instance, try using the -kvv (that's k v v, all together, looks like a w here) if you read the man page on it you'll see that some programs give you the verbose output, but will give you a verbose verbose output with more information. Also, -knn options. Try them and see..

    Also, there is 'lsusb' and always look at the end, where they have other items that may be of interest. If you do a man on lsusb, you'll see viewusb which gives you info on USB devices and configuration. There are lots of these around wish I had a list!

    Good luck, we are lucky that we have access to the people who use this board for information...

    If you find that the command isn't available, try to use the man pages. If not there it may not be installed, so try the
    [CODE]apt-get install package_name]/CODE]
    or look it up on the package list, such as the Debian site.

    Jack

Page 1 of 2 1 2 LastLast

Posting Permissions

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