CPU usage with iostat

2010-11-26 Thread Bruno Galindro da Costa
e since system startup (boot). Each subsequent report contains statistics collected during the interval since the previous report."* *Why it can´t build a report with the current usage values at the first execution?* -- Att. Bruno Galindro da Costa bruno.galin...@gmail.com http://www.thevenusproje

Bash - file line to array

2010-09-23 Thread Bruno Galindro da Costa
Hi! Is there any other method to transform lines of a file to an array variable than these bellow? ### MY FILE CONTENT # cat file [SERVER1] IP=0.0.0.0 [SERVER2] IP=0.0.0.0 ### METHOD 1 # CONF=( $(cat file) ) ### METHOD 2 # CONF=( $(-- users mailing list users@lists.fedoraproj

Re: Build bash 3.2 rpm package

2010-09-23 Thread Bruno Galindro da Costa
ake[1]: *** [readline.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/bash-3.2/lib/readline' make: *** [lib/readline/libreadline.a] Error 1 I´m using Red Hat Enterprise Linux ES release 4 (Nahant Update 5). Do you know how can I fix it? Chris, Thank you too!! 2010/9/23 Sam

Re: Build bash 3.2 rpm package

2010-09-23 Thread Bruno Galindro da Costa
n /usr/src/redhat/SOURCES/ directory and try to do a rpmbuild -ba /usr/src/redhat/SPECS/bash.spec, could it work? 2010/9/23 Sam Varshavchik > Bruno Galindro da Costa writes: > > Hi, >> >>How can I buid a rpm packge from bash 3.2 source ? >>I need to use rpmbuil

Build bash 3.2 rpm package

2010-09-23 Thread Bruno Galindro da Costa
Hi, How can I buid a rpm packge from bash 3.2 source ? I need to use rpmbuild or bash have a "make rpm" directive (like drbd -> http://www.drbd.org/users-guide/s-build-rpm.html) ? I´ve downloaded bash source from http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz -- Att. Brun