10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am creating a script in which we will check a folder. If any file placed inside the folder, script will move the file to another folder and Trigger etl process.
Now the issue is that the script should continously check the presence of file inside folder after every minute or hour. So how... (1 Reply)
Discussion started by: dgargd2524
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I want to grep a specific process named "TEST" in AIX but not only is it showing what I want but also listing others that have the similar name. How can I only list "TEST"? I've tried using options grep -w with no change and grep -o isn't supported in my environment.
Please advise.
... (6 Replies)
Discussion started by: seekryts15
6 Replies
3. Shell Programming and Scripting
I've been thinking about a peculiar problem, and so far haven't been able to find out a convincing solution to that.
To put it simply, I have a shell script (assume it to be parent_script.sh), calling another shell script (child_script.sh) 5 times, in nohup mode to be executed in the background.... (3 Replies)
Discussion started by: Aviktheory11
3 Replies
4. Shell Programming and Scripting
Hello all,
I need to set the ulimit -n for a specific java process we are running. Can someone please verify my syntax.
ulimit -n 10000 java com.Company.Application.Application.CustomJavaProcess & (2 Replies)
Discussion started by: jeffs42885
2 Replies
5. Shell Programming and Scripting
Hi
I have the process to kill regulary, but the PSID is dymatic change and not sure how to kill the specific process ID
Check the tradekast_rvd is running , if such process, kill the els process id
ps -e f |grep tradekast_rvd
ps -ef |grep els
then I kill els process id
... (2 Replies)
Discussion started by: linux_user
2 Replies
6. Solaris
Hi,
is there something build in solaris that can act as "watchdog".
I have some process (service) running (e.g. Rhino). It can happen that if freezes totaly so I need to find this out and restart it totaly.
My vision is two possibilities.
1) there is some counter running and I will... (2 Replies)
Discussion started by: freeangel
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have the following script, and it is driving me nuts.
It just hangs, I've tried all kinds of tricks, but it won't work.
I know it can, it is pretty straight forward.
It hangs when it tries to output $X
Any help appreciated!
#!/bin/bash
set -o xtrace
command="top -b"... (10 Replies)
Discussion started by: Bloke
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
We are trying to run reports to determine what percentage of the physical cpu's are being used by Informix ( oninit ) processes on an Aix5.3 box.
Is there any way to do that ? Sar just captures percentages but not by process name
Topas allows us to see some of the processes, but even those... (1 Reply)
Discussion started by: fwellers
1 Replies
9. Shell Programming and Scripting
Hello,
I need to create a process that will kill a specific process if it's running. Let's just say the process is called win, actually called something else. It could be running multiple times on the machine and I would want to kill them all. Below is the code I have written so far, and it... (6 Replies)
Discussion started by: benefactr
6 Replies
10. Shell Programming and Scripting
Hi
I want to check whether specific process is running or not through a shell script.
ps -ef | grep will tell me this, i tried this way in shell
cnt =`ps -ef| grep xyz | awk '{ END {print NR}}`
if it return two rows, job is running else not.
Is there any better way of doing this. (3 Replies)
Discussion started by: agp
3 Replies