Is it possible to generate a logfile of parameters displayed on gnome-system-monitor

Asked by Ananta Paudel on 2012-08-16

 Is it possible to generate a logfile of parameters displayed on gnome-system-monitor

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-system-monitor Edit question
Assignee:
No assignee Edit question
Last query:
2012-08-16
Last reply:
2012-08-17

You can get the free space with:

df -h

You can get the release, kernel and architecture with:

lsb_release -a; uname -a

You can get the CPU with:

cat /proc/cpuinfo | grep model | grep name

and total system RAM with:

echo `free -m | grep -i mem | awk {'print $2'}`Mb

You can see the CPU use with:

echo `top -n 1 | grep %C | grep -v PID | awk {'print $2'}`%

You can see the processes running with:

ps -ef

Can you help with this problem?

Provide an answer of your own, or ask Ananta Paudel for more information if necessary.

To post a message you must log in.