09-22-2009
Bumping up posts or double posting is not permitted in these forums.
Please read the
rules, which you agreed to when you registered, if you have not already done so.
You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future
Thank You.
The UNIX and Linux Forums.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been trying to find a good solution for this seemingly simple task for 2 days, and I'm giving up and posting a thread. I hope someone can help me out!
I'm on HPUX, using sqlplus, mailx, awk, have some other tools available, but can't install stuff that isn't already in place (without a... (6 Replies)
Discussion started by: soldstatic
6 Replies
2. UNIX for Dummies Questions & Answers
Hi Gurus,
I need your help in transforming the CSV file into some what a report format.
My source file looks like below
Date,ProdID,TimeID,LevelID
2010-08-31,200,M,1
2010-08-31,201,Q,2
2010-08-31,202,Y,1
2010-08-31,203,M,5
Output required is
... (9 Replies)
Discussion started by: naveen.kuppili
9 Replies
3. Shell Programming and Scripting
Hello,
I have 2 csv files with 4 columns each.
file1.csv
A, AA, AAA, AAAA
B, BB, BBB, BBBB
file2.csv
C, CC, CCC, CCCC
D, DD, DDD, DDDD
I would like to use shell commands (sed, awk...) to copy the content of the 2 files (2x4 columns) into a final csv template file.
Expected... (2 Replies)
Discussion started by: inMyZone35
2 Replies
4. Shell Programming and Scripting
(say) I have 2 csv files - file1.csv & file2.csv as mentioned below:
file1.csv
ID,version,cost
1000,1,30
2000,2,40
3000,3,50
4000,4,60
file2.csv
ID,version,cost
1000,1,30
2000,2,45
3000,4,55
6000,5,70
The... (7 Replies)
Discussion started by: Naresh101
7 Replies
5. Shell Programming and Scripting
Hi,
I have a file of csv data, which looks like this:
file1:
1AA,LGV_PONCEY_LES_ATHEE,1,\N,1,00020460E1,0,\N,\N,\N,\N,2,00.22335321,0.00466628
2BB,LES_POUGES_ASF,\N,200,200,00006298G1,0,\N,\N,\N,\N,1,00.30887539,0.00050312... (10 Replies)
Discussion started by: djoseph
10 Replies
6. Shell Programming and Scripting
Hi, I am newbie in shell script.
I need your help to solve my problem.
Firstly, I have 2 files of csv and i want to compare of the contents then the output will be written in a new csv file.
File1:
SourceFile,DateTimeOriginal
/home/intannf/foto/IMG_0713.JPG,2015:02:17 11:14:07... (8 Replies)
Discussion started by: refrain
8 Replies
7. Shell Programming and Scripting
Hi, all
I want to sort a csv file based on timestamp from oldest to newest and save the output as csv file itself. Here is an example of my csv file.
test.csv
SourceFile,DateTimeOriginal
/home/intannf/foto/IMG_0739.JPG,2015:02:17 11:32:21
/home/intannf/foto/IMG_0749.JPG,2015:02:17 11:37:28... (10 Replies)
Discussion started by: refrain
10 Replies
8. Shell Programming and Scripting
Hi,
I have another problem. I want to sort another csv file by the first field.
result.csv
SourceFile,Airspeed,GPSLatitude,GPSLongitude,Temperature,Pressure,Altitude,Roll,Pitch,Yaw
/home/intannf/foto5/2015_0313_090651_219.JPG,0.,-7.77223,110.37310,30.75,996.46,148.75,180.94,182.00,63.92 ... (2 Replies)
Discussion started by: refrain
2 Replies
9. Shell Programming and Scripting
There can be thousand of .ksh in a specific directory where sql files are called from ksh.
Requirement is to loop through all the files content and generate a report like below:
Jobname Type type sqlname
gemd1970 sql daily tran01
gemw1971 sql weekly ... (6 Replies)
Discussion started by: vedanta
6 Replies
LEARN ABOUT DEBIAN
powertop
POWERTOP(8) powertop manual POWERTOP(8)
NAME
powertop - a power consumption and power management diagnosis tool.
SYNOPSIS
powertop [ options ]
DESCRIPTION
powertop is a program that helps to diagnose various issues with power consumption and power management. It also has an interactive mode
allowing one to experiment with various power management settings. When invoking powertop without arguments powertop starts in interactive
mode.
OPTIONS
--csv[=FILENAME]
generate a CSV report. If a filename is not specified then the default name "powertop.csv" is used. The CSV report can be used for
reporting and data analysis.
--calibrate
runs powertop in calibration mode. When running on battery, powertop can track power consumption as well as system activity. When
there are enough measurements, powertop can start to report power estimates. One can get more accurate estimates by using this
option to enable a calibration cycle. This will cycle through various display levesl and USB device activities and workloads.
--debug
run in "debug" mode.
--extech=devnode
use the Extech Power Analyzer for measurements. This allows one to specify the serial device node of the serial to USB adaptor con-
necting to the Extech Power Analyzer, for example /dev/ttyUSB0.
--help
show the help message.
--html[=FILENAME]
generate an HTML report. If a filename is not specified then the default name "powertop.html" is used. The HTML report can be sent
to others to help diagnose power issues.
--iteration[=iterations]
number of times to run each test.
--time[=seconds]
generate a report for a specified number of seconds.
--version
print version information and exit.
BUGS
Send bug reports to <powertop@lists.01.org>
SEE ALSO
The program is more fully described at https://01.org/powertop
AUTHOR
powertop was written by Arjan van de Ven <arjan@linux.intel.com>, and is currently maintained by Chris E Ferron <chris.e.fer-
ron@linux.intel.com>.
Linux June 1, 2012 POWERTOP(8)