Wednesday, July 9, 2014

convert pdf to doc



like to convert a pdf to doc ?

use https://cloudconvert.org/pdf-to-doc from google docs.

go to google docs.
add additional plugin as cloudconvert.
choose the document and convert . thats it.

Sunday, June 1, 2014


measure io performance using iometer :

http://www.linuxintro.org/wiki/Iometer

Fedora 16 x32

  • install wget
  • download IOMeter
cd
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006_07_27.linux.i386-bin.tgz
  • unpack it
cd
tar xvzf iometer-2006_07_27.linux.i386-bin.tgz
  • start the dynamo backend
cd iometer-2006_07_27.linux.i386-bin/src
./dynamo &
  • install wine
yum install wine
confirm with y when asked
  • download IOMeter from Sourceforge
cd
wget http://downloads.sourceforge.net/project/iometer/iometer-stable/2006-07-27/iometer-2006.07.27.win32.i386-setup.exe
  • install IOMeter:
cd
wine iometer-2006.07.27.win32.i386-setup.exe
  • start IOMeter:
cd
cd ".wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27"
wine Iometer.exe

Use Iometer

  • delete all workers but one by clicking onto "Disconnect Selected Worker or Manager"
  • select "Access Specifications" -> 512B; 100% Read; 0% random -> Add
  • select "Disk Targets" -> Maximum Disk Size -> 5000 Sectors
  • select a target. In this example, let's just choose sdh.
  • select Test Setup -> Run Time -> 2 Seconds
  • click on "Start Tests"
  • as file name, enter example -> Ok
  • find your data at ~/.wine/drive_c/Program Files/Iometer.org/Iometer 2006.07.27/example.csv
  • or click on "Results Display":
"Results Display" under IOMeter.

Tuesday, May 13, 2014

qemu build fix


unable to build qemu due to this error :??



./configure ;
Disabling libtool due to broken toolchain support

ERROR: DTC (libfdt) not present. Your options:
         (1) Preferred: Install the DTC (libfdt) devel package
         (2) Fetch the DTC submodule, using:
             git submodule update --init dtc




So, just do this before configure
git submodule update --init dtc 

Monday, April 28, 2014

ltp individual test case running


To run ltp individual test case, use this:

[root@localhost ltp]# pwd
/opt/ltp
[root@localhost ltp]# ./runltp -s memcg_regression 
[root@localhost ltp]# 

This will get results and logs saved.


Here I have selected one entry from runtest/controllers., select accordingly from 
runtest/testcases/

Sunday, April 13, 2014

bonnie++ Can't open file


While running bonnie++ , you may face this error :


# ./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u username
Using uid:1000, gid:1000.
Can't open file ./Bonnie.3497.000

You need to add -u root:root , to the command line like :

./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u root:root



Caveat:
Please note running as root is not recommended. So, ensure you try this only on a test system.

As per man page:

       -u     user-id to use.  When running as root specify the UID to use for
              the  tests.   It is not recommended to use root (since the occa‐
              sion when a Bonnie++ bug wiped out someone's system), so if  you
              really  want  to run as root then use -u root.  Also if you want
              to specify the group to run as then use the  user:group  format.
              If  you  specify  a  user  by name but no group then the primary
              group of that user will be chosen.  If you  specify  a  user  by
              number and no group then the group will be nogroup.