Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To give you an idea of what I am looking to, for example, I have a gsm modem connected to a serial port of my machine. I can run a program called minicom and be able to directly communicate with the firmware in the modem using the at command set. Here's an example of me communicating with that modem on my ubuntu server:

Enfora, Inc.

Enabler-II G Modem


I can get all kinds of information by using at commands and most importantly I can check the status of the modem right from the terminal without going physically to the location and having to run something like memtest. I have my servers remotely, so I would like to find an equivalent program of minicom on ubuntu that will allow me to check the status of my hard drives and my RAM (since these are two critical components to my system). What are the best programs on ubuntu for doing diagnostics and interacting with the hard drive and RAM from terminal?

share|improve this question

Using the terminal, you can get all kinds of good information from the /proc/ directory.

Using the command:

awk '/MemTotal/{print $2}' /proc/meminfo

You can extract memory totals.

Using similar methods, you can parse the /proc/diskstats file.

I do not have a one size fits all command line tool for you, but hopefully, this helps you on your way to figuring out a solution to your issue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.