Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: DF in htmll format

Re: DF in htmll format

From: sonu <ajit.bakshi_at_gmail.com>
Date: Thu, 16 Aug 2007 22:49:38 -0700
Message-ID: <1187329778.834253.275350@m37g2000prh.googlegroups.com>


On Aug 14, 8:32 pm, DA Morgan <damor..._at_psoug.org> wrote:
> sonu wrote:
> > Hi,
>
> > I am just wondering how can i get df output in table column html
> > format.
>
> > Rgds,
> > AB
>
> What is DF?
> What version?
> Of what product?
> --
> Daniel A. Morgan
> University of Washington
> damor..._at_x.washington.edu (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org

<<df>> is disk free command in Unix. I am using Sun OS 5.9. When executed df command i get output like
[XXX_at_XXXXdb:~]#df -h

Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t8d0s0      6.3G   2.0G   4.3G    32%    /
/xxx                    0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
fd                       0K     0K     0K     0%    /dev/fd
swap                   948M   104K   947M     1%    /var/run
swap                   2.1G   1.2G   947M    57%    /tmp
/dev/dsk/YYY      8.3G   4.2G   4.0G    52%    /export/home/u01
/dev/dsk/YYY      8.3G   1.7G   6.5G    22%    /export/home/u02
/dev/dsk/YYYY      8.3G   3.3G   5.0G    40%    /export/home/u03


i want this output to come in html formate so on mail it will look like

--------------------------------------------------------------------------------------------|
Filesystem           |  size  | used  | avail   | capacity| Mounted
on|

|
/dev/dsk/c0t8d0s0| 6.3G | 2.0G | 4.3G | 32% |/ |
-------------------------------------------------------------------------------------------|
/xxx                    |  0K     |  0K    | 0K     |  0%       |/
proc         |
--------------------------------------------------------------------------------------------|

basically in row column format like we see a table on html page.

I know how to mail it but i don't know how to change this text output from df to an html page.

step 1 will be
df > 123
then how to change and replace the text each and every time using program? Received on Fri Aug 17 2007 - 00:49:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US