Monitoring System Load: Difference between revisions
Jump to navigation
Jump to search
Crazy-chris (talk | contribs) m (→pw.py: + pw.py installation) |
m (Reverted edits by 174.140.167.111 (Talk) to last revision by Crazy-chris) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
** [http://htop.sourceforge.net/ htop] .. is a more detailed, flexible, colorful version of top |
** [http://htop.sourceforge.net/ htop] .. is a more detailed, flexible, colorful version of top |
||
* Monitor a single process |
* Monitor a single process |
||
** pw.py .. a tool originating from [http://www |
** pw.py .. a tool originating from [http://www.linuxuser.at linuxuser.at] |
||
Latest revision as of 03:48, 6 January 2011
About
- Resources are limited: the less load an activity needs, the better!
- Best time to start monitoring the system load is during development; it's easy!
- Pygame best-practices are shown Game development HOWTO here and discussed here
Tools
- Monitoring System Load
- Monitor a single process
- pw.py .. a tool originating from linuxuser.at
htop
installation:
$ su # yum install htop
htop reacts on mouse-clicks - especially useful since the f-keys for the options are not working on the xo.
Process view: | XO-friendly setup: |
pw.py
- is a free and simple tool to monitor a single process with its cpu and memory load. Project page
- Installation (via xo-get):
xo-get install pw
- Usage:
pw process_id / name / part_of_name
- Examples:
1. 'pw fire' ... possibly capture firefox 2. 'pw 8285' ... watch process with pid 8285 3. 'pw pw.py' .. watch last pw.py
- Screenshots:
Monitoring Firefox: | GTK Graph (mem=grey, cpu=white): | |
Capturing the Journal: | Another Graph on the xo: |