05-27-2011
Thanks man, and for copy i used cp R000[5-10].log /folder
Last edited by oopsalion; 05-27-2011 at 10:11 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
2. UNIX for Advanced & Expert Users
I'm trying to read the output of a .sql script (simple insert and commit oracle pl/slq script) to a log file using a shell script. My problem is I end up with a log file that looks like this:
sd12@phenix97:/detain/sd12/logs > cat 20071205_detain_20071206.log
12320496 rows created. Commit... (11 Replies)
Discussion started by: sd12
11 Replies
3. Solaris
Hi All,
I have a perl module TrxLog.pm and following are codes in it
#!/usr/local/bin/perl
package TrxLog;
%log_begin="";
%log_end="";
%log_msg="";
%log_start_time="";
%log_end_time="";
$ix=0;
@arr_msg="";
if (! -e "TrxLog.txt"){
open (TRX,">TrxLog.txt");
}else{
... (1 Reply)
Discussion started by: megh
1 Replies
4. Shell Programming and Scripting
I have directories like V00R01,V00R02,V01R01,V01R02 in a directory
where V is version and R is a release. basically I need to set base directory and current directory. Under a version there can be any number of releases and there can be number of versions also.
V00R01...V00R50..so on
also,... (2 Replies)
Discussion started by: vjasai
2 Replies
5. HP-UX
I am using hp ux 11.31
Our SAN storage is being presented from an IBM XIV.
We have 3 HP servers (rx4640's), and the XIV has them setup in a cluster, so that when a disk is presented all 3 servers can see the new LUN.
I'm setting up a new VM on one of the HP servers. I have allocated a 34Gb... (1 Reply)
Discussion started by: xtoverus1
1 Replies
6. Shell Programming and Scripting
Hello,
I have two files A and B .A file consist of the words that user will put whereas file B consist of all user's LDAP a/c.I want here that if user don't mention LDAP a/c in comment than it will exit otherwise success.
File A.I have a solution that I will modify the file A ...just save the... (9 Replies)
Discussion started by: anuragpgtgerman
9 Replies
7. Shell Programming and Scripting
I've a series of words in the format "abc0001d" till "abc1999d".
I would like to use delimiter to cut the word from abc0001s to two words:
abc00 and 01d. Help me in finding the correct delimiter to cut in desired way. (7 Replies)
Discussion started by: surdileep
7 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to use perl to generate files based on sections in a large textfile.
This will create one file per section that starts with " ABC_":
perl -n -e '/^ABC_/ and open FH, ">output_".$n++; print FH;' largefile.txt
However, the output filenames will be on the form output_nn. This... (2 Replies)
Discussion started by: Yagi Uda
2 Replies
9. Shell Programming and Scripting
Is there a general way I can use so as to process paths/files from your terminal without the need to backslash things?
Till recently I used to use
touch "file_here"
but it does not work if file_here contains any of the characters ` and ", I still need to backslash them if I want to make the... (1 Reply)
Discussion started by: hakermania
1 Replies
10. Shell Programming and Scripting
I have logs files which are generated each day depending on how many processes are running. Some days it could spin up 30 processes. Other days it could spin up 50. The log files all have the same pattern with the number being the different factor. e.g.
LOG_FILE_1.log
LOG_FILE_2.log etc etc
... (2 Replies)
Discussion started by: atelford
2 Replies
LEARN ABOUT DEBIAN
vk_logmerge
VK_LOGMERGE(1) General Commands Manual VK_LOGMERGE(1)
NAME
vk_logmerge - a Valgrind XML log file merger
SYNOPSIS
vk_logmerge [flags and input files in any order]
DESCRIPTION
vk_logmerge is a valkyrie(1) helper. Given multiple log files (in xml format) generated by multiple runs on a parallel machine, or multiple
log files generated by sequential runs on a single-processor machine, for the same binary, vk_logmerge merges the log files together, sum-
ming the counts of duplicates, and outputs the result to a single file. As input, vk_logmerge expects the log-files to-be-merged and/or a
file containing the list of log-files to-be-merged, with each entry on a separate line.
Log files can be merged from within valkyrie(1) , or use can invoke vk_logmerge directly.
OPTIONS
-h Show help message
-v Be verbose (more -v's give more)
-t Output plain text (non-xml)
-f <log_list>
Obtain input files from <log_list> file (one per line)
-o <writefile>
File to write output to
At least 1 input file must be given.
If no '-o outfile' is given, writes to standard output.
EXAMPLES
vk_logmerge log1.xml -f loglist.fls -o merged.xml
SEE ALSO
valkyrie(1), valgrind(1).
AUTHOR
vk_logmerge was written by Donna Robinson, Cerion Armour-Brown and others.
This manual page was written by Hai Zaar <haizaar@haizaar.com>, for the Debian project (but may be used by others).
2009-05-02 VK_LOGMERGE(1)