Sponsored Content
Full Discussion: Wait process holding CPU
Operating Systems AIX Wait process holding CPU Post 302772662 by gopeezere on Tuesday 26th of February 2013 10:58:34 AM
Old 02-26-2013
[SOLVED] Wait process holding CPU

Hi all,

Have this performance Issue,

[
Code:
srvbd1]root]/]>ps vg | head -1 ; ps vg | grep -w wait
    PID    TTY STAT  TIME PGIN  SIZE   RSS   LIM  TSIZ   TRS %CPU %MEM COMMAND
   8196      - A    4448:23    0   384   384    xx     0     0 12.8  0.0 wait
  53274      - A    4179:28    0   384   384    xx     0     0 12.1  0.0 wait
  57372      - A    4436:05    0   384   384    xx     0     0 12.8  0.0 wait
  61470      - A    4173:05    0   384   384    xx     0     0 12.0  0.0 wait
[srvbd1]root]/]>ps -ef | grep 8196| grep -v grep
[srvbd1]root]/]>

There are 4 "wait" commands and it occupies like 50 % of CPU, as showed by ps aux

Code:
[srvbd1]root]/]>ps aux | head -1; ps aux | sort -rn +2 | head -5
USER        PID %CPU %MEM   SZ  RSS    TTY STAT    STIME  TIME COMMAND
root      57372 12.8  0.0  384  384      - A      Feb 20 4437:22 wait
root       8196 12.8  0.0  384  384      - A      Feb 20 4449:41 wait
root      53274 12.1  0.0  384  384      - A      Feb 20 4180:41 wait
root      61470 12.0  0.0  384  384      - A      Feb 20 4174:17 wait
fin102   299090  0.2  0.0 1992 1976      - A    09:19:01  0:42 /u02/F10204/UBS/
[srvbd1]root]/]>

Please help me killing these wait process, as they are not real processes. Help would be greatly appreciated. Server performance is very poor, even login takes hell lotta time.

Moderator's Comments:
Mod Comment edit by bakunin: which part of "please use CODE-tags" was so hard to understand?

Last edited by bakunin; 02-26-2013 at 12:38 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Process Wait on DG UX

Does anyone know what the equivalent command to pwait on Solaris is on DG/UX. I need my script to kick off a process and wait till it is complete before continuing with the script. (4 Replies)
Discussion started by: fabbas
4 Replies

2. UNIX for Advanced & Expert Users

86% CPU for wait

Hi, is-it normal to have 86% of CPU for wait commande : ps aux| head -20 UTIL PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND root 516 86,6 0,0 12 12 - A 02 nov 2088:03 wait oralfa01 54422 4,6 1,0 68044 39868 - A 09:20:06 2:27 oracleALFA01 If... (3 Replies)
Discussion started by: big123456
3 Replies

3. Shell Programming and Scripting

wait command - cat it wait for not-chile process?

Did not use 'wait' yet. How I understand by now the wait works only for child processes, started background. Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?) I need to start a background process, witch will be waiting... (2 Replies)
Discussion started by: alex_5161
2 Replies

4. 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

5. AIX

%wait nmon CPU-UTILISATION

Hi, I collect statistics with nmon. I'm very suprised about % wait of processor. Number Of Processors: 4 Processor Clock Speed: 4204 MHz Do U have an idea about % wait ? │ 0----------25-----------50----------75----------100 ... (1 Reply)
Discussion started by: tagger
1 Replies

6. Shell Programming and Scripting

How to make the parent process to wait for the child process

Hi All, I have two ksh script. 1st script calls the 2nd script and the second script calls an 'C' program. I want 1st script to wait until the 'C' program completes. I cant able to get the process id for the 'C' program (child process) to make the 1st script to wait for the second... (7 Replies)
Discussion started by: sennidurai
7 Replies

7. Solaris

How to check which process is holding up the ilde port

HI All Am on Sun OS.While trying to start a process , we could see that the port is idle and we are not able to find the process holding that port. Below is the result we get after using netstat command. lsof command is not yet installed in our machine. netstat -a | grep "port no"... (5 Replies)
Discussion started by: Whiteboard
5 Replies

8. Solaris

Process holding /tmp space, need to know the process details

