10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to html and need to convert the attached csv file data to html format ; running into issues. please assist.
#!/bin/ksh
echo "<html>" ;
echo "<head><style> table {border-collapse: collapse;} table, td, th {border: 1px solid black;} </style></head>"
echo "<title> REPORT </title>"
echo... (0 Replies)
Discussion started by: archana25
0 Replies
2. Shell Programming and Scripting
My concnern related to the post
-Convert shell script output txt file to html table,
in this how to print the heading as color.
awk 'BEGIN{print "<table>"} {print "<tr>";for(i=1;i<=NF;i++)print "<td>" $i"</td>";print "</tr>"} END{print "</table>"}' <filename> (8 Replies)
Discussion started by: sarajobmai
8 Replies
3. Shell Programming and Scripting
Hi Team,
i have some script which give output in TXT format , need script to convert TXT file into CSV.
Output.TXT
413. U-UU-LVDT-NOD-6002 macro_outcome_dist-8.0.0(v1_0_2) KK:1.2.494 (1234:333:aaa:2333:3:2:333:a)
414. U-UU-LVDT-NOD-6004 ... (10 Replies)
Discussion started by: Ganesh Mankar
10 Replies
4. Shell Programming and Scripting
Hi,
I have Below script which converts csv file to html succesfully.but the visiblity is simple in black n white. I want to have better visibilty of each columns in different colours(like green).As it is a Database report suppose some tablespace available space is less than 20% then it should... (7 Replies)
Discussion started by: sv0081493
7 Replies
5. Shell Programming and Scripting
Hi,
I have script which generates the output as below:
Jobname Date Time Status
abc 12/9/11 17:00 Completed
xyz 13/9/11 21:00 Running
I have the output as a text file. I need to convert it into a HTML Table and sent it thru email
... (6 Replies)
Discussion started by: a12ka4
6 Replies
6. Programming
hi...... thanks for allowing me to start a discussion
i am collecting usb usage details of all users and convert it into csv files so that i can export it into some database..
the input text file is as follows:-
USB History Dump
by nabiy (c)2008
(1) --- Kingston DataTraveler 130 USB... (2 Replies)
Discussion started by: certteam
2 Replies
7. Shell Programming and Scripting
Hi
Written some script to convert csv to html but could not add table headers.Below are the errors iam getting
./csv2html | more
+ awk -v border=1 -v width=10 -v bgcolor=black -v fgcolor=white
BEGIN { printf("<table border=\"%d\" bordercolor=\"%s\" width=\"%d\"... (2 Replies)
Discussion started by: zeebala1981
2 Replies
8. Shell Programming and Scripting
Dear guys;
I have a binary file and I need to convert its data to csv format ...appreciating your help.
Best Regards (14 Replies)
Discussion started by: ahmad.diab
14 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am new to this forum,not sure where to post this query...so posted here
Kindly need any of your help on the below
------------
I am using shell scripting and trying to convert a csv file to html file...
example.csv
---------------
Name Country Age Sex
Andy India 25 ... (4 Replies)
Discussion started by: sumithra
4 Replies
10. UNIX for Dummies Questions & Answers
I have a .csv file in Unix box i need a UNIX script to convert the.csv files to.xls format.
Its very urgent please help me. (1 Reply)
Discussion started by: moon_friend
1 Replies
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
--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 levels and USB device activities and workloads.
--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.
--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.
--workload[=workload]
file to execute for workload.
--quiet
supress stderr output.
--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)