01-29-2007
dear johnf
this is an IBM RISC/6000 system with AIX 5.2
i have a number of processes running and sometimes i need to restart those processes whenever i am making changes. but those processes will struggle to start unless i am killing that ugly process which wasn't there in the past.
dt:2:wait:/etc/rc.dt (the entry from inittab for the dt daomon)
my processes also have the word "proc" in their command line.
below is the dtexec process but where can i find the entry related to ttprocid
root 70164 14204 0 15:06:45 - 0:00 /usr/dt/bin/dtexec -open 0 -ttprocid 6.15fh76 01 35700 1342177279 1 1 0 192.168.117.20 4_8531_1 /usr/dt/bin/dtscreen -mode blank
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have a situation, where I have 10 indivudal processess started by similar instance.I say similar instance because each of them being started as a new thread:
Say I've following unix process running
process1_ADAP
process2_ADAP
process3_ADAP
Current scenario:
Now I have SHUTDOWN... (5 Replies)
Discussion started by: braindrain
5 Replies
2. Shell Programming and Scripting
Hi there,
I have written a script to check daily process,
each script is in a different directory.
Now the first process is running fine, when it goes to the next directory the process doesn't executes.
cd result/logs
ref=month_1888.log
echo $ref>> $logfile
cd /max/tot/first... (3 Replies)
Discussion started by: NehaKrish
3 Replies
3. Shell Programming and Scripting
I have this "process keepalive" script:
#!/bin/bash
PIDFILE=/tmp/php.pid
PHPSCRIPT=/home/www/mydomain.com/subdomains/www/parser.php
echo 'Checking php process from PID file'
if ; then
PID=`cat $PIDFILE`
if ps ax | grep -v grep | grep $PID > /dev/null
then
echo "php process still... (4 Replies)
Discussion started by: LukasB
4 Replies
4. UNIX for Dummies Questions & Answers
I have the following log file running since yesterday and its consuming so much of the disk space.
-rw-rw-r-- 1 dev dba 4543237120 Nov 10 09:00 load_run_file1_0.1111091224.lg
How do i kill this process. I don't have any idea of stopping this. Any help would be really appreciated.
... (3 Replies)
Discussion started by: bobby1015
3 Replies
5. Shell Programming and Scripting
Hi all,
I have tried the below code to execute.
#! /bin/bash
date1=`date -d "today 08:00:00" +%s`
date2=`date -d "today 08:01:00" +%s`
path=/home/user01/red/IDC/sample
cd $path
java Cspsamp 111.19.5.172 7025 rd1 rd1 "5022=Query|5026=109378|4=627|5=E:VD|5042=$date1|5049=$date2"... (5 Replies)
Discussion started by: aish11
5 Replies
6. Shell Programming and Scripting
Hi, I have a parallelized Mathematica program that spans across 8 MathKernels processes running at 100% and one MathKernel (highlighted in blue) running at < 10% that controls the other 8. They look like this on the cluster:
https://www.unix.com/attachment.php?attachmentid=5111&stc=1&d=1381245618... (2 Replies)
Discussion started by: giovform
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus,
I am debugging a script. it loops filelist. since the list a very long. when debugging, I only can see the last a few lines. is there any way to stop debuger in the mid of process.
the command I used for debugging is:
ksh -x scriptName
Thanks in advance (7 Replies)
Discussion started by: ken6503
7 Replies
8. Red Hat
This issue could happen to any other service but in this case its commssioning Postfix - it seems i can't stop postfix as the PID relates to another service - i've delete the 'master.lock' but to no available - any ideas, memeory commands etc ?
thanks in advance
ps. the serve is in Production so... (2 Replies)
Discussion started by: stevie_velvet
2 Replies
PS(1) General Commands Manual PS(1)
NAME
ps, psu - process status
SYNOPSIS
ps
psu [ user ]
DESCRIPTION
Ps prints information about processes. Psu prints only information about processes started by user (default $user).
For each process reported, the user, process id, user time, system time, size, state, and command name are printed. State is one of the
following:
Moribund Process has exited and is about to have its resources reclaimed.
Ready on the queue of processes ready to be run.
Scheding about to be run.
Running running.
Queueing waiting on a queue for a resource.
Wakeme waiting for I/O or some other kernel event to wake it up.
Broken dead of unnatural causes; lingering so that it can be examined.
Stopped stopped.
Stopwait waiting for another process to stop.
Fault servicing a page fault.
Idle waiting for something to do (kernel processes only).
New being created.
Pageout paging out some other process.
Syscall performing the named system call.
no resource waiting for more of a critical resource.
FILES
/proc/*/status
SOURCE
/sys/src/cmd/ps.c
/rc/bin/psu
SEE ALSO
kill(1), db(1), ps(1), proc(3)
PS(1)