Hackbench で dohell コマンドを実行するにはどうすればいいですか?

Hackbench で dohell コマンドを実行するにはどうすればいいですか?

私は使用法に関してポイントを見逃していますドヘルコマンド。指摘してください。

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:
[B]- hackbench if the path to the hackbench binary is specified with -b;[/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.

ディレクトリの内容:

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
[B][COLOR="red"]hackbench[/COLOR][/B]                                           resourceKernel
hackbench.c                                         RTAI_User_Manual_34_03 (1).pdf
history.pdf                                         xeno-test

ハックベンチの種類:

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

次のようにパラメータdohellを個別に試しました(正常に動作しました)。hackbenchseconds

linux-dopx:~ # /usr/xenomai/bin/dohell -b
"/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 seconds" 2
Running with 100*40 (== 4000) tasks.
Time: 2.198
/usr/xenomai/bin/dohell: line 94: 17276 Terminated              while :; do
   $hackbench 1;
done
/usr/xenomai/bin/dohell: line 94: 17277 Terminated              while :; do
   cat /proc/interrupts;
done > /dev/null 2>&1
/usr/xenomai/bin/dohell: line 94: 17279 Terminated              while :; do
   ps w;
done > /dev/null 2>&1
/usr/xenomai/bin/dohell: line 94: 17280 Terminated              dd
if=/dev/zero of=/dev/null
/usr/xenomai/bin/dohell: line 94: 17281 Terminated              while :; do
   ls -lR / > /dev/null 2>&1;
done
Killed

次に、次のように同じことを試しましたxeno-test

/usr/xenomai/bin/xeno-test -l "dohell -b
"/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 seconds" 2"
and
/usr/xenomai/bin/xeno-test -l "dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 seconds 2"
and
/usr/xenomai/bin/xeno-test -l dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100 seconds 2
and also,
/usr/xenomai/bin/xeno-test -l "dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100" -T 2
and
/usr/xenomai/bin/xeno-test -l "dohell -b
/home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100
process 100" -t 2

それらはすべて同じ最終結果をもたらしました:
これを実行する方法は何ですか?助けてください。

答え1

最後のパラメータは必須です。

スイッチを使用している場合は LTP インストールへのパスを渡すか-l、実行する秒数を渡します。

dohellプレーンシェルスクリプト、どのように動作するかを確認するために、それを見るだけでもかまいません。

答え2

もちろん、期間を指定することは必須ですが、

xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench -pipe 100  process 100 14400"

まだ目的の出力が得られません。問題は、hackbench で指定された「パラメータ」にあります。
サブdohellコマンド (hackbench パラメータ付き) は (個別には) 正常に動作しますが、 を付加すると動作しませんxeno-test

ハックベンチのパラメータ ( "-pipe 100 process 100") を削除すると、 で動作するようになりましたxeno-test

以下の作品:
xeno-test -l "dohell -b /home/anisha/Desktop/RealTime/downloadedPages/hackbench 14400"

https://mail.gna.org/public/xenomai-help/2012-04/msg00073.html
https://mail.gna.org/public/xenomai-help/2012-04/msg00074.html

関連情報