12-11-2014
Many thanks to all for their help. Especially to Don for his kind and helpful explanation. One is never too old to learn (just turned 65) and this forum is a wonderful place to learn with helpful people.
This User Gave Thanks to gimley For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've got a problem i'm hoping other more experienced programmers have had to deal with sometime in their careers and can help me: how to get fullnames that were chunked together into one field in an old database into separate more meaningful fields.
I'd like to get the records that nicely fit... (2 Replies)
Discussion started by: RacerX
2 Replies
2. Shell Programming and Scripting
I have a large file with fields delimited by '|', and I want to run some analysis on it. What I want to do is count how many times each field is populated, or list the frequency of population for each field.
I am in a Sun OS environment.
Thanks,
- CB (3 Replies)
Discussion started by: ChicagoBlues
3 Replies
3. Shell Programming and Scripting
reference data
GHTAS
QER
CC
N
input data
NNWQERPROEGHTASTTTGHTASNCC
Desired output
GHTAS 2
QER 1
CC 1
N 3 (2 Replies)
Discussion started by: perl_beginner
2 Replies
4. Shell Programming and Scripting
Hi,
I have a very large log file in the following format:
198.28.0.0 - - 200 348
244.48.0.0 - - 200 211
198.28.0.0 - - 200 191
4.48.0.0 - - 200 1131
244.48.0.0 - - 200 1131
244.48.0.0 - - 200 1131
4.48.0.0 - - 200 1131
244.48.0.0 - - 200 211
4.48.0.0 - - 200 1131
... (2 Replies)
Discussion started by: sajal.bhatia
2 Replies
5. Shell Programming and Scripting
dear all.. i need help
i have data
ID,A,B,C,D,E,F,G,H --> header
917188,4,1,2,1,4,6,3,5 --> data
i want output :
ID,OUT1,OUT2,OUT3 --> header
917188,3,3,2
where OUT1 is count of 1 and 2 from $2-$9
OUT2 is count of 3 and 4 from $2-$9... (3 Replies)
Discussion started by: buncit8
3 Replies
6. Shell Programming and Scripting
I need to write a shell script "cmn" that, given an integer k, print the k most common words in descending order of frequency.
Example Usage:
user@ubuntu:/$ cmn 4 < example.txt :b: (3 Replies)
Discussion started by: mohit_iitk
3 Replies
7. Shell Programming and Scripting
Hi Guys,
B07 U51C A1 44 B1 44 Yes
B07 L64U A2 44 B1 44 Yes
B07 L62U A2 44 B1 44 Yes
B07 L11C A4 32 B1 44 NO
B05 L12Z A1 12 B1 44 NO
B01 651Z A2 44 B1 44 NO
B04 A51Z A2 12 B1 44 NO
L07 B08D A4 12 B1 44 NO
B07 RU8D A4 44 B1 44 Yes
B07 L58D A4 15 B1 44 No
B07 LA8D A4 44 B1 44 Yes
B07... (6 Replies)
Discussion started by: asavaliya
6 Replies
8. Shell Programming and Scripting
Hello everyone,
please consider the following lines of a matrix
59 32
59 32
59 32
59 32
59 32
59 32
59 32
60 32
60 33
60 33
60 33
60 33
60 33
60 33
60 33
60 33
60 33 (7 Replies)
Discussion started by: xshang
7 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to analyze my data, and I will need your experience.
I have some files with the below format:
res1 = TYR res2 = ASN
res1 = ASP res2 = SER
res1 = TYR res2 = ASN
res1 = THR res2 = LYS
res1 = THR res2 = TYR
etc (many lines)
I am... (3 Replies)
Discussion started by: Tzole
3 Replies
10. Shell Programming and Scripting
Hi, I have tab-deliminated data similar to the following:
dot is-big 2
dot is-round 3
dot is-gray 4
cat is-big 3
hot in-summer 5
I want to count the frequency of each individual "unique" value in the 1st column. Thus, the desired output would be as follows:
dot 3
cat 1
hot 1
is... (5 Replies)
Discussion started by: owwow14
5 Replies
LEARN ABOUT DEBIAN
cpufreq-info
cpufreq-info(1) cpufreq-info(1)
NAME
cpufreq-info - Utility to retrieve cpufreq kernel information
SYNTAX
cpufreq-info [options]
DESCRIPTION
A small tool which prints out cpufreq information helpful to developers and interested users.
OPTIONS
-c --cpu <CPU>
<CPU> number which information shall be determined about.
-e --debug
Prints out debug information.
-f --freq
Get frequency the CPU currently runs at, according to the cpufreq core.
-w --hwfreq
Get frequency the CPU currently runs at, by reading it from hardware (only available to root).
-l --hwlimits
Determine the minimum and maximum CPU frequency allowed.
-d --driver
Determines the used cpufreq kernel driver.
-p --policy
Gets the currently used cpufreq policy.
-g --governors
Determines available cpufreq governors.
-a --related-cpus
Determines which CPUs run at the same hardware frequency.
-a --affected-cpus
Determines which CPUs need to have their frequency coordinated by software.
-s --stats
Shows cpufreq statistics if available.
-y --latency
Determines the maximum latency on CPU frequency changes.
-o --proc
Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels.
-m --human
human-readable output for the -f, -w, -s and -y parameters.
-h --help
Prints out the help screen.
REMARKS
You can't specify more than one of the output specific options -o -e -a -g -p -d -l -w -f -y.
You also can't specify the -o option combined with the -c option.
FILES
/sys/devices/system/cpu/cpu*/cpufreq/
/proc/cpufreq (deprecated)
/proc/sys/cpu/ (deprecated)
AUTHORS
Dominik Brodowski <linux@brodo.de> - author
Mattia Dongili<malattia@gmail.com> - first autolibtoolization
SEE ALSO
cpufreq-set(1), cpufreq-aperf(1)
Mattia Dongili 0.1 cpufreq-info(1)