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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: RobJordan
  • Content: Threads
  • Order by date
  1. RobJordan

    Using sed to match text and print backward and forward to a marker

    I'd like to find a text match "app1.ear" and print the lines above and below until certain makers/boundaries are found <app-deployment> and </app-deployment>. Sample search match: app1.ear Sample Imput Text: <app-deployment> <target>AppCluster</target> <module-type>ear</module-type>...
  2. RobJordan

    How do I preserve file name case when I mount a cd?

    I have mounted a cd on hpux using the mount command. The case of all file names has been converted to lower case. The install program I am trying to run expects mixed case file names. How can I force the preservation of case when I mount a cd? Thank you, Robert Robert G. Jordan Unix Sys Admin...
  3. RobJordan

    explanation of nestat -an command results

    Hi, I am writing a script that monitors connections to webserver ports and I need a better understanding of the different connection states reported in plain English. The following are the different states I can see: CLOSE_WAIT ESTABLISHED FIN_WAIT_2 LISTEN TIME_WAIT ESTABLISHED and LISTEN are...
  4. RobJordan

    saving kernel parameters to an ascii file?

    I would like to save the current kernel parameters in an ascii file to send out in an email. I think there is way to do this without running sam but I can't rember how. Thanks in advance, Robert Robert G. Jordan Unix Sys Admin Sleepy Hollow, Illinois U.S.A. www.InYourMind.com FREE Unix Scripts
  5. RobJordan

    how do I monitor threads?

    I am running hp-ux 11.0 How do I see what threads are being used by the system or an application? Is there a way to manage or release threads without rebooting? Thank you, Robert Robert G. Jordan Unix Sys Admin Sleepy Hollow, Illinois U.S.A. www.InYourMind.com FREE Unix Scripts
  6. RobJordan

    How do I register depot files?

    I am running the gui version of swinstall in hp-ux 11.11 and I would like to select the depot I want to install from a drop down list, but this requires the depot files to be registered. How do I register depot files? Can this be done from the command line? Thank you, Robert Robert G. Jordan...
  7. RobJordan

    HELP! problem trying to compile/install tcl 8.3.2 on hp-ux 11.0

    I posted this question in the hp-ux forum as well. Click on the link below. thread51-236243 Robert G. Jordan Robert@JORDAN2000.com www.JORDAN2000.com/scripts Unix Sys Admin Chicago, Illinois U.S.A. [lightsaber]
  8. RobJordan

    HELP! problem trying to compile/install tcl 8.3.2 on hp-ux 11.0

    Trying to compile tcl 8.3.2 on hp-ux 11.0 and running into errors. I am a novice at compling applications. Robert root @ wwhq726a [/home/downloads/expect/tcl8.3.2/unix] # ./configure loading cache ./config.cache checking for ranlib... (cached) ranlib checking how to run the C preprocessor...
  9. RobJordan

    ftp script with additional firewall login?

    I am familiar with a standard ftp login script but I am having trouble with one that first requires a login to the firewall first. I am not sure if I should use the quote command to do this. I have posted the manual login below that I am trying to automate. Thanks in advance, Robert # ftp...
  10. RobJordan

    ftp script with additional firewall login

    I am familiar with a standard ftp login script but I am having trouble with one that first requires a login to the firewall first. I am not sure if I should use the quote command to do this. I have posted the manual login below that I am trying to automate. Thanks in advance, Robert # ftp...
  11. RobJordan

    add interactive menus to your shell scripts with this function

    faq80-1606 Robert G. Jordan Robert@JORDAN2000.com www.JORDAN2000.com/scripts Unix Sys Admin Chicago, Illinois U.S.A. [lightsaber]
  12. RobJordan

    grep, sed, awk challenge

    I am trying to use this in a script to analyze what commands another script is using. Here's a sample script file. I am trying to write a grep,egrep sed or awk command that will figure out which of the lines below is actually a command #!/usr/bin/ksh echo &quot;Running wc command&quot; echo...
  13. RobJordan

    grep question

    Is there a way to make grep match the absence of a leading character? Here's an examle. Say I want to find the string &quot;bcd&quot;, but I don't want to match zbcd, abcd or any other leading character in front of bcd except for a blank character or when bcd starts at the beginning of a row...
  14. RobJordan

    server side include to redirect standard out from a shell command??

    I would like to create an html document that calls a shell script and lists the standard output in the browser window. I am not sure of the syntax and/or file naming standards to do this task. sample shell script: #!/usr/bin/ksh ls -l #list directory contents Thank you, Robert Robert G...
  15. RobJordan

    New FAQ - Easily add menus to your shell script with this function

    faq80-1606 Create shell menus in minutes or seconds... note: text below may not align correctly as it will on a terminal or telnet session. This sample menu was created with two commands using the Create_Menu function ls >> $TMP_LIST.menu Create_Menu $TMP_LIST.menu &quot;&quot; &quot;Main...
  16. RobJordan

    What is the maximum size for single file in unix???

    What is the maximum size for single file in unix, assuming there is unlimited disk space? Thank you, Robert Robert G. Jordan Robert@JORDAN2000.com www.JORDAN2000.com Unix Sys Admin Chicago, Illinois U.S.A. [lightsaber]
  17. RobJordan

    using shell variables in awk???

    This is from a k shell script. echo &quot; $LINE\c&quot;|awk '{printf(&quot;%-20s&quot;,$0)}' # print menu item As you can see, in the second line of code, I am trying to make the statement dynamic by replacing the hard coded 20 with a shell variable. echo &quot...
  18. RobJordan

    Using shell variables in awk statement???

    This is from a k shell script. echo &quot; $LINE\c&quot;|awk '{printf(&quot;%-20s&quot;,$0)}' # print menu item As you can see, in the second line of code, I am trying to make the statement dynamic by replacing the hard coded 20 with a shell variable. echo &quot...
  19. RobJordan

    What's the easiest way to display system cpu, memory, # drives/size ??

    I am looking for the easiest and most generic way to determine: System model/class Number of cpu's Clock speed of cpu's (ie 550 MHz) Total Physical Memory (not virtual) Number of Drives/Drive Size Thanks in advance, Robert Robert G. Jordan Robert@JORDAN2000.com www.JORDAN2000.com Unix Sys...
  20. RobJordan

    how can I print a specific line number in a file???

    I am trying to AVOID doing a cat of the file and counting the line numbers until I find the number I want. Is there a way to directly print the line number I want to from a file? Thanks in advance, Robert Robert G. Jordan Robert@JORDAN2000.com www.JORDAN2000.com Unix Sys Admin

Part and Inventory Search

Back
Top