10 More Discussions You Might Find Interesting
1. High Performance Computing
Hi,
I compiled Linpack with ATLAS for test.
What other libraries except ATLAS can be used to test? (2 Replies)
Discussion started by: PtaQ
2 Replies
2. High Performance Computing
I'm trying to compile Linpack on a Ubuntu cluster. I'm running MPI. I've modified the following values to fit my system TOPdir MPdir LAlib CC LINKER.
When compiling I get the following error: (the error is at the end, the other errors in between are because I've ran the script several times so... (0 Replies)
Discussion started by: JPJPJPJP
0 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have one libxxx.so file ( which I got from a third party ). We use shared library libxxx.sl . Is there any way to convert the .so file to .sl file ?
Thanks in advance
- M (3 Replies)
Discussion started by: kanu_kanu
3 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement to capture file time stamp and compare with current system time. I am using HP-AUX K-shell.
Below is what i have done
Getting current date into myfile2
---------------------------------
date +%Y%m%d%H%M%S > myfile2
20091110132800
Getting the file date into... (5 Replies)
Discussion started by: chinniforu2003
5 Replies
5. Shell Programming and Scripting
How to convert Nov 10 14:20 to YYYYMMDDHHMMSS in unix
I am using K-shell HP-AUX (1 Reply)
Discussion started by: chinniforu2003
1 Replies
6. Shell Programming and Scripting
I need to convert an epoch time from a file into a standard UTC time and output it in the same format but I'm not sure what's the best approach
here's the input file and the bold part is what I need to convert.
1,1,"sys1",60,300000
2,"E:",286511144960
3,1251194521,"E:",0,0... (2 Replies)
Discussion started by: satchy321
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
When using ls -l I get the details of a filename with the date in the format
Jun 22, is
I need to get it as 22/06, is there any ls command that would do this or is there a way to do this ? (8 Replies)
Discussion started by: happyrain
8 Replies
8. High Performance Computing
Hi guys,
I am having some issues tuning the HPL.dat file for the Linpack benchmark test across 2 nodes. I am very new to this with minimal Linux experience, however i am trying my luck.
The specs for the two nodes are:
3GHZ QX6850 CORE 2 EXTREME (QUAD CORE)
4GB RAM
I have been typing these... (1 Reply)
Discussion started by: mercthunder
1 Replies
9. Shell Programming and Scripting
hi all
i have a file like
151125
25252
2452567
253464576
255
i want this file to be like
'151125','25252','2452567','253464576','255'
please help
thanks (3 Replies)
Discussion started by: infyanurag
3 Replies
10. UNIX for Advanced & Expert Users
Dear friends,
i am writing sh shell script
I have a file containing binary data.
like this.
010101010101010101101010101010100001010101010101001.
i want to read some particular bits and convert it into decimal valuse.
example.
1.first i want to read 5 bits and convert it into... (1 Reply)
Discussion started by: rajan_ka1
1 Replies
Benchmark::Apps(3pm) User Contributed Perl Documentation Benchmark::Apps(3pm)
NAME
Benchmark::Apps - Simple interface to benchmark applications.
SYNOPSIS
This module provides a simple interface to benchmark applications (not necessarily Perl applications).
use Benchmark::Apps;
my $commands = {
cmd1 => 'run_command_1 with arguments',
cmd2 => 'run_command_2 with other arguments',
};
my $conf = { pretty_print=>1, iters=>5 };
Benchmark:Apps::run( $commands, $conf );
DESCRIPTION
This module can be used to perform simple benchmarks on programs. Basically, it can be used to benchmark any program that can be called
with a system call.
FUNCTIONS
run
This method is used to run benchmarks. It runs the commands described in the hash passed as argument. It returns an hash of the results
each command. A second hash reference can be passed to this method: a configuration hash reference. The values passed in this hash
override the default behaviour of the run method. The configuration options available at this moment are:
"pretty_print"
When enabled it will print to stdout, in a formatted way the results of the benchmarks as they finish running. This option should de
used when you want to run benchmarks and want to see the results progress as the tests run. You can disable it, so you can perform
automated benchmarks.
Options: true(1) or false(0)
Default: false(0)
"iters"
This is the number of iterations that each test will run.
Options: integer greater than 1
Default: 5
"args"
This is a reference to an anonymous function that will calculate the command argument based on the iteraction number.
Options: any function reference that returns a string
Default: empty function: always returns an empty string, which means no arguments will be given to the command
run
This method runs the commands described in the hash passed as argument. It returns an hash of the results and return codes for each
command.
pretty_print
This method is used to print the final result to STDOUT before returning from the "run" method.
time_this
This method is not meant to be used directly, although it can be useful. It receives a command line and executes it via system, taking
care of registering the elapsed time.
EXAMPLES
Check files in "examples/".
AUTHOR
Aberto Simoes (aka ambs), "<ambs at cpan.org>" Nuno Carvalho (aka smash), "<smash @ cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-benchmark-apps at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Apps <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Benchmark-Apps>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Benchmark::Apps
You can also look for information at:
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Benchmark-Apps <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Benchmark-Apps>
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Benchmark-Apps <http://annocpan.org/dist/Benchmark-Apps>
o CPAN Ratings
http://cpanratings.perl.org/d/Benchmark-Apps <http://cpanratings.perl.org/d/Benchmark-Apps>
o Search CPAN
http://search.cpan.org/dist/Benchmark-Apps <http://search.cpan.org/dist/Benchmark-Apps>
COPYRIGHT & LICENSE
Copyright 2008 Aberto Simoes, Nuno Carvalho, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-15 Benchmark::Apps(3pm)