Ghost Process + CPU consumption


 
Thread Tools Search this Thread
Operating Systems SCO Ghost Process + CPU consumption
# 1  
Old 02-13-2008
Data Ghost Process + CPU consumption

Hi everyone,

I have a problem on sco unixware 7.1.4

a Ghost process is consuming cpu usage.

rtpm

cpu 0 ======---------
cpu 1 ===---------------------
cpu 2 ============================================================-----------
cpu 3 ================================================================-------
|cpu 4 ================================================================-------
vcpu 5 ==================================================================-----
%s= %u- | 10| 20| 30| 40| 50| 60| 70| 80| 90| 100|

CPU: CALLS/s: IO/s: QUEUE: TTY/s: ETHER:
42 %cpu 659818 calls 373 reads 0 runq 0 rcvs 168 xpkt/s
9 %usr 415 forks 1636 rdblk 0 %run 0 xmit 184 rpkt/s
32 %sys 528 execs 4 writs 0 prunq 0 mdms 16005 xoct/s
0 %int 5068 reads 52 wrblk 0 %prun 0 canch 14987 roct/s
54 %wio 704 writs 1 qlen 0 swpq 37 rawch 0 xerrs
4 %idl 4184 Krwch 11 %busy 0 %swp 8198 outch 0 rerrs

MEMORY: PAGING/s: FILESYS/s: LWPS: NETWARE: TCP/IP:
61271 kma 0 pgins 0 igets 575 lwps 0 spx/s 156 tcp/s
1.76e6 frmem 0 pgots 4346 lkups 1 run 0 ipx/s 196 udp/s
2.52e6 frswp 14538 atchs 338 dirbk 566 sleep 0 sap/s 0 icmp/s
16 %mem 8340 pflts 96 %dnlc 0 zomb 0 rip/s 354 ip/s
12 %swp 9316 vflts 12555 inode 500 procs 0 errs 3.49e7 errs

----------------------------------
ps -fuUserA

UserA 2538 28892 TS 70 0 15:23:53 pts/82 0:00 sh menu
UserA 12773 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12863 1 TS 70 0 15:51:07 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12578 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12902 12901 TS 70 0 15:51:07 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12888 1 0 0:00 <defunct>
UserA 12930 12907 TS 80 0 15:51:07 ? 0:00 tput init
UserA 12562 12539 TS 80 0 15:51:06 ? 0:00 tput init
UserA 12628 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12539 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 2750 2539 TS 80 0 15:40:56 pts/82 0:00 fglgo te_enq_mt
UserA 12906 4484 TS 85 0 15:51:07 ? 0:00 /usr/lib/hpnp/hpnpf -x jetdirect1 -p 9101
UserA 12495 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12716 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12901 4482 TS 85 0 15:51:07 ? 0:00 /usr/lib/hpnp/hpnpf -x jetdirect1 -p 9101
UserA 12922 12902 TS 80 0 15:51:07 ? 0:00 tput init
UserA 12878 12858 TS 80 0 15:51:07 ? 0:00 tput init
UserA 12645 12622 TS 80 0 15:51:06 ? 0:00 tput init
UserA 12676 1 TS 70 0 15:51:06 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
UserA 12698 12676 TS 80 0 15:51:06 ? 0:00 tput init
UserA 12858 1 TS 70 0 15:51:07 ? 0:00 /etc/lp/interfaces/model.orig/talcard talcard-12 metibm02!UserA 1 flist=':80
# 2  
Old 02-14-2008
Try running this:

#ps -A -o "pid=" -o "pcpu=" |awk '$2 > 5 {print $1 " " $2}' | sort -r +1

It will list all processes consuming more than 5% of cpu
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Understanding cpu consumption with TOP

Hi please see attached picture of the TOP command. the "java" process seem to consume 700% of cpu is that mean that he uses 100% of every 7 cpu cores? thanks (2 Replies)
Discussion started by: guy3145
2 Replies

2. HP-UX

Find out most memory consumption process in HP UX

Dear All, I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it? Kauser (2 Replies)
Discussion started by: makauser
2 Replies

3. AIX

AIX resources consumption group by process pattern

Hi, I have AIX processes something as below, how to know the resources consumption group by process pattern "price" and "devdb"? eg: CPU RAM WIO price 20% 250M 5% devdb 30% 1000M 8% oracle 2990122 1 0 10:33:39 - 0:00... (1 Reply)
Discussion started by: victorcheung
1 Replies

4. UNIX for Advanced & Expert Users

Help! CPU consumption - %usr and %sys ??

On Linux, top shows how much % of CPU is consumed by "user" as well as "sys" like below. Tasks: 272 total, 3 running, 268 sleeping, 0 stopped, 1 zombie Cpu(s): 65.9%us, 33.8%sy, 0.0%ni, 0.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 16300960k total, 16212488k used, 88472k free, ... (0 Replies)
Discussion started by: gomes1333
0 Replies

5. Shell Programming and Scripting

Shell script to display top 5 process (per cpu consumption)

Hello, I have to create shell script being myself real novice in scripting... I was looking on the Internet for some script examples, but I don't have the basic understanding of the shell. I was trying to do something with “ps” command without success. For exemple total number of... (2 Replies)
Discussion started by: mr_awd
2 Replies

6. UNIX for Advanced & Expert Users

Throttling Process Resource Consumption

Is there a way of throttling a process resources, something akin to limits but for processes not users? ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern. (3 Replies)
Discussion started by: humbletech99
3 Replies

7. Solaris

real memory consumption of a process

hi pmap, prstat and ps gives the RSS which is shared memory. I need to know the consumption of real memory. how to do that? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

8. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

9. Shell Programming and Scripting

CPU Consumption comparision.

hi, i hav a script which processes 1000 files one by one in every run jus for searching their corresponding output files at a given path, due to this my script runs for long time and taking more CPU, can we have any way in which we can have this check at least 100 files in a single shot... (5 Replies)
Discussion started by: Prateek007
5 Replies

10. UNIX for Advanced & Expert Users

CPU consumption

Hello experts, I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on... (3 Replies)
Discussion started by: pleaseteachmeun
3 Replies
Login or Register to Ask a Question