imported>ThorstenStaerk |
imported>ThorstenStaerk |
Line 1: |
Line 1: |
− | iostat is a [[program]] that shows how many I/O operations happen in a specified timeframe.
| + | recordmydesktop is a program that allows you to [[take a video from your desktop]]. In practice, you often want to record a window only. To do this, start recordmydesktop like this: |
| + | recordmydesktop --windowid $(xwininfo | grep "Window id" | awk '{print $4;}') |
| | | |
− | = Install it =
| + | A cross will appear. Aim it at the window you want to record and click. Then the recording will start. |
− | To install iostat, install the package sysstat. For example with SUSE Linux 11.3 you [[open a console]] and enter:
| |
− | yast -i sysstat
| |
− | | |
− | = Run it =
| |
− | Just call IOstat plus the time interval in seconds:
| |
− | <pre>
| |
− | # iostat 10
| |
− | Linux 2.6.34.7-0.5-desktop (tweedleburg) 12/11/10 _x86_64_ (8 CPU)
| |
− | | |
− | avg-cpu: %user %nice %system %iowait %steal %idle
| |
− | 0.67 0.00 0.17 0.07 0.00 99.09
| |
− | | |
− | Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
| |
− | sdb 1.35 5.76 28.55 1387011 6870465
| |
− | sda 1.35 5.56 28.55 1337701 6870465
| |
− | md126 4.26 11.32 28.38 2723674 6830024
| |
− | </pre>
| |
− | You will get a new block every 10 seconds in this case.
| |
− | | |
− | Zoom in to one device, 1 second interval:
| |
− | <pre>
| |
− | # iostat -xmt 1 -d /dev/sda
| |
− | Linux 2.6.34.7-0.7-desktop (tweedleburg) 03/03/11 _x86_64_ (8 CPU)
| |
− | | |
− | 03/03/11 08:46:33
| |
− | Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
| |
− | sda 0.03 1.63 0.06 0.72 0.00 0.01 26.56 0.08 108.28 4.64 0.36
| |
− | | |
− | 03/03/11 08:46:34
| |
− | Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
| |
− | sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
| |
− | </pre>
| |
− | | |
− | = See also =
| |
− | * [[diagnostics]]
| |
− | * [[vmStAt]]
| |
Revision as of 13:23, 6 November 2015
recordmydesktop is a program that allows you to take a video from your desktop. In practice, you often want to record a window only. To do this, start recordmydesktop like this:
recordmydesktop --windowid $(xwininfo | grep "Window id" | awk '{print $4;}')
A cross will appear. Aim it at the window you want to record and click. Then the recording will start.