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 strongm 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 mmcds

  1. mmcds

    run two shell scripts in one at same time?

    That worked. Thanks!
  2. mmcds

    run two shell scripts in one at same time?

    I am trying to run two shell scripts at once only in one script to kick it off on linux. For example, below is what I do in my kick off script, which is called (startupdatedb.sh). #!/bin/ksh ssh userdb@app3 'cd /scripts/oss/ && ./updatedb.sh' ssh userdb@app1 'cd /scripts/oss/ &&...
  3. mmcds

    semaphore

    nevermind on my previous question.. I figured it out with a C program. Not used to compiling C programs. Thanks for the suggestion to my original question.
  4. mmcds

    semaphore

    hey macd68. Is this code part of a shell script or part of a kernel tweak?
  5. mmcds

    semaphore

    I am using SuSE Linux and have reached my array limit for semaphores. I did the ipcs -u to see what I am using and ipcs -l to show my limits. I tried the ipcs -s to see what all arrays are being used and it is showing this ------ Semaphore Arrays -------- key semid owner...
  6. mmcds

    Stack Size

    Can anybody explain to me what stack size acutally is and how can you ever guess what to set it to? When I do ulimit -a it shows unlimited for stack size, but I have some problems running a couple programs on my Linux box that shows a segmentation fault.
  7. mmcds

    script to check for old java processes

    Thanks for the suggestions. That worked great.
  8. mmcds

    ps -ef output headers

    Thanks for the help. Now my question is that if I have a STIME of Nov06 for example, then is there any way to see what the start time of it was?
  9. mmcds

    ps -ef output headers

    Need help to understand what the headings of the output of a ps -ef command is. Below is an example of the output of my ps -ef command websubcu 11667 11657 0 10:56 ? 00:00:00 /scripts/test.sh I understand what the websubcu, 11667, 11657 and /scripts/test.sh headings/fields are, but...
  10. mmcds

    script to check for old java processes

    I am running on SuSE Linux and I am trying to find a way how I can find any process that is older than 1 day/24 hours and kill it via a script that I will put in cron to run once a day or so. These are WebSphere/Java processes the get hung from time to time due to programming issues or whatever...
  11. mmcds

    IF script using OR

    The suggestions are great everybody. Thanks for the help!
  12. mmcds

    IF script using OR

    That has worked your suggestions, but now say I have /nfslogs/weblogs and about 100 different subdirectories under there that all have their own agent, access, test, referer files I want to check for. How could I easily scan through multiple directories instead of have a...
  13. mmcds

    IF script using OR

    This may be pretty easy, but I am having trouble with it. I have an IF statement that I want to do and I want it to check to see if 4 different files are nonzero byte files. below is my if statement. if [ -s /nfslogs/weblogs/access_log.`date +"%m%d"` ] ; then How can I have it look at 4...
  14. mmcds

    rewriterule for https and http

    I have a website say www.example.com. This is setup for port 80 and 443. The redirect/rewrite rule I use currently is for the port 80 virtual host for example.com in my httpd.conf file. When the user types www.example.com I want it to redirect to this URL below...
  15. mmcds

    rewrite rule

    Thanks for the suggestion. That seemed to work.

Part and Inventory Search

Back
Top