Shell Programming and Scripting

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Gzip with high CPU utilization

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-16-2012
nnani nnani is offline
Registered User
 
Join Date: Apr 2012
Last Activity: 11 September 2013, 6:20 AM EDT
Posts: 55
Thanks: 15
Thanked 1 Time in 1 Post
Gzip with high CPU utilization

Hello all,

I am very new to unix and trying to solve this problem.
I have cluster of 3 nodes. when I run TOP command on each server, I see a two GZIP processess with very high CPU utilization even,if I don't go backups or unzipping.

Can somebody tell me what is the problem, I don't want the GZIP process to take so much of CPU utiilzation.
Sponsored Links
    #2  
Old 05-16-2012
otheus's Unix or Linux Image
otheus otheus is offline Forum Advisor  
Smartass
 
Join Date: Feb 2007
Last Activity: 6 September 2017, 5:43 AM EDT
Location: Innsbruck, Austria
Posts: 2,157
Thanks: 12
Thanked 51 Times in 48 Posts
Find out what process is launching the gzip processes. Do something like:
Code:
ps fax | grep -B5 gzip

If your get an error, it's because your ps doesn't support the "f" option and/or grep doesn't support -B. In that case you'll have to trace the job manually using the parent id's of the process. Try:
Code:
ps jax

Find the progress with "gzip", and in the first column will be that process' parent pid (PPID). Find the process whose second column matches that number. Repeat until the PPID is 1. That will be the "parent" process.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
high cpu utilization lhareigh890 UNIX for Advanced & Expert Users 9 03-04-2011 12:48 PM
vsh is high - cpu utilization troystevens Solaris 2 10-18-2010 02:08 PM
High CPU utilization vjm AIX 1 07-22-2008 05:13 AM
High CPU Utilization bbouhaik Solaris 2 11-07-2007 09:46 AM



All times are GMT -4. The time now is 11:54 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?