Hello,
I require a perl script that will read a .txt file that contains words like
224.199.207.IN-ADDR.ARPA. IN NS NS1.internet.com.
4.200.162.207.in-addr.arpa. IN PTR beeriftw.internet.com.
arroyoeinternet.com. IN A 200.199.227.49
I want to focus on words:
IN... (23 Replies)
Hello everyone,
I am using a chunk of code to display the frequency of a file name in a list of directories. The code looks like this:
find . -name "*.log" | cut -d/ -f4 | cut -d. -f1 | awk '{print $1}' | sort | uniq -c | sort -nr
The file paths would look something like this:... (1 Reply)
hello,
Here is a program for creating a word-frequency
# wf.gk --- program to generate word frequencies from a file
{
# remove punctuation: This will remove all punctuations from the file
gsub(/_]/, "", $0)
#Start frequency analysis
for (i = 1; i <= NF; i++)
freq++
}
END
#Print output... (11 Replies)
Hi
I have a file like below
############################################
# ParentFolder Flag SubFolders
Colateral 1 Source1/Checksum
CVA 1 Source1/Checksum
Flexing 1 VaR/Checksum
Flexing 1 SVaR/Checksum
FX 1 ... (5 Replies)
Hi, I wanted to calculate cumulative frequency distribution of my data that involves several arithmetic calls. I did things in excel but its taking me forever. this is what I want to do:
var1.txt contains n observations which I have to compute for frequency which is given by 1/n and subsequently... (7 Replies)
Hello friends, I need a BIG help from UNIX collective intelligence:
I have a CSV file like this:
VALUE,TIMESTAMP,TEXT
1,Sun May 05 16:13:05 +0000 2013,"RT @gracecheree: Praying God sends me a really great man one day. Gotta trust in his timing.
0,Sun May 05 16:13:05 +0000 2013,@sendi__... (19 Replies)
Hi experts, I've been struggling to format a large genetic dataset. It's complicated to explain so I'll simply post example input/output
$cat input.txt
ID GENE pos start end
blah1 coolgene 1 3 5
blah2 coolgene 1 4 6
blah3 coolgene 1 4 ... (4 Replies)
Discussion started by: torchij
4 Replies
LEARN ABOUT CENTOS
libpfm_intel_snbep_unc_pcu
LIBPFM(3) Linux Programmer's Manual LIBPFM(3)NAME
libpfm_intel_snbep_unc_pcu - support for Intel Sandy Bridge-EP Power Controller Unit (PCU) uncore PMU
SYNOPSIS
#include <perfmon/pfmlib.h>
PMU name: snbep_unc_pcu
PMU desc: Intel Sandy Bridge-EP PCU uncore PMU
DESCRIPTION
The library supports the Intel Sandy Bridge Power Controller Unit uncore PMU. This PMU model only exists on Sandy Bridge model 45. There
is only one PCU PMU per processor socket.
MODIFIERS
The following modifiers are supported on Intel Sandy Bridge C-Box uncore PMU:
i Invert the meaning of the event. The counter will now count HA cycles in which the event is not occurring. This is a boolean modi-
fier
e Enable edge detection, i.e., count only when there is a state transition from no occurrence of the event to at least one occurrence.
This modifier must be combined with a threshold modifier (t) with a value greater or equal to one. This is a boolean modifier.
t Set the threshold value. When set to a non-zero value, the counter counts the number of HA cycles in which the number of occurrences
of the event is greater or equal to the threshold. This is an integer modifier with values in the range [0:15].
ff Enable frequency band filtering. This modifier applies only to the UNC_P_FREQ_BANDx_CYCLES events, where x is [0-3]. The modifiers
expects an integer in the range [0-255]. The value is interpreted as a frequency value to be multipled by 100Mhz. Thus if the value
is 32, then all cycles where the processor is running at 3.2GHz and more are counted.
Frequency band filtering
There are 3 events which support frequency band filtering, namely, UNC_P_FREQ_BAND0_CYCLES, UNC_P_FREQ_BAND1_CYCLES,
UNC_P_FREQ_BAND2_CYCLES, UNC_P_FREQ_BAND3_CYCLES. The frequency filter (available via the ff modifier) is stored into a PMU shared register
which hold all 4 possible frequency bands, one per event. However, the library generate the encoding for each event individually because it
processes events one at a time. The caller or the underlying kernel interface may have to merge the band filter settings to program the
filter register properly.
AUTHORS
Stephane Eranian <eranian@gmail.com>
August, 2012 LIBPFM(3)