Wednesday, 23 May 2012

linux startup script for xvfb

this post has been moved to:
http://www.cliip.net/technology/linux-startup-script-xvfb

ffmpeg 0.6.5 dependiences (rpms) on Centos / Redhat

master package:
ffmpeg-0.6.5-1.el6.rf.x86_64.rpm

dependiences:
ffmpeg-libpostproc-0.6.5-1.el6.rf.x86_64.rpm
a52dec-0.7.4-8.el6.rf.x86_64.rpm
cppunit-1.12.1-3.1.el6.x86_64.rpm
dirac-1.0.2-1.el6.rf.x86_64.rpm
faac-1.26-1.el6.rf.x86_64.rpm
lame-3.99.5-1.el6.rf.x86_64.rpm
libdca-0.0.5-1.el6.rf.x86_64.rpm
librtmp-2.3-1.el6.rf.x86_64.rpm
libva-1.0.6-1.el6.rf.x86_64.rpm
opencore-amr-0.1.2-1.el6.rf.x86_64.rpm
orc-0.4.11-1.el6.rf.x86_64.rpm
schroedinger-1.0.10-1.el6.rf.x86_64.rpm
x264-0.0.0-0.4.20101111.el6.rf.x86_64.rpm

Thursday, 17 May 2012

Thursday, 3 May 2012

Linux SAR - Collect, report, or save system activity information

The sar command writes to standard output the contents of selected cumulative activity counters in the operating system. The accounting system, based on the values in the count and interval parameters, writes information the specified number of times spaced  at  the specified  intervals in seconds.

example output of sar command:

# sar

Linux 2.6.18-164.11.1.el5 (hostname)  05/03/2012
12:00:01 AM       CPU     %user     %nice   %system   %iowait    %steal     %idle
12:10:01 AM       all      0.16      0.00      0.30      0.01      0.00     99.54
12:20:01 AM       all      0.19      0.00      0.41      0.00      0.00     99.40
12:30:01 AM       all      0.26      0.00      0.29      0.01      0.00     99.44
12:40:01 AM       all      0.13      0.00      0.26      0.00      0.00     99.61
12:50:01 AM       all      0.13      0.00      0.26      0.00      0.00     99.61
01:00:01 AM       all      0.17      0.00      0.27      0.00      0.00     99.56
01:10:01 AM       all      0.89      0.00      0.34      0.00      0.00     98.77
01:20:01 AM       all      0.17      0.00      0.26      0.00      0.00     99.57
01:30:01 AM       all      0.14      0.00      0.26      0.00      0.00     99.59
[...]
09:00:01 AM       all      0.67      0.00      0.30      0.01      0.00     99.01
09:10:01 AM       all      0.38      0.00      0.28      0.02      0.00     99.32
09:20:01 AM       all      0.34      0.00      0.28      0.00      0.00     99.37
09:30:01 AM       all      0.42      0.00      0.32      0.01      0.00     99.25
09:40:01 AM       all      2.21      0.00      0.52      0.03      0.00     97.24

-f parameter can be used to view archived stats. Logs are stored (by default) in /var/log/sa/

example:
# sar -f /var/log/sa/sa31

will shows content of log file from 31th day of last month.