10-04-2012
Hi rdrtx1,
Thanks a lot Script works great..
I had one query if you can help me.I have one column in that html report named "%Free" where it is showing how much % space is free.I want to add to that script suppose some tablespace %Free space is less than 20% then it should come up in red colour.If the %Free space is above 20% then it should come up in green.
Could you please help here.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all,
Can you send me a script file the changes .xml to .csv file.
Thanks,
Srinivasa (4 Replies)
Discussion started by: srinivasaphani
4 Replies
2. 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
3. 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
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
Hi,
I have made a a script which creates a csv file as daily database report
However i want to covert that csv file to html because csv file does not have a good visibilty.
So it is possible to have such csv to html coversion script.
Your prompt help much appreciated. Thanks in advance (4 Replies)
Discussion started by: sv0081493
4 Replies
8. 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
9. 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
10. 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
LEARN ABOUT DEBIAN
e2freefrag
E2FREEFRAG(8) System Manager's Manual E2FREEFRAG(8)
NAME
e2freefrag - report free space fragmentation information
SYNOPSIS
e2freefrag [ -c chunk_kb ] [ -h ] filesys
DESCRIPTION
e2freefrag is used to report free space fragmentation on ext2/3/4 file systems. filesys is the filesystem device name (e.g. /dev/hdc1,
/dev/md0). The e2freefrag program will scan the block bitmap information to check how many free blocks are present as contiguous and
aligned free space. The percentage of contiguous free blocks of size and of alignment chunk_kb is reported. It also displays the mini-
mum/maximum/average free chunk size in the filesystem, along with a histogram of all free chunks. This information can be used to gauge
the level of free space fragmentation in the filesystem.
OPTIONS
-c chunk_kb
If a chunk size is specified, then e2freefrag will print how many free chunks of size chunk_kb are available in units of kilobytes
(Kb). The chunk size must be a power of two and be larger than filesystem block size.
-h Print the usage of the program.
EXAMPLE
# e2freefrag /dev/vgroot/lvhome
Device: /dev/vgroot/lvhome
Blocksize: 4096 bytes
Total blocks: 1504085
Free blocks: 292995 (19.5%)
Min. free extent: 4 KB
Max. free extent: 24008 KB
Avg. free extent: 252 KB
HISTOGRAM OF FREE EXTENT SIZES:
Extent Size Range : Free extents Free Blocks Percent
4K... 8K- : 704 704 0.2%
8K... 16K- : 810 1979 0.7%
16K... 32K- : 843 4467 1.5%
32K... 64K- : 579 6263 2.1%
64K... 128K- : 493 11067 3.8%
128K... 256K- : 394 18097 6.2%
256K... 512K- : 281 25477 8.7%
512K... 1024K- : 253 44914 15.3%
1M... 2M- : 143 51897 17.7%
2M... 4M- : 73 50683 17.3%
4M... 8M- : 37 52417 17.9%
8M... 16M- : 7 19028 6.5%
16M... 32M- : 1 6002 2.0%
AUTHOR
This version of e2freefrag was written by Rupesh Thakare, and modified by Andreas Dilger <adilger@sun.com>, and Kalpak Shah.
SEE ALSO
debugfs(8), dumpe2fs(8), e2fsck(8)
E2fsprogs version 1.42.5 July 2012 E2FREEFRAG(8)