General :: Unknown CPU Usage - Top And Ps Don't Show The Cause

Oct 11, 2009

So a few weeks ago a Linux server was having high CPU usage, but we weren't able to determine what program was causing it. The top and ps commands (and others) didn't show any programs using a huge amount of CPU resources, but %idle was at 0 and our monitoring software showed 100% usage. Yet no process was found by ps and top to explain it. The usage was caused by a DBA doing some work, but we never found out why we could not see the application causing the usage.

Now here I am several weeks later and I have the same problem, but this time it is on my Palm Pre. I upgraded to 1.2.1, and now it runs very slowly.

A quick top in an SSH session shows:

Code:

Now, assuming I'm not just being stupid (which is always a possibility) the first two values on the CPU line show a total of 100% usage, yet no process shows that. The ps command shows a similar result.

So, what is causing the high CPU usage? Why doesn't top and ps show it?

View 8 Replies


ADVERTISEMENT

General :: Disk Usage By Unknown File

Jul 31, 2010

i am facing problem of space usage by unknown file on /var partition.

[root@test var]# df -h

Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 3.3G 16G 18% /
/dev/sda5 39G 36G 769M 98% /var
/dev/sda6 15G 4.7G 9.1G 34% /var/spool/squid
/dev/sda1 487M 16M 446M 4% /boot
tmpfs 1014M 0 1014M 0% /dev/shm

where as when I checked the using du -sh in its maximum utilization is about 5.9GB. i want to know the space being utilized by whom.

[root@test /]# du -sh /var
5.9G /var

View 5 Replies View Related

General :: Free - Top And Htop Show Different Memory Usage

Jul 12, 2011

I'm trying to meter my memory usage. When I use these different programs, they all show me using different amounts of RAM.

View 2 Replies View Related

Applications :: Show Disk Usage Of A Command?

Jan 9, 2010

The command time shows the time taken by a command to complete. Is there a command that shows the change in disk usage caused by a command? I would like to know how large a package is when I install it from source.

View 2 Replies View Related

General :: Status Of Memory Usage And Disk Usage Using Sigar In Windows And Ubuntu

Mar 15, 2010

I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.

View 14 Replies View Related

General :: Unix - Monitor Average CPU Usage And RAM Usage On One Process System?

Nov 15, 2010

Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!

View 2 Replies View Related

General :: Evolution Does Not Show Content Of Inbox Or Sent But Does Show Other Folders

Apr 28, 2011

I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)

I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.

Things I checked already:
View is all
Folder subscription is on and local copy is on

More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.

View 1 Replies View Related

Fedora :: Hidden Disk Space Usage \ Can't Figure Out Where The Runaway Usage Is?

Dec 10, 2010

I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:

Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on

[code]....

View 5 Replies View Related

CentOS 5 :: PHP Not Working - Blank Page - Get This Warning: Unknown: Failed To Open Stream : Permission Denied In Unknown On Line 0?

May 5, 2010

I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns

-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~

I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.

View 2 Replies View Related

Red Hat / Fedora :: Get The Value Of CPU Usage - Memory Usage ?

Jan 13, 2009

I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?

View 3 Replies View Related

Server :: "free" Shows Far More Memory Usage Than Summing Up Application Usage?

Aug 6, 2010

I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":

Code:

