Sponsored Content
Top Forums Shell Programming and Scripting Perl: Need help comparing huge files Post 302670927 by birei on Thursday 12th of July 2012 04:18:42 PM
Old 07-12-2012
Hi mrn6430,

Value 1233 isn't found in inputfile2, and similar issue for 1244. Did you forget it or did I miss anything?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

comparing Huge Files - Performance is very bad

Hi All, Can you please help me in resolving the following problem? My requirement is like this: 1) I have two files YESTERDAY_FILE and TODAY_FILE. Each one is having nearly two million data. 2) I need to check each record of TODAY_FILE in YESTERDAY_FILE. If exists we can skip that by... (5 Replies)
Discussion started by: madhukalyan
5 Replies

2. Shell Programming and Scripting

Comparing two huge files

Hi, I have two files file A and File B. File A is a error file and File B is source file. In the error file. First line is the actual error and second line gives the information about the record (client ID) that throws error. I need to compare the first field (which doesnt start with '//') of... (11 Replies)
Discussion started by: kmkbuddy_1983
11 Replies

3. Shell Programming and Scripting

Perl script error to split huge data one by one.

Below is my perl script: #!/usr/bin/perl open(FILE,"$ARGV") or die "$!"; @DATA = <FILE>; close FILE; $join = join("",@DATA); @array = split( ">",$join); for($i=0;$i<=scalar(@array);$i++){ system ("/home/bin/./program_name_count_length MULTI_sequence_DATA_FILE -d... (5 Replies)
Discussion started by: patrick87
5 Replies

4. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

5. Shell Programming and Scripting

Problem running Perl Script with huge data files

Hello Everyone, I have a perl script that reads two types of data files (txt and XML). These data files are huge and large in number. I am using something like this : foreach my $t (@text) { open TEXT, $t or die "Cannot open $t for reading: $!\n"; while(my $line=<TEXT>){ ... (4 Replies)
Discussion started by: ad23
4 Replies

6. Shell Programming and Scripting

Comparing two huge files on field basis.

Hi all, I have two large files and i want a field by field comparison for each record in it. All fields are tab seperated. file1: Email SELVAKUMAR RAMACHANDRAN Email SHILPA SAHU Web NIYATI SONI Web NIYATI SONI Email VIINII DOSHI Web RAJNISH KUMAR Web ... (4 Replies)
Discussion started by: Suman Singh
4 Replies

7. Shell Programming and Scripting

Comparing 2 huge text files

I have this 2 files: k5login sanwar@systems.nyfix.com jjamnik@systems.nyfix.com nisha@SYSTEMS.NYFIX.COM rdpena@SYSTEMS.NYFIX.COM service/backups-ora@SYSTEMS.NYFIX.COM ivanr@SYSTEMS.NYFIX.COM nasapova@SYSTEMS.NYFIX.COM tpulay@SYSTEMS.NYFIX.COM rsueno@SYSTEMS.NYFIX.COM... (11 Replies)
Discussion started by: linuxgeek
11 Replies

8. Shell Programming and Scripting

Perl: Comparing to two files and displaying the differences

Hi, I'm new to perl and i have to write a perl script that will compare to log/txt files and display the differences. Unfortunately I'm not allowed to use any complied binaries or applications like diff or comm. So far i've across a code like this: use strict; use warnings; my $list1;... (2 Replies)
Discussion started by: dont_be_hasty
2 Replies

9. Shell Programming and Scripting

Removing Dupes from huge file- awk/perl/uniq

Hi, I have the following command in place nawk -F, '!a++' file > file.uniq It has been working perfectly as per requirements, by removing duplicates by taking into consideration only first 3 fields. Recently it has started giving below error: bash-3.2$ nawk -F, '!a++'... (17 Replies)
Discussion started by: makn
17 Replies

10. Shell Programming and Scripting

Need help in comparing two files using shell or Perl

I have these two file that I am trying to compare using shell arrays. I need to find out the changed or the missing enteries from File2. For example. The line "f nsd1" in file2 is different from file1 and the line "g nsd6" is missing from file2. I dont want to use "for loop" because my files... (2 Replies)
Discussion started by: sags007_99
2 Replies
PMC.XSCALE(3)						   BSD Library Functions Manual 					     PMC.XSCALE(3)

NAME
pmc.xscale -- measurement events for Intel XScale family CPUs LIBRARY
Performance Counters Library (libpmc, -lpmc) SYNOPSIS
#include <pmc.h> DESCRIPTION
Intel XScale CPUs are ARM CPUs based on the ARMv5e core. Second generation cores have 2 counters, while third generation cores have 4 counters. Third generation cores also have an increased number of PMC events. Intel XScale PMCs are documented in 3rd Generation Intel XScale Microarchitecture Developer's Manual, May 2007. Event Specifiers (Programmable PMCs) Intel XScale programmable PMCs support the following events: IC_FETCH External memory fetch due to L1 instruction cache miss. IC_MISS Instruction cache or TLB miss. DATA_DEPENDENCY_STALLED A data dependency stalled ITLB_MISS Instruction TLB miss. DTLB_MISS Data TLB miss. BRANCH_RETIRED Branch instruction retired (executed). BRANCH_MISPRED Branch mispredicted. INSTR_RETIRED Instructions retired (executed). DC_FULL_CYCLE L1 data cache buffer full stall. Event occurs on every cycle the condition is present. DC_FULL_CONTIG L1 data cache buffer full stall. Event occurs once for each contiguous sequence of this type of stall. DC_ACCESS L1 data cache access, not including cache operations. DC_MISS L1 data cache miss, not including cache operations. DC_WRITEBACK L1 data cache write-back. Occurs for each cache line that's written back from the cache. PC_CHANGE Software changed the program counter. BRANCH_RETIRED_ALL Branch instruction retired (executed). This event counts all branch instructions, indirect or direct. INSTR_CYCLE Count the number of microarchitecture cycles each instruction requires to issue. CP_STALL Coprocessor stalled the instruction pipeline. PC_CHANGE_ALL Software changed the program counter (includes exceptions). PIPELINE_FLUSH Pipeline flushes due to mispredictions or exceptions. BACKEND_STALL Backend stalled the instruction pipeline. MULTIPLIER_USE Multiplier used. MULTIPLIER_STALLED Multiplier stalled the instruction pipeline. DATA_CACHE_STALLED Data cache stalled the instruction pipeline. L2_CACHE_REQ L2 cache request, not including cache operations. L2_CACHE_MISS L2 cache miss, not including cache operations. ADDRESS_BUS_TRANS Address bus transaction. SELF_ADDRESS_BUS_TRANS Self initiated address bus transaction. DATA_BUS_TRANS Data bus transaction. Event Name Aliases The following table shows the mapping between the PMC-independent aliases supported by Performance Counters Library (libpmc, -lpmc) and the underlying hardware events used. Alias Event branches BRANCH_RETIRED branch-mispredicts BRANCH_MISPRED dc-misses DC_MISS ic-misses IC_MISS instructions INSTR_RETIRED SEE ALSO
pmc(3), pmc.soft(3), pmc_cpuinfo(3), pmclog(3), hwpmc(4) HISTORY
The pmc library first appeared in FreeBSD 6.0. Intel XScale support first appeared in FreeBSD 9.0. AUTHORS
The Performance Counters Library (libpmc, -lpmc) library was written by Joseph Koshy <jkoshy@FreeBSD.org>. Intel XScale support was added by Rui Paulo <rpaulo@FreeBSD.org>. CAVEATS
The Intel XScale code does not yet support sampling. BSD
December 23, 2009 BSD
All times are GMT -4. The time now is 04:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy