12-01-2008
knowing the process status in IBM AIX 5.3
i have quit a few process running in background. The problem is even though the process seems to run background. the process gets hanged or wait for something and these detail is not shown in their respective logs
How to check the status of a background process when it's
1) gets hanged
2) waiting for something
I know of a command called ps, but how to use it to know what i want. Plz help me in this ?
Also i have investigated in with command ps gv [Pid_Id] and it give me info like the below
PID TTY STAT TIME PGIN SIZE RSS LIM TSIZ TRS %CPU %MEM COMMAND
Does it have to do anything with memory when the process gets hanged/wating . please correct me if i m wrong
Last edited by ali560045; 12-01-2008 at 03:11 AM..
8 More Discussions You Might Find Interesting
1. AIX
:confused:
Hello everybody, I am a totel dummy when it comes to UNIX!!!
Must be wondering what I am doing here right?
I'm most keen on knowing about-it-all.
I need help.
Wanna know all about the IBM AIX. The versions, the latest.
Please tell me how do I go about my search.
Thanks a... (3 Replies)
Discussion started by: rtanuja
3 Replies
2. UNIX for Advanced & Expert Users
why IBM-AIX is preferred over HP-UX .....
In what way it is better for infrastructure......?
Suggestions are welcome...
Suggest you read the RULES (0 Replies)
Discussion started by: bishweshwar
0 Replies
3. AIX
hello all,
can anyone send me ibm aix L1 interview questions...
thank u guys...jiyojith (0 Replies)
Discussion started by: jiyojith
0 Replies
4. Programming
hello everybody!!
i want to post a question!
is there any way to get process status using C commands?
To be more specific, i want to know whether a process is running or is stop or killed.
thanks in advance! (3 Replies)
Discussion started by: nicos
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Currently, I'm getting the foll error on an IBM AIX
/etc/profile: 0403-030 The fork function failed. Too many processes already exist.
How can i check the current no. of processes which can run simultaneously on an IBM AIX machine for oracle user and how can i change ?
Thanks
Vin (1 Reply)
Discussion started by: win_vin
1 Replies
6. AIX
Hi,
I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware?
Thanks & Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
7. AIX
This is the password aging script for aix just completed. So far tested and still testing on one of our aix server running 5.3.0.0. So anyway as you can see it is very similar to pwage-hpux-T the only difference on aix /etc/passwd file looks in this format. Also for this script to work you need to... (0 Replies)
Discussion started by: sparcguy
0 Replies
8. AIX
Hi There,
I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available).
Anyone could provide me the following answer -
Can IBM VM been deploy on X86 and X64 (Intel Chip)?
If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies
wait(1) General Commands Manual wait(1)
NAME
wait - await process completion
SYNOPSIS
[pid]
DESCRIPTION
If no argument is specified, waits until all processes (started with of the current shell have completed, and reports on abnormal termina-
tions. If a numeric argument pid is given and is the process ID of a background process, waits until that process has completed. Other-
wise, if pid is not a background process, exits without waiting for any processes to complete.
Because the system call must be executed in the parent process, the shell itself executes without creating a new process (see wait(2)).
Command-Line Arguments
supports the following command line arguments:
The unsigned decimal integer process
ID of a command, whose termination is to wait for.
WARNINGS
Some processes in a 2-or-more-stage pipeline may not be children of the shell, and thus cannot be waited for.
SEE ALSO
csh(1), ksh(1), sh-posix(1), sh(1), wait(2).
STANDARDS CONFORMANCE
wait(1)