[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092

[code]....

View 2 Replies View Related

General :: CPU Usage Of Process

Jul 15, 2011

I am currently writing a JAVA script to monitor certain unix processes through JConsole. Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever.Now i can pull back any information from any of the files I want, and the current way i determine the CPU usage of a process is as follows:Add the UTime and STime of that process from /proc/pid/stat then divide my pidCpu by UTime + STime + NTime from /proc/stat, then multiply that by 100, should give me the % cpu usage a process is using, right?Theory being if I get the jiffies assigned to my process, I can divide that by the total jiffies the cpu assigns.

However, my results seem to vary from the ones gathered from top and ps. What am I doing wrong?

View 2 Replies View Related

General :: Process CPU Usage

Sep 6, 2010

If I, using sar or vmstat, found that there is a CPU load on my Linux box. How can I know the top processes consuming the CPU?

View 9 Replies View Related

General :: Check Overall Cpu Usage?

Jun 16, 2011

I wonder to know the command or the procedure to get the overall CPU utilisation in linux. I have used top, iostat, mpstat but the outputs are not the way i needed. Is it possible to get the output like...

CPU usage: .....% or something like that.

View 2 Replies View Related

General :: How To Check Ram Usage

Jan 4, 2010

I am running Slackware 13.0. I am aware of free -m, vmstat, top, etc. However, none of these programs display how much ram each program is using. Is there a program that displays how much ram each program is using? I run a headless so I'd need a program that runs in CLI.

I know that top command shows %MEM (only two programs were using 0.1%MEM) but after running free -m I only have a total of 400 MB ram left out of my 1.5 GB of ram. Where is all that lost ram?

View 9 Replies View Related

General :: Service At 100% CPU Usage

Mar 12, 2010

my linux bos red hat Ent 5.0 is reporting CPU usage 100% for the service/agent cimserver.basically is slows down my system and I have to kill it so my system is OK again.my question is Can I set the CPU usage for this service? I mean can I set it to use only 4% or 10% of my CPU? or any other way to troubleshoot this 100% CPU usage. Since I've uninstalled and reinstall the agent and same issue.is it possible to set the CPU Usage?

View 5 Replies View Related

General :: Top Command Usage ?

Aug 11, 2009

Does top command find out cpu time and process time for an interval and then calculates the process's cpu usage

eg: process time(interval 5sec)/cpu time (interval 5 sec)*100 %

View 1 Replies View Related

General :: Usage Of Man Command In Red Hat?

Dec 14, 2010

I'm need how to use the man & cat commands in red hat linux

View 2 Replies View Related

General :: Unknown Encoder 'libmp3lame'

Oct 31, 2010

I'm using ffmpeg to convert my files but when I tried to convert WAV -> MP3 I got this error. It's surprising for me cause I installed this one yesterday. What could happen?

View 3 Replies View Related

General :: Weird Prefix Unknown-00-11-24-22-67-14?

Aug 21, 2010

've googled first - but why is this in front of my username? (and dir) I have never seen it before but am new to terminal and want to learn.I am trying to rm the .Trash (some locked crap) sudo rm -rf /* isn't working and this weird 'prefix' is in front of every directory. Have I hosed it

View 7 Replies View Related

General :: CPanel New Accounts Are 'unknown IP'

Apr 30, 2011

I will expain my setup :

SERVER 1 - SHARED ACCOUNTS
SERVER 2 - RESELLER ACCOUNTS

On server 2, all of a sudden my resellers are complaining that the accounts they create are not working, so I checked out.. and I realised that the accounts all have 'Unknown' as the IP.

So, steps I took so far...

1. Rebuilt Apache
2. Restarted the server

After each of these steps I have created new accounts, and still I have this error.

View 2 Replies View Related

General :: Hostname: Unknown Host

Jan 15, 2010

I am installing ISPconfig on a Ubuntu server 9.10. When i write hostname -f i get the unknown host message.

View 4 Replies View Related

General :: How To Solve 'unknown User'

Nov 23, 2010

I've recently configured our mail server (postfix/dovecot). Everything is running, I have a reverse DNS, MX records, A records etc.. I've added the users already.Here is the problem, whenever I test email from an email client(Outlook 2003), there's no problem. But when try sending email from the outside the mail just bounce or deferred.

View 12 Replies View Related

General :: Installing Unknown Lan Driver From CD?

Jun 16, 2011

OS: CENTOS 5
MOTHERBOARD : ASUS P5G41T-M LX
LAN DRIVER FILE NAME : AR8131_AR8132-linux-v1.0.0.10.tar.gz

How to install the above lan driver ?

View 5 Replies View Related

General :: TOP Command Memory Usage?

Apr 13, 2011

Under SuSE, (Mem: 31908592k total, 31421504k used,) how do i know which process or program using my memory?

View 2 Replies View Related

General :: Memory Usage In Top Is Not Correct?

Apr 15, 2011

I am a bit worried about my linux vserver box. No more memory is left. To investigate this issue, i was looking at "top". But it deeply confuses me. It seems that no more memory is left, altough the process list in top never adds up to 100%

[Code]...

View 4 Replies View Related

General :: Get I/O Usage By Process In Unix?

Aug 10, 2011

Possible Duplicate:
Linux: Is there something similar to "top" for I/O?

I am trying to do some CPU intensive operation on a Linux machine and it is showing very high load.

I want to figure out if this load is due to I/O or CPU usage. How could I get the percentage of I/O usage by process?

View 3 Replies View Related

General :: Way To Limit CPU Usage For Some Process?

Sep 21, 2009

I'm writing a shell script which aims to create a safe gtared (xxx.sql.gz) copy of MySQL databases.This script is planned to be Cron-Jobed.

Well, what I need to add to this shell, is something that limit CPU usage for the whole process (just in case if the database being generating is a huge one.)So, after few time of googling I found couple of solutions:

- Using cpulimit.
I tried to place the code in Position(1) and Position(2) but it didn't seem to be working fine.. Any idea about the right use?

And the other Solution is:- Using nice.

Well, assuming I named my shell script (sqlbacker)..

Finally, this is my first time I ever write a shell, so correct me if somewhere I made a mistake :-)
(The script itself works perfectly)

View 6 Replies View Related

General :: Getting Full Usage Of Ram On 32bit?

Nov 21, 2010

I think To get the full value from your ram on windows you need to have a 64bit install version installed, can someone tell me if its the same with linux or Unix. I have 9gb of ram on my PC & wanted to know if I it matters if I use a 32bit Distro or if I need a 64bit on my 64bit PC to utilize all the ram.

View 5 Replies View Related

General :: Compare Distributions By Ram Usage?

Jan 20, 2011

compare the best ram memory usage among linux distributions?

At the moment with some live linux distributions I run "free -m", on the terminal of the graphical dektop environment, without running any other command or application. Is "free -m" the rightest way to evaluate the amount of all the available ram memory left by a linux distribution? Which are the values to sum to evaluate all the available ram memory for the operating system?

Code:
free -m
total used free shared buffers cached
Mem: 499 451 47 0 23 229
-/+ buffers/cache: 198 300
Swap: 1027 0 1027

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved