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.
- 02-20-2013 #1Just 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.
- 02-20-2013 #2
Hi and welcome
use these
If parted should not be available, install it viaCode:cat /proc/meminfo parted -l dmidecode
Code:apt-get install parted
You must always face the curtain with a bow.
- 02-20-2013 #3Just Joined!
- Join Date
- Feb 2013
- Location
- Kampala - Uganda
- Posts
- 7
thanks Irithori, i have just run the commands and i think am getting somewhere
- 02-20-2013 #4
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.
- 02-20-2013 #5Just 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.
- 02-20-2013 #6
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.
- 02-20-2013 #7Just Joined!
- Join Date
- Feb 2013
- Location
- Kampala - Uganda
- Posts
- 7
- 02-21-2013 #8Just Joined!
- Join Date
- Nov 2011
- Posts
- 9
I occasionally find dmesg to be very helpful.
- 02-22-2013 #9Just Joined!
- Join Date
- Feb 2013
- Location
- Kampala - Uganda
- Posts
- 7
- 03-01-2013 #10
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


Reply With Quote

