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

Asked by Ananta Paudel

 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:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.