Sponsored Content
Full Discussion: Newer PC build.
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) Linux Benchmarks Newer PC build. Post 302985032 by Neo on Friday 4th of November 2016 01:17:13 AM
Old 11-04-2016
Thanks for updating!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar --newer = tar --newer-mtime ?

Hi, I have the following question : As far as I know unix doesn't store file creation dates. Would that imply the following? tar -cvzf backup.tar --newer is equal to: tar -cvzf backup.tar --newer-mtime ? (1 Reply)
Discussion started by: jamesbond
1 Replies

2. UNIX for Dummies Questions & Answers

Find files newer than...

Is there a way to use the find command to locate files newer than a specific date? Thanks! --Alex (4 Replies)
Discussion started by: vertigo23
4 Replies

3. Shell Programming and Scripting

Problem with find ! -newer

Hi, I would like to find if a file called test.log is older than 10 min. So i wrote : #!/usr/bin/ksh FICLOG="/home/uuu/result_test.log" FIC="/home/uuu/test.log" touch -t `perl -e 'use POSIX qw(strftime); printf("%s\n",strftime("%m%d%H%M",localtime(time-3600*0.17)));'`... (3 Replies)
Discussion started by: dbfree
3 Replies

4. Shell Programming and Scripting

Need Help with -newer command

Ok, here's the situation: There's a script that runs every day on a UNIX box that collects files. The script has now been changed so that at the start of a new day, the script would create a new folder and then copy files to it for that day. This has put me in a dilema as I have a script... (1 Reply)
Discussion started by: bbbngowc
1 Replies

5. UNIX for Dummies Questions & Answers

i am newer to unix platform

i have to select particular fields from a multiple line record. my record is in dump.txt file and looks like this ******************* tipo = abonado simplex, Idiomas = dic1 - none, Operador = estandar Serv. portadora admitido: modem ind = 0 numero telefonico = 79260960, att = 0... (1 Reply)
Discussion started by: junaid.nehvi
1 Replies

6. Shell Programming and Scripting

file1 newer then file2

Hello, I am new to shell scripting and i need to create a script with the following directions and I can not figure it out. Create a shell script called newest.bash that takes two filenames as input arguments ($1 and $2) and prints out the name of the newest file (i.e. the file with the... (1 Reply)
Discussion started by: mandylynn78
1 Replies

7. Shell Programming and Scripting

ls files newer than 6 hours

How do I list al files in a folder with a creation date/time newer than 6 hours? (2 Replies)
Discussion started by: locoroco
2 Replies

8. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

9. Shell Programming and Scripting

Build.xml invocation by Build Script

Hi I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies

10. Shell Programming and Scripting

Copy file only if newer

I only want the file copied if it is newer. But it still copies the file? zip -u Ubuntu_Documents.zip ./* cp -u Ubuntu_Documents.zip $DOCS_Backup/Ubuntu_Documents_`date +"%Y-%m-%d-%H-%M"`.zip (5 Replies)
Discussion started by: drew77
5 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)
All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy