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


ADVERTISEMENT

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 :: Will Command Service Httpd Restart Apache Service?

Dec 25, 2009

will the command service httpd restart the apache service if i enable httpsd service in graphical mode

View 12 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

Ubuntu Servers :: Perform An Action Before A Service Starts And After A Service Stops

Sep 10, 2010

I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.

I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.

I am having trouble finding the script that stops the server so I can modify.

View 1 Replies View Related

Red Hat / Fedora :: Shows Unrecognized Service After Restart Service Smb

Feb 28, 2010

i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows

samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....

View 2 Replies View Related

Fedora :: Start A Service Before Network Service?

Nov 6, 2010

I need to start a service before network service How to?

View 1 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

OpenSUSE :: Get A Message That Says 'Search Service Not Running' With A Button That Says 'Start Search Service'?

Jun 12, 2010

The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens

View 1 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 :: 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 :: 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

General :: How To CPU Usage Of Process From / Proc?

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 3 Replies View Related

General :: How To Monitor CPU / RAM Usage And Top Processes

Mar 18, 2010

I have a question. I want to monitor
- CPU usage daily
- RAM usage daily
- Harddisk Space
- top processes
- hardware failure

What commands do I need to run to output the result to a log file? I know there are solutions both paid and free, but my company does not allow. they want linux built in commands or methods to do it. I do not know bash scripting. I know some commands like "df -h" to monitor harddisk space but not sure on the other stuffs.

View 9 Replies View Related

General :: How To Maximize The Memory Usage

Mar 31, 2010

Maximize Linux Memory usage

View 11 Replies View Related

General :: Need To Limit CPU Usage Of Process

Jan 26, 2010

There's a disfunctional process eating copious cpu time.Is there a way to effectively assign it a high nice value? I need to do this whenever it runs, for whatever reason, and I can't be bothered to track down all the scripts and scenarios that cause it to run and change the script to use nice. And I can't be bothered to manually run renice whenever I notice that it's running.

I want the OS to automatically assign a high nice value to this process, perhaps based on the processes name. Is this possible?Presumably, a cron job could run every 5 minutes and run "renice" on every process matching a given name, but I'm hoping for a solution with more finess.

View 2 Replies View Related

General :: SED Usage To Delete An Injection?

Apr 28, 2011

Trying to delete injected code (one line) into multiple .php and .html files of a server with sed command but it seems there is a problem with sed when " and / are included in the string to be deleted.The string that needs to be deleted is <img heigth="1" width="1" border="0" src="http://imgddd.net/t.php?id=16382836"> However the last part of the string (id=########) is not constant (the number is variable) so I used the following:find /home -type f -iname index.html* -o -iname index.php* -o -iname index.html* -o -iname index**| while read FILE; do sed -i "s|<img heigth="1" width="1" border="0" rc="http:\imgddd.net*">||g" "${FILE}"; doneFor some reason it successfuly deleted the injection on .html files but NOT in .php files

View 8 Replies View Related

General :: To Get The Disk Usage Of The System?

Sep 3, 2010

when we use the df command it list the disk usage list for all mounted files ..

#df -h
/dev/sda4 47G 34G 11G 78% /
varrun 1009M 120K 1009M 1% /var/run

[code]....

View 1 Replies View Related

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 View Related







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