10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
2. UNIX for Advanced & Expert Users
Hello All,
I am using Linux. I have two scripts:
inner_script.ksh
main_wrapper_calling_inner.ksh
Below is the code snippet of the main_wrapper_calling_inner.ksh:
#!/bin/ksh
ppids=() ---> Main array for process ids.
fppids=() ---> array to capture failed process ids.
pcnt=0 --->... (5 Replies)
Discussion started by: dmukherjee
5 Replies
3. Shell Programming and Scripting
Experts,
Not sure whether the problem described here is related with Unix or is it with Oracle Installation. Here is the description of the issue:
A new Unix server is setup as a part of Unix and Oracle upgradation activity for one of the Application, I work on.
One strange thing is... (2 Replies)
Discussion started by: Oracle_User
2 Replies
4. Solaris
They asked me to check is if process 'aanr' isn't working or hung!!
$ ps -ef | grep aanr
artsadm 11355 1 0 20:15:01 ? 0:00 /usr/local/bin/perl5 ./aanr
artsadm 28203 1 0 Sep 06 ? 0:49 /usr/local/bin/perl5 ./aanr
artsadm 24646 1 0 Sep 26 ? 0:00... (3 Replies)
Discussion started by: learner46
3 Replies
5. UNIX for Advanced & Expert Users
Hi,
I have one autosys job that will retrieve the proccess id's and will kill those processess as follows,
pid=`/usr/ucb/ps -auwwxx | grep MAIN |nawk '{print $2}'`
kill -9 pid
but after executing this particular job, its status is showing as TE(terminated) and the kill process is... (3 Replies)
Discussion started by: Kattoor
3 Replies
6. Shell Programming and Scripting
Can someone please explain to me how come snmpwalk doesn't always find a running process that's on a remote server?
I prefer to use snmp to monitor processes remotely because this doesn't require me to put a script on that remote box. but the problem is, there are times that my snmp command... (2 Replies)
Discussion started by: SkySmart
2 Replies
7. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
8. Shell Programming and Scripting
Hi
I created one CSV file and i need to append some message in the content of my mail.
$sales=sales.dat
$sales_csv=sales.csv
$sales_report=sales.txt
this is the command am using it.
echo "sales for `date`"| read subject
uuencode $sales $sales_csv | mailx -ms "${subject}."... (2 Replies)
Discussion started by: bobprabhu
2 Replies
9. UNIX for Dummies Questions & Answers
Hello all,
First of all, I want to thank the forum for being so helpful to me in many occasions. I have searched through the forums and the internet. I couldnt find a perfect solution for my issue. Here is what Im trying to do..
Im verifying a bunch of jobs whether they are completed or not... (1 Reply)
Discussion started by: jntgopal
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am using a daemon from which I am forking 3 processes
P1,P2,P3 out of which P3 is compiled with oracle lib32/libclntsh.so and P1,P2 are non database process.
The Logic of daemon is that if any one goes down simply clean the other and refork all the 3 again.
P3 is getting forked first time... (1 Reply)
Discussion started by: unisuraj
1 Replies