Hi , In a server /tmp has almost reached 75% and i can see the File system utilization is 48Mb only , so i believe some process is using the /tmp space. I would like to know which process is using /tmp space. # df -h /tmp Filesystem size used avail capacity Mounted on swap ... (9 Replies)
Discussion started by: chidori
9 Replies

9. AIX

Wait time shows high CPU usage

Hi, I can't seem to make sense of this. My wait time is showing really high but vmstat's and topas are showing normal usage. ps aux USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND root 9961810 5680.7 0.0 448 384 - A Dec 16 6703072:12 wait ... (2 Replies)
Discussion started by: techy1
2 Replies

10. UNIX for Advanced & Expert Users

How to find process holding a semaphore?

Hello All, The system concerned has multiple processes communicating with each other using shared memory. These processes use semaphores to protect data being used amongst them. The "key" would uniquely identifies the particular semaphore corresponding to a resource for the various processes. ... (2 Replies)
Discussion started by: saptarshi
2 Replies
ascompose(1x)															     ascompose(1x)

NAME
ascompose - tool to compose image(s) and display/save it based on supplied XML input file. SYNOPSIS
ascompose -f file|-s string [-o file] [-t type] [-V]" ascompose -f file|-s string [-o file] [-t type] [-V]" ascompose -f file|-s string [-o file] [-t type] [-V] [-n]" ascompose -f file|-s string [-o file] [-t type] [-V] [-r]" ascompose [-h] ascompose [-v] DESCRIPTION
ascompose reads supplied XML data, and manipulates image accordingly. It could transform images from files of any supported file format, draw gradients, render antialiased texturized text, perform superimposition of arbitrary number of images, and save images into files of any of supported output file formats. At any point, the result of any operation could be assigned a name, and later on referenced under this name. At any point during the script processing, result of any operation could be saved into a file of any supported file types. Internal image format is 32bit ARGB with 8bit per channel. Last image referenced, will be displayed in X window, unless -n option is specified. If -r option is specified, then this image will be displayed in root window of X display, effectively setting a background for a desktop. If -o option is specified, this image will also be saved into the file or requested type. ascompose can be compiled to not reference X Window System, thus allowing it to be used on web servers and any other place. It does not even require X libraries in that case. Supported file types for input are : XPM - via internal code, or libXpm library. JPEG - via libJpeg library. PNG - via libPNG library. XCF - via internal code. For now XCF support is not complete as it does not merge layers. PPM/PNM - via internal code. BMP, ICO, CUR - via internal code. GIF - via libungif library. TIFF - via libtiff library (including alpha channel support). see libAfterImage/ASImageFileTypes for more. Supported file types for output : XPM - via internal code, or libXpm library. JPEG - via libJpeg library. PNG - via libPNG library. GIF - via libungif library. TIFF - via libtiff library (including alpha channel support). OPTIONS
-h --help display help and exit. -f --file file an XML file to use as input. -s --string string an XML string to use as input. -n --no-display don't display the last referenced image. -r --root-window draw last referenced image image on root window. -o --output file output last referenced image in to a file. You should use -t to specify what file type to use. Filenames are meaningless when it comes to determining what file type to use. -t --type type type of file to output to. -v --version display version and exit. -V --verbose increase verbosity. To increase verbosity level use several of these, like: ascompose -V -V -V. -D --debug maximum verbosity - show everything and debug messages. PORTABILITY
ascompose could be used both with and without X window system. It has been tested on most UNIX flavors on both 32 and 64 bit architecture. It has also been tested under CYGWIN environment on Windows 95/NT/2000 USES
libAfterImage all the image manipulation routines. libAfterBase Optionally. Misc data handling such as hash tables and console io. Must be used when compiled without X Window support. libJPEG JPEG image format support. libPNG PNG image format support. libungif GIF image format support. libTIFF TIFF image format support. AUTHOR
Ethan Fisher <allanon at crystaltokyo dot com> Sasha Vasko <sasha at aftercode dot net> Eric Kowalski <eric at beancrock dot net> EXAMPLE
Here is the default script that gets executed by ascompose, if no parameters are given : SOURCE
static char* default_doc_str = " <composite op=hue> <composite op=add> <scale width=512 height=384><img src=rose512.jpg/></scale> <tile width=512 height=384><img src=back.xpm/></tile> </composite> <tile width=512 height=384><img src=fore.xpm/></tile> </composite> "; ascompose Mon Feb 18 2002 ascompose(1x)
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy