Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by misercord

  1. misercord

    How to read a core file from a script...

    I have tried ksh -v but this put out a massive amount of data that as yet is less than helpful in the problem. So what I really would like to do is be able to read the core file. I wanted to know if anyone know how to read the core file for the kron shell or has compiled the pd ksh in debug.
  2. misercord

    How to read a core file from a script...

    I have a shell script that is over 6034 lines long and it is coring. Is there any way to read the core so I can narrow down where the error is occuring? Can I rebould the ksh in debug? Example form gdb of core file.... Core was generated by `/bin/ksh...
  3. misercord

    Brand new to unix... need some advice (HELP)..

    MusicSlinger, There is a brand new web site for AIX users. http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/index.htm Also the is a new book AIX 5L Administration that is pretty good. For begining UNIX users nothing beats O'Reilly's "UNIX in a Nutshell" "Learning...
  4. misercord

    Oracle 8 and AIX 5

    If you go to http://metalink.oracle.com and check the "Certify & Availability" it tells you most of this information. You do have to get a user id... When I checked it said that Oracle Server Entriprise Edition 8.1.7 is certified on AIX 5L in 32 bit mode only.
  5. misercord

    gcore on AIX or HP-UX?

    I use gcore to get a stack of a running process on Solaris. Does any one know of a similar tool for AIX or HP-UX?
  6. misercord

    Memory !!

    Try this command. lsattr -HE -l sys0 -a realmem
  7. misercord

    Command for checking opened files?

    You can get lsof at: http://www.bullfreeware.com/ It will list all open files. Since most everything in UNIX is a file it can do a lot. For example it can tell you about open sockets. I am pretty sure fuser can't do that.
  8. misercord

    Insert line in file through script

    Here is a little awk script that I think does what you are looking for: #cat ins.awk /^QH1/ {print "SYS CODES IDS\' 80CHARACTERS LONG" print $0} !/^QH1/ {print $0} Run it like this: #awk -f ins.awk file > new_file
  9. misercord

    How do you join (concatenate) variable number of lines in a file

    This might save you having to add the STARTRECORD and JOIN RECORD. /BEGIN/ { FLAG = 0 } /^49035063810000/ { if ( FLAG ) printf("\n") else FLAG = 1 printf("%s",$0) }...
  10. misercord

    How do you join (concatenate) variable number of lines in a file

    I think this might solve the problem /STARTRECORD/ { printf("\n%s",$0) } /JOINRECORD/ { printf("%s",$0) } One of the Best books on sed & Awk http://www.oreilly.com/catalog/sed2/
  11. misercord

    logical volume Boot

    Try man pages on mklv and rmlv.
  12. misercord

    Do/Done help please

    Glad you got it working. You might want to check out this snippet for future scripts. awk 'BEGIN{count=0} /COMMERCE/ { print $0;count=count+1 }END{print count}' windsor-life.co.uk
  13. misercord

    Do/Done help please

    Can't you replace this whole section with something like grep COMMERCE windsor-life.co.uk | wc -l ??? This will give you a count of line with COMMERCE on them. Otherwise I would guess that $line is at some point evaluated to blanks or null and the if would look like this if [ -eq...
  14. misercord

    Oracle 9i on AIX 5L

    Turns out it has nothing to do with the kernel. Was trying to install Oracle 9.0.1 on AIX 5L. Should have used Oracle 9.0.1.2. After install of the tarball file got error message exec(): 0509-036 Cannot load program oracleora9i because of the following errors: 0509-150 Dependent...
  15. misercord

    Oracle 9i on AIX 5L

    The current info I have from Oracle and IBM is that there is a Oracle9i "Developers Release" currently available, but it is unsupported. The Oracle 9.2 release will support AIX 5L it is due out in the Second Quater of 2002. Or late June. IBM says that Oracle9i should work on...

Part and Inventory Search

Back
Top