06-11-2008
to understand stopped process in top
Hi,
top process is shows like this in solaris server oracle 8i running:
load averages: 5.01, 3.35, 2.82 18:24:45
344 processes: 332 sleeping, 5 running, 2 stopped, 5 on cpu
CPU states: 22.2% idle, 29.6% user, 14.7% kernel, 33.5% iowait, 0.0% swap
Memory: 8192M real, 1450M free, 4922M swap in use, 3965M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
18219 oracle 11 10 0 0K 0K cpu/3 39:06 12.50% oracle
24836 oracle 1 59 0 0K 0K cpu/2 0:11 7.71% oracle
10385 oracle 11 60 0 0K 0K sleep 27:32 4.13% oracle
8840 oracle 26 59 0 0K 0K sleep 54:17 2.40% oracle
8843 oracle 23 59 0 0K 0K sleep 30:04 1.54% oracle
13164 oracle 23 59 0 0K 0K sleep 8:13 1.52% oracle
8845 oracle 24 59 0 0K 0K sleep 15:48 1.49% oracle
19785 oracle 11 59 0 0K 0K cpu/3 71:07 1.14% oracle
19621 oracle 1 59 0 0K 0K sleep 71:35 1.04% oracle
18235 oracle 1 59 0 0K 0K sleep 1:14 0.91% oracle
19787 oracle 11 59 0 0K 0K sleep 71:02 0.88% oracle
19789 oracle 11 59 0 0K 0K sleep 70:59 0.86% oracle
20984 oracle 11 59 0 0K 0K sleep 1:38 0.63% oracle
26424 oracle 12 59 0 0K 0K run 841:09 0.61% oracle
18269 oracle 11 59 0 0K 0K sleep 1:19 0.57% oracle
i want to know what is this stopped process can i identify pid of these 2 process.
Regards
Prakash
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I run the top command, it shows 1 process as being Stopped. This is not a zombie, but simply a stopped process. Unfortunately, I can't figure out how to tell which process this is, nor why it is in a stopped state? Any way of finding this out? (7 Replies)
Discussion started by: IrishRogue
7 Replies
2. UNIX for Dummies Questions & Answers
One of my linux machines has a 'stopped' process which i need to find. How do i find the process that is iin 'stopped' mode. I am running red hat linux enterprise.
Frank
I have now answered this myself with the following command:
ps -e j |grep Z (2 Replies)
Discussion started by: frankkahle
2 Replies
3. Shell Programming and Scripting
Hello, I need advice on how to check if started processes are finished in perl, here's explanation :
OS is RHEL 4, perl -v = "This is perl, v5.8.0 built for i386-linux-thread-multi"
The logic of the script :
#!/usr/bin/perl
use warnings;
$param1 = $ARGV;
$param2 = $ARGV;
$param3 =... (2 Replies)
Discussion started by: sysgate
2 Replies
4. Shell Programming and Scripting
Hi Guys,
I am running a script which will refresh the views in my database.
After running the script, when i ran ps -ef | grep "script_name"
I found there are two entries for the same script process (actually 3 including the grep process).
/bin/ksh path/scriptname
sh -c... (4 Replies)
Discussion started by: mac4rfree
4 Replies
5. UNIX for Advanced & Expert Users
I let a script A call script B.
I used
nohup a.sh &>/tmp/log &
In script A it calls B directly, without any redirecting or nohup or background.
However A is always "Stopped", while B is running correctly. Anybody knows why?
thanks!
-----Post Update-----
BTW, if I don't use nohup... (1 Reply)
Discussion started by: meili100
1 Replies
6. Shell Programming and Scripting
I let a script A call script B.
I used
nohup a.sh &>/tmp/log &
In script A it calls B directly, without any redirecting or nohup or background.
However A is always "Stopped", while B is running correctly. Anybody knows why?
thanks!
-----Post Update-----
BTW, if I don't use nohup... (4 Replies)
Discussion started by: meili100
4 Replies
7. UNIX for Dummies Questions & Answers
Hi. Before throwing my question, thanks to everybody for paying attention. Sorry if my english isn't good enough, but it's not my mother tongue.
That's my question:
I have a java program that throws an external program with "Process p = Runtime.getRuntime.exec(***)". The communication between... (2 Replies)
Discussion started by: jlopezperez
2 Replies
8. UNIX for Advanced & Expert Users
UNIX Tutorial Five
% kill %jobnumber
Does that not work on a stopped process? I've tried to kill a stopped process and it is not working. Or do you need a certain type of shell for this to work? I don't see anything about this in my man pages. (3 Replies)
Discussion started by: cokedude
3 Replies
9. Solaris
I understand the OBP program looks for the boot-device, loads the bootblk (located on physical disk sectors 1 through 15). Then the secondary boot program, /platform/`arch -k`/ufsboot is run. This program loads the kernel core image files (genunix and unix).
So how does it uses the ufsboot and... (1 Reply)
Discussion started by: MR.bean
1 Replies
10. HP-UX
Hi,
A database (Oracle) replication process was executed by the DBA team in one server (serverX). However, this replication process gets terminated, and there are no errors in the replication log. But there is error in the OS log files (syslog.log) :
Aug 8 16:51:47 L28dre02 sshd: subsystem... (1 Reply)
Discussion started by: anaigini45
1 Replies
UPTIME(1) Linux User's Manual UPTIME(1)
NAME
uptime - Tell how long the system has been running.
SYNOPSIS
uptime
uptime [-V]
DESCRIPTION
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are
currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
This is the same information contained in the header line displayed by w(1).
System load averages is the average number of processes that are either in a runnable or uninterruptable state. A process in a runnable
state is either using the CPU or waiting to use the CPU. A process in uninterruptable state is waiting for some I/O access, eg waiting for
disk. The averages are taken over the three time intervals. Load averages are not normalized for the number of CPUs in a system, so a
load average of 1 means a single CPU system is loaded all the time while on a 4 CPU system it means it was idle 75% of the time.
FILES
/var/run/utmp
information about who is currently logged on
/proc process information
AUTHORS
uptime was written by Larry Greenfield <greenfie@gauss.rutgers.edu> and Michael K. Johnson <johnsonm@sunsite.unc.edu>.
Please send bug reports to <albert@users.sf.net>
SEE ALSO
ps(1), top(1), utmp(5), w(1)
Cohesive Systems 26 Jan 1993 UPTIME(1)