01-14-2002
to log a installation
hi
i am using borne shell script to install.
In the script i get from the user some input and then to do pkgadd and some sqlplus commands.
I want to capture all the information to the logfile.
if i use , tee command i dont get the user entered input.
can u let me know ,how to capture both the input and output to a log file.
thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I m trying to Install Oracle 8i on Sun Solaris 8.....I have read the installation manuals....everything was ok, but
what confused me was directories ORACLE_BASE, ORACLE_HOME, u1, u2, u3 ?????????????????
Can anybody pls. tell me how many directories should i create, subdirectories and in... (1 Reply)
Discussion started by: ocpguy
1 Replies
2. UNIX for Advanced & Expert Users
Hai Friends
How can i instal only the linux kernel in a system.
Thanks in advance
Collins (3 Replies)
Discussion started by: collins
3 Replies
3. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
4. Linux
Hello,
Can anyone suggest me the source for getting the Linux OS,
I have done a partitions in my system and dedicated one partition for Linux with the windows.
Please suggest me the websites where I can get the s/w.
Thankx
S (1 Reply)
Discussion started by: sbasetty
1 Replies
5. Ubuntu
Hi,
Could you please provide me the url's for linux software on x86 platform means on pentiunm processes and installtion documentation?
Regards,
Rajesh (2 Replies)
Discussion started by: pmrajesh21
2 Replies
6. SuSE
Hi @ All,
short question:
i want to log my cpan Installation in a text-File.
My first try was
cpan -i module | tee /home/install.txt
but this donīt logs my inputs, eg. what i typed in when cpan asks where are my progs or which mirror i want.
Can somebody help me with this?
Regards,
... (1 Reply)
Discussion started by: jackcracker
1 Replies
7. AIX
am new to aix ...am gng to install aix 6.1 in new box.... can you tell after installation how can i say tht my installation is success..... and whr do installation related log will be saved... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies
8. Solaris
Hi Guys,
when installing an application, I believe there is a log file which is create to log the progress of the installation.
What I will like to know is, how do you tail the start log file to see the installation as it is progressing.
I will really appreciate your help.
Thanks (1 Reply)
Discussion started by: cjashu
1 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
DDB(8) BSD System Manager's Manual DDB(8)
NAME
ddb -- configure DDB kernel debugger properties
SYNOPSIS
ddb capture [-M -core] [-N -system] print
ddb capture [-M -core] [-N -system] status
ddb script scriptname
ddb script scriptname=script
ddb scripts
ddb unscript scriptname
ddb pathname
DESCRIPTION
The ddb utility configures certain aspects of the ddb(4) kernel debugger from user space that are not configured at compile-time or easily
via sysctl(8) MIB entries.
To ease configuration, commands can be put in a file which is processed using ddb as shown in the last synopsis line. An absolute pathname
must be used. The file will be read line by line and applied as arguments to the ddb utility. Whitespace at the beginning of lines will be
ignored as will lines where the first non-whitespace character is '#'.
OUTPUT CAPTURE
The ddb utility can be used to extract the contents of the ddb(4) output capture buffer of the current live kernel, or from the crash dump of
a kernel on disk. The following debugger commands are available from the command line:
capture [-M core] [-N system] print
Print the current contents of the ddb(4) output capture buffer.
capture [-M core] [-N system] status
Print the current status of the ddb(4) output capture buffer.
SCRIPTING
The ddb utility can be used to configure aspects of ddb(4) scripting from user space; scripting support is described in more detail in
ddb(4). Each of the debugger commands is available from the command line:
script scriptname
Print the script named scriptname.
script scriptname=script
Define a script named scriptname. As many scripts contain characters interpreted in special ways by the shell, it is advisable to
enclose script in quotes.
scripts
List currently defined scripts.
unscript scriptname
Delete the script named scriptname.
EXIT STATUS
The ddb utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
The following example defines a script that will execute when the kernel debugger is entered as a result of a break signal:
ddb script kdb.enter.break="show pcpu; bt"
The following example will delete the script:
ddb unscript kdb.enter.break
For further examples, see the ddb(4) and textdump(4) manual pages.
SEE ALSO
ddb(4), textdump(4), sysctl(8)
HISTORY
The ddb utility first appeared in FreeBSD 7.1.
AUTHORS
Robert N M Watson
BUGS
Ideally, ddb would not exist, as all pertinent aspects of ddb(4) could be configured directly via sysctl(8).
BSD
December 24, 2008 BSD