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/ &&...
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.
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...
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.
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.