LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2012, 07:29 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
How to run dohell command with hackbench?


I am missing a point w.r.t the dohell command. Please point out.
Code:
anisha@linux-dopx:~/Desktop/RealTime/downloadedPages> /usr/xenomai/bin/dohell -b ~/Desktop/RealTime/downloadedPages/hackbench
/usr/xenomai/bin/dohell [ -b path ] [ -s server ] [ -p port ] [ -m mntpoint ] [ -l path | seconds ]

Generate load, using an assorted set of commands and optionnaly:
- hackbench if the path to the hackbench binary is specified with -b;
- nc to send TCP data to "server" port "port" if -s is specified (if -p
is not specified, the port 9, aka discard is used);
- dd to write data under "mntpoint" if -m is specified.

during the runtime of the LTP test if the path to the LTP installation
directory is specifed with -l or during "seconds" seconds.
Code:
anisha@linux-dopx:~/Desktop/RealTime/downloadedPages> ls
adeosPaper.pdf                                      How To Do Eveything With DD - LinuxQuestions.org_files
AnatomyOfRealTimeLinux.pdf                          How To Do Eveything With DD - LinuxQuestions.org.html
BasicsOfRealTimeLinux.html                          LifeWithAdeos.pdf
dd (Unix) - Wikipedia, the free encyclopedia_files  Makefile
dd (Unix) - Wikipedia, the free encyclopedia.html   mythsAndFactsRT.pdf
FAQsXenomai.html                                    NativeAPITour.pdf
hackbench                                           resourceKernel
hackbench.c                                         RTAI_User_Manual_34_03 (1).pdf
history.pdf                                         xeno-test
anisha@linux-dopx:~/Desktop/RealTime/downloadedPages>
Code:
anisha@linux-dopx:~/Desktop/RealTime/downloadedPages> file hackbench
hackbench: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped

Last edited by Aquarius_Girl; 04-17-2012 at 07:33 AM.
 
Old 04-18-2012, 04:28 AM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Specifying the time duration (in the form of seconds) as the last parameter is a must for xeno-test to run, but

Code:
xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100  process 100 14400"
still doesn't give desired outputs. The problem is in the "parameters" specified with hackbench.
The sub dohell command (with hackbench parameters) works well (individually), but it doesn't work when attached with xeno-test.

I removed the hackbench's parameters ("-pipe 100 process 100"), then it started working with xeno-test.

The following works:
Code:
xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench 14400"
https://mail.gna.org/public/xenomai-.../msg00073.html
https://mail.gna.org/public/xenomai-.../msg00074.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run linux command from a different user from a jsp page which is run by tomcat etika Linux - Newbie 2 04-27-2011 11:53 AM
Bash Command Line Editor, while typing run another command before executing current? gumaheru Linux - General 5 04-13-2010 11:21 AM
Is command line invocation of gnome-terminal to run more than one command possible? narnie Programming 4 02-17-2010 10:39 PM
How to enter graphical mode (run level 5) command line (run lenel 3) edmondgyampoh Linux - Newbie 3 05-15-2009 06:33 PM
trying to fix xwindows or just run command line... changing run levels dave247 Debian 2 11-18-2008 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration