General :: Htop - Find The PID Thats Causing The High CPU Cycles?

Dec 29, 2010

Just trying to figure out some stuff with a broken process. A java app seems to sometime get stuck on a loop or something and i'm trying to find out what's causing it using just the following #sysadmin tools at my disposal.

Things like:- htop - find the PID thats causing the High CPU cycles. I'd then want to use /proc/[PID] or lsof -p [PID] or strace [PID] etc. But the PID doesn't exist in 'ps -ef' output so I think htop must be showing me kernel level thread PIDs?

Not sure about the PID's HTOP is actually giving me? I know that some of them are the real PID's that can be accessed through /proc/[pid] etc but others are not but are i assume child processes or more likely threads as child processes are normally shown in a default ps output anyway.

Is someone able to help distinguish to me about what exactly all these other PID's are that I can't manipulate or find apart from when using HTOP.

View 7 Replies


ADVERTISEMENT

CentOS 5 :: Determine What Is Causing High Load

Sep 12, 2011

I am running a CentOS 5.6 32 bit installation under VMWare ESXi and have been experiencing some very high load values from time to time. The server is running multiple installations of gameservers, and the load fluctuates from around 1 to 9, with more or less the same amount of players playing (give or take 5-10 of a possible 80). I've been running DStat with almost all possible metrics, and, except for the large fluctuations in load, nothing else out of the ordinary seems to happen when load is rising. (Log data can be provided, if anyone wants to see it). Disk IO, Network throughput, memory consumption, CPU usage, process count, all stay at the same levels when the load is 1 as when it is 9. How I can begin to troubleshoot this, and find out why the load goes to such high values?

View 1 Replies View Related

General :: Sharing CPU Cycles Between Two Systems?

Apr 21, 2010

I've somehow got it into my head that it's possible to share CPU cycles, though I've no idea where from.So basically that's what I'm asking - is it actually possible to tell one system to 'donate' it's unused CPU time, cycles, whatever they are, for another's use?

View 4 Replies View Related

General :: How To Make Htop Sort By PID

Apr 27, 2011

How can you make htop sort the list of processes by PID?

View 2 Replies View Related

General :: Many Processes Listed Under Same Title In Htop / Why Is So?

Mar 9, 2010

Can anyone explain to me why there are sometimes 10 or 15 processes with the same title and "stats" listed in htop? I'm guessing there are multiple threads running - but that many of them obviously couldn't be running concurrently.

Is there any sort of performance hit taken if a process uses say, 15 non-concurrent threads vs. 10 non-concurrent threads?

View 1 Replies View Related

General :: How To Refresh Htop After Sorting (via Shift+m)

Jun 22, 2011

I love using htop, but I have noticed that whenever I sort by a parameter (for example, Shift+m for sorting by Memory usage), the htop stats stop dynamically refreshing. Is this intended? I also notice this with top as well.

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

General :: Tar Is Causing A Complete Freeze?

Jun 13, 2010

I have a very simple bash script that just runs a series of backups using tar; for example, one of the lines reads:tar -czvpf /srv/backups/backup_home.tar.gz /homeThis script is scheduled to run every Friday, but occasionally I will schedule it to run before using 'at'. The script is located on the same disk as the backups are saved, I then transfer them off the machine manually (I've yet to automate this). I am only compressing files that are located on the server's disk, no files are being transferred over the network at all.

The problem is, occasionally it appears to be causing the 'server' I have running all the time to completely freeze. When this happens the machine does not power down and there are no entries in the log that indicate a problem. Everything simply stops until I press the reset button. Note that this issue also happens when you run the script manually and not just when it is run via cron or at.I *think* this might be happening when a large file is being compressed, but I'm not certain.

View 3 Replies View Related

General :: Closing Lid Causing Applications Not To Work

Jan 16, 2011

Running Linux Mint 9 isadora - After closing the lid I have problem with wireless not working and sound will not work. I have to restart the computer.

View 1 Replies View Related

Fedora :: Unable To Get Enough Cycles To Terminate Anything?

Mar 3, 2011

I have a machine running Fedora 14 and a bunch of movies stored on it as '.iso' images. It is connected to my home theater. I used to use VLC to play these movies and it worked great for a long time. About 4 months ago, about an hour or hour-and-a-half into a movie, the audio suddenly "disappears" and the machine goes CRAZY with almost 100% of the CPU spent writing to the SWAP. At first I thought the machine was locked, but it isn't; it's so doggone busy writing swap. I am unable to get enough cycles to terminate anything. I found the swap activity through System Monitor - it was ABRUPT. Sound stopped, machine became preoccupied with swap.

I have removed/reinstalled VLC, the machine has undergone a couple kernel updates, and I have removed/reinstalled a number of things associated with audio (CD ripper, mpeg stuff, etc.) yet the problem persists. I don't know what happened or when (update-wise). Any body got any ideas? While a solution would be great, I'd also be happy with a couple decent suggestions on what to look for.

View 3 Replies View Related

OpenSUSE Hardware :: CPU Fan Cycles When Machine Not In Use But Not When In Use?

Mar 13, 2010

Never seen this happen before. I'm using the blank screen saver.

View 4 Replies View Related

Programming :: Convert TSC Cpu Cycles Into Seconds In C?

Sep 19, 2010

main()
{
unsigned long long tsc_start, tsc_end;
tsc_start = get_tsc();
// execute some code

[code]....

View 1 Replies View Related

Ubuntu :: Run Htop On Startup?

May 5, 2010

Is it possible to have htop run automatically after I login? If it's too much to ask, it would be great if that specific htop window is locked on the upper right corner of my screen and is a bit transparent (more opacity).

I'm looking for something similar to this one: [URL]

View 4 Replies View Related

General :: Simple Bash Command Causing Bad Variable Name

Feb 18, 2010

When I run this command from shell, it runs ok
export REVS=`svn info svn+ssh://svn.myone.ca/var/svn/story/trunk/lib |grep 'Last Changed Rev:'| awk -F: '{print $2}'`
However when I save it into a file called test.sh (of course, I chmod it with +x), I got error "export: 2: bad variable name"

Here is the file:
#!/bin/bash
export REVS=`svn info svn+ssh://svn.myone.ca/var/svn/story/trunk/lib |grep 'Last Changed Rev:'| awk -F: '{print $2}'`
I am using ubuntu.

View 7 Replies View Related

General :: How To Detect Process Causing System Load

May 2, 2011

Whenever someone copies a data Our system get very slow. Load average of system starts increasing. How would i find which process is causing the same. I have tried following top 10 CPU utilizing process command but it didn't help much.

Code:

ps -auxf | sort -nr -k 3 | head -10

My distribution detail.

Code:

# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer

[code]....

View 4 Replies View Related

OpenSUSE :: Screen Blanker Modules Are Using Almost All The CPU Cycles?

Jul 22, 2010

I have a couple of question regarding the screen blanker on Gnome desktop.I used to use a 1024x768 display with previous openSUSE distribution. With 11.3, I discovered the new "auto-configure" X feature. The default screen mode was 1600x1200, but I changed it to 1280x1024.My gfx board is a Matrox G400 DH. Hardware acceleration is disable because of a missing mga_dri.so (fall back to software rendering).I find some screen blanker modules are using almost all the CPU cycles. Animations are very slow, and it can take long before a keyboard hit or mouse movement makes to leave the blanker.

So the questions:- Is there a way to define another (smaller) screen resolution just for the blanker ?- Who should I try to convince to add mga_dri.so back in Mesa again ?- When the monitor go to sleep (DPMS), the blanker still is running, uselessly consuming CPU times. (I can see that because at the first mouse/kbd event, the monitor wake up and shows the blanker running.) Is there a way to configure the blanker to stop running when the monitor is sleeping ?- There are some modules which load images from HD (not the diaporama which load images in ~/images). But the shown image is always the default built-in one. Where is the blanker trying to load images from ?

View 1 Replies View Related

OpenSUSE Multimedia :: Xorg Eatting Too Many Cpu Cycles?

Nov 20, 2010

I am running open suse 11.3 and keep up on maintenance. Ever since upgrading to 11.3 I find that the number of cpu cycles is being eaten for apparently nothing. In looking at the system monitor I frequently find that Xorg is using 24% and frequently more than that. What can be done to reduce the cpu cycles, or fix the problem?

View 9 Replies View Related

Ubuntu Servers :: GUI - Waste Of CPU Clock Cycles?

Mar 9, 2011

"Servers aren't meant to have GUIs because they are a serious waste of CPU clock cycles." I encountered this line from somewhere here in ubuntu forums, but how could I install tools like mysql wrokbench and stuff, w/c will make my life a lot easier as an administrator? or is there such thing as remote administration?

View 4 Replies View Related

Ubuntu :: Distributed Computing: More Cycles Or More Cores?

Sep 1, 2011

I'm planning on setting up a new Linux box expressly for distributed computing (BOINC, SETI@home, etc.). All things being equal, what's better- More clock cycles or more cores?

View 4 Replies View Related

Debian :: Htop Have Different Colors In Bars?

Apr 28, 2010

Why htop's bars have different colors? Still can't find an answer... And it's bars don't really correspond to the numbers. Even if CPU is loaded 60%, the bar can be loaded almost 100%.

View 3 Replies View Related

Ubuntu :: Output Of Htop In A File?

Apr 15, 2011

result of a command in the terminal. Tried using command > resultfilebut this works with commands like ls which provide a result line by line. But for commands like top, htop and some other the text file adds some string of characters.Example of running htop > test.txt is shown in the attached image. Anybody know how I can remove those characters and get something useful.The problems are those strings of character liek (B and [39m and so on.Also if i open the file on cat if displays fine(well it closes as soon as it opens but i can just see its ok) but on vim and gedit i get the result shown in the image.

View 1 Replies View Related

Ubuntu :: Htop Vs 'top' Vs 'free' Disparity

Sep 22, 2010

When I run Htop on my Ubuntu 10.04 machine, the "Mem" line reads 239/992MB.

However, when I run 'top' I get:

Also, when I run 'free', I get:

It seems like Htop tells me I have more than 700MB free, but 'top' and 'free' tell me that I only have about 270MB free.

View 2 Replies View Related

Ubuntu :: 2 Gfx Cards, 4 Monitors Fails X Fail Cycles?

Aug 20, 2010

I have 2 nvidia gfx cards, if I use the nvidia settings tool to view 2 monitors with the same gfx card works fine, when i use one gfx card for one monitor and the other gfx card for the other monitor X doesnt start and just cycles through monitor flashes.

View 2 Replies View Related

Ubuntu :: Login Screen Cycles/loops After Upgrade?

Jan 8, 2011

I was running 10.04 until yesterday, when it occured to me that I could upgrade to 10.10. So I went to Software Center, set it to get normal releases and left it to do its job. The upgrade appeared to go without a hitch and I rebooted. The login screen appeared. But just before I could click on my username and enter my password, the screen went blank and a second later the login screen was back. But then just before I could click... Undeterred, after half a minute of frantic clicking I did manage to click on my username and get the password prompt. This time, the login screen didn't go anywhere. Yay. To cut a long story short, this is now my standard logon procedure. However, the plot thickens. I appears that instead of 10.10, I ended up with 11.04, Natty Narwhal, which 'was released in April 2011'. If I download an .iso of Maverick and install it over my current version, will it leave my data unharmed AND reset everything so that it works again?

View 5 Replies View Related

Ubuntu Servers :: Multiple Entries In Htop?

Aug 29, 2010

Running 9.04 Xubuntu desktop as server and development environment. I turn off gdm once booted up. When sshing in for other computer I ran htop, and found the following multiple processes:

[Code]....

Is there any good reason why I have multiples of these, or conversely is there a problem by having them? Everything works OK. Apache is only serving up my web development pages which I work on now and then, so its not having to handle external traffic. The server is port forwarded on port 80 through the router.

View 4 Replies View Related

General :: Process Gnome-appearance-properties Causing 100 Percent CPU Usage

Mar 18, 2011

I am running a HP dc5750 dual core computer with a 512MB Nvidia 7200/7300 graphics card my operating system is Ubuntu 10.10. Both my processors are operating at 98-104% cpu usage, it appears that gnome-appearance-properties is the culprit and the only way to return to normal is to end these processes. I have been setting up the desktop cube to my liking and the processor appears to rise up to 100% again. Would getting a 1GB graphics card correct this or is this a bug in maverick meerkat. Any advice would be appreciated. Please keep it simply as I am a Newbie to Linux and find things over-whelming at times. Also would running at 100% on both processors at indefinite periods of time harm my computer.

View 3 Replies View Related

OpenSUSE Install :: Suspend To Disk Fails After Working For Several Cycles?

Mar 22, 2010

I've been struggling with suspend to disk (hibernate if you prefer) for a while, it works after a fresh boot and for several days' worth of overnight hibernation as I go about my work, but eventually it stops working - it gets to the splash screen but the bar only makes it a little way to the left before stopping, and then after a timeout the system just returns to the "session locked" screen - no real error messages.

I've done my best to try to find out what's causing it to break but I'm really struggling, the suspend process doesn't appear to write anything helpful to the dmesg log or the /var/log/pm-suspend.log - the only thing that I've seen at about the right point in time is cifsd, but I can't be sure that it's a problem with cifs as hibernate continues to work immediately after mounting windows shares with cifs.

System:

Phenom-II X3
4Gb ram
OpenSUSE 11.1

[code]....

View 7 Replies View Related

Debian :: Htop Showing 50+ Processes Of /usr/sbin/console?

Jun 16, 2011

This might be nothing but when booting a computer directly into the console (tty), and running htop, I expect the list of running processes to be very short, but it turns out I have more than 50 instances of /usr/sbin/console-kit-daemon --no-daemon running (see screenshot below). Is this normal?

View 2 Replies View Related

Ubuntu Servers :: Reading Htop System Loads With The I7?

Jul 7, 2010

I just built a server, which displays 8 cores in the i7 processor. However, because of the 2 threads per core, it shows up as an 8 core system. When viewing htop, it shows system loads at 0.29,0.18, and 0.13 for respective averaging times. How would I calculate actual system load for this processor? Would I divide the average by 4 or 8? Or, is there another method?

View 7 Replies View Related

Ubuntu :: No Running Htop Entry In Unity's Launcher?

May 28, 2011

htop is my preferred system monitor, but I have a problem with it in Unity: When I open htop from the Applications lens there's no entry in the launcher added for it. This means I can't add it permanently to the launcher. It may have to do with it being a terminal based program, but I was wondering if there is a way to get it permanently added to the launcher?

View 3 Replies View Related







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