04-28-2014
Thanks Scrutinizer for code, I am big fan of you.
Thanks,
R. Singh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I request your kind help in solving this problem...
I have a file with two columns and "n" number of rows. For the first column, it won't be change. For the second column, I want to take the average of the first three rows. Then assign the averaged value to the first three rows. This... (8 Replies)
Discussion started by: solracq
8 Replies
2. Shell Programming and Scripting
I have got a file like this
003ABC00281020091005000100042.810001 ... (8 Replies)
Discussion started by: Maruti
8 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have the following input which i want to process using AWK.
Rows,NC,amount
1,1202,0.192387
2,1201,0.111111
3,1201,0.123456
i want the following output
count of rows = 3 ,sum of amount = 0.426954
Many thanks (2 Replies)
Discussion started by: pistachio
2 Replies
4. Shell Programming and Scripting
Need to transpose in awk rows to column like this:
input:
A1,6,5,4 3,2,1,
A2,8,7,9,10,11,12,13,14
A3,1,2,3,5,7,8,9
A4,9,4,8,1,5,3,
output:
A1,1
A1,2
A1,4
...
A2,7
A2,8
...
A3,1
A3,2
...
A4,1
A4,3 (5 Replies)
Discussion started by: sdf
5 Replies
5. Shell Programming and Scripting
Dear All,
I have a data file input.csv like below. (Only five column shown here for example.)
Data1,StepNo,Data2,Data3,Data4
2,1,3,4,5
3,1,5,6,7
3,2,4,5,6
5,3,5,5,6
From this I want the below output
Data1,StepNo,Data2,Data3,Data4
2,1,3,4,5
3,1,5,6,7
where the second column... (4 Replies)
Discussion started by: ks_reddy
4 Replies
6. Shell Programming and Scripting
Gurus:
How can I transpose the output below to a format in which I can plot a graph to show VSZ memory usage by PIDs?
stdout:
Tue Jan 22 07:29:19 CUT 2013
42336296 1841272 java wilyadm
21889232 438616 jlaunch sidadm
42532994 414336 jlaunch sidadm
Tue Jan 22 07:49:20 CUT 2013... (1 Reply)
Discussion started by: ux4me
1 Replies
7. Shell Programming and Scripting
Hi,
I have the below script which is fetching the data from a file as below:
awk -F "~" 'NR>1 {print $5}' 1.txt
The o/p is like:
1452350
1458638
1452350
2
5696837
No i want to put 5696837 before 1458638 in above o/p
So final o/p should look like:
1452350
5696837
1458638 (2 Replies)
Discussion started by: Vivekit82
2 Replies
8. Shell Programming and Scripting
Hi,
I have the following type of data that is separated by tabs:
-2 abandonar abandono abandonas abandona abandonamos abandonáis abandonan
-4 abandonado abandonada abandonados abandonadas
-2 abandona abandonos ... (1 Reply)
Discussion started by: owwow14
1 Replies
9. UNIX for Advanced & Expert Users
HI,
My Input file data is
dn:adcfgeneral
id:13343
Name:xxxxxx
Password:iutyerwuitywue wpuwt
tuiytruityrutyrwtyrwp
dn:cdferwjyyyy
id:3875
Name:yyyy
Password :hgfdsjkfhdsfkdlshf
dshfkldshfdklsfh
interset:uiuiufj
My output should be
... (6 Replies)
Discussion started by: dineshaila
6 Replies
10. UNIX for Beginners Questions & Answers
I would like to compare values in column 8, and grep the ones where the different is > 1, columns 1 and 2 are the key for array.
Every 4 rows the records values in columns 1 and 2 changed. Then, the comparison in the column 8 need to be done for the 4 rows everytime columns 1 and 2 changed
... (4 Replies)
Discussion started by: jiam912
4 Replies
LEARN ABOUT DEBIAN
pwmconfig
PWMCONFIG(8) System Manager's Manual PWMCONFIG(8)
NAME
pwmconfig - tests the PWM outputs of sensors and configures fancontrol
SYNOPSIS
pwmconfig
WARNING
pwmconfig will attempt to stop your fans, one at a time, for approximately 5 seconds each. This may cause your processor temperature to
rise. Verify that all fans are running at normal speed after this program has exited. pwmconfig does its best to check that the fans are
spinning when they are supposed to, but due to the diversity of available motherboards and fans, it shouldn't be blindly trusted. Always
verify by yourself.
It is strongly recommended to run pwmconfig at a time when there is no significant system load, to minimize the risk of overheating.
DESCRIPTION
pwmconfig searches your sensors for pulse width modulation (PWM) controls, and tests each one to see if it controls a fan on your mother-
board. Note that many motherboards do not have PWM circuitry installed, even if your sensor chip supports PWM.
When a connection is established between a PWM control and a fan, pwmconfig can generate a detailed correlation, to show how a given fan is
responding to various PWM duty cycles.
Lastly, pwmconfig will enter in fancontrol configuration mode (unless you decide to skip that part.) In this mode, you are invited to enter
several parameters which will determine how the fancontrol daemon regulates the speed of one or more fans in your system based on tempera-
ture measurements. In particular, you will have the opportunity to establish mappings between fans and temperature inputs, define the tem-
perature range over which the speed of the fan should be adjusted dynamically, the minimum speed at which the fan should spin, etc. See
fancontrol(8) for additional information.
BUGS
The term "PWM" is used because most fan control systems in computers are based on pulse width modulation. Some motherboards however use DC
variation instead. So, the term "PWM" should be seen as a generic term for "fan speed control", regardless of the actual method used.
SEE ALSO
fancontrol(8), sensors(1).
AUTHORS
Marius Reiner <marius.reiner@hdev.de>, Jean Delvare <khali@linux-fr.org>
lm-sensors 3 September 28, 2008 PWMCONFIG(8)