when u running command "top" u can see table and under %CPU i see some time used over 60% how can make server kill any thing using 60% or over auto ? i'm not using php or mysql i hosted vps's and they not runung mysql
Today I run OpenOffice.org extensions update and it freezed fter showing me that everything was successful.When i xkilled it it refused tolaunch without any problem indication.killall soffice.bin didn't report "No process found" after 1,2,3...20 times.So I tried killall soffice.bin -i
the process is mcelog. When I do as root kill -9 2323 which is pid of mcelog the process is not killed. I tried doing the same from top, press K and enter pid of mcelog. doing ps auwx | grep mcelog I see there are several results. I tried killing all of them like kill -9 2355 2341 3425 2345. But re-running the above commands still shows them as running. How else would I troubleshoot this to avoid restarting of the box.
Sometimes, i just want to run a shell terminal so i can access the desktop environment of another computer over ssh. is there a way to kill the X server and have it NOT restart in 9.10 Ubuntu?
I'm having trouble killing X server and keeping access to the console. I'm trying to install an Nvidia driver so that I can use OpenGL with Geant4. To install the driver, I need X server to be off.I Googled, and found a lot of things about runlevels that no longer apply in 10.04, since inittab has been removed, and that the runlevel now defaults to 2.
I tried CTRL + ALT + Backspace, but that just boots me to the GUI login prompt. In earlier versions of Ubuntu, I would set the default runlevel to 3, but since I'm already at 2, that seems to be as low as I need to go. I tried it in runlevel 1, but the installer warned me about the possibility of needing daemons that would otherwise be running. So in summary, I just need to be able to kill the X server and keep using the console on the current run level. If anyone knows how I can do that in 10.04,
I have a straingh problem with kill. I start a skript run.sh. With Ubuntu i can kill run.sh and the whole pstree is killed. with centos it does not work?
[Code]....
why does centos do not kill the wohle tree? is there someting with the bash? ubuntu use 4x and centos 3.2
Sorry to waste the groups time on this one, after killing that and biting fingers, I re-examined the ps list and saw the tar and bzip running fine (so even though I killed the backup .sh, it was still going along, so I simply removed those and all was well again.
Feel free to reply though with #3, if I have 30G of mail, I know gzip is faster but bzip is more compression from reading, should; a) tarring that mail actually drop to 3G total! b) est (I know it's tough) but backing up 30G, is 10 hours longer than expected? (I will run some tests on a smaller folder)
############### end update
this is on an old RH9 box and backing up mail. I started the job last night in a shell script, it's around 30G of mail, and it was a tar using bzip as there was only 20 or so gig 'free space'. The old backup script was in perl and just a tar mail folder and the total was 3G so I figured I was safe.
Well it started last night and this am it was still running. I did a kill -9 on the pid and ps now shows it as; root 9143 0.0 0.0 0 0 ? Z Feb23 0:00 [backup.sh <defunct>]
Disk space was down to 1.3G free (so somewhere all that space is being held temp somewhere), but I removed the old backup (3G which gave me a little breathing room of 4.5G), but the backup is still running somehow as the 4.5 is now 4.3. I tried the pkill, kill -9 pid, read someone said re-start the job which I did, then killed but nothing.
I really can't reboot this production box, so in RH9, I need to both; 1.kill that defunct backup 2.remove the temp storage it has made 3.figure out why it's taken 10+ hours and not done.
We have an internal application which takes below 10% cpu usage normally. However sometimes it hit above 85% or more (and stays there) causing the server to become very slow. Currently we have to monitor this manually, kill the process and manually start it.
command / script that will kill the process (using pid will be the best option as i think) when it reaches 85% or higher
(I saw another question that suggested to use monit but I have to get this done using the standard commands available in the current installation - RHEL5)
Ever since I installed and started operating my FTP server, with a wired connection, my wireless connection to my computers has been going in and out a lot. My wireless connection is about a foot away from the router. Is it possible that the wired FTP server is pulling a lot of the internet signal away from my wireless setup?
I'm have some desktop computers sharing my Centos 5 server diskpace through NFS. From time to time, without any warning, lockd bugs and all the users that are using GTK applications like Firefox,Gnome.get stuck.
My first atempt is to restart the NFS, but locked files persist because I can kill the lockd pid process, even using root account , I suppose this is because it's a kernel process. Here is the message error I get when restarting NFS matrix kernel: lockd_down: lockd failed to exit, clearing pid
I'm running Ubuntu 10.10. I recently installed the open ssh server so that can sftp stuff. However, I do not want the server to always be on, only when I manually start So, I did an 'update-rc.d -f ssh remove'and now I don't see any startup scripts in the rcx.d directories any more.However, when I do a 'ps ax', there is always a '/usr/sbin/sshd' process running. I try to kill it but it keeps restarting under a different process ID.How do I disable sshd?
Since the OpenOffice quickstarter effectively disables the shutdown and hibernate buttons under Lucid, I put a command into my .logout to kill the quickstarter: Code: kill `ps aux | awk '/soffice.bin/ && (/quickstart/ || /splash-pipe/) {print $2}'` This works fine if I execute it manually, but in the .logout file it seems to have no effect.
I accidentally submitted a print job twice. So I have this job sitting in the queue and haven't been able to figure out how to clear it. Tried system > administration > printing. Nothing there about how to clear the queue. I'm running 8.04.
Sometimes I find a process named 'sh' running under my username with the status 'zombie' waiting channel 'do_exit' on my system. Its ID increments by 4 every time System Monitor updates its display.
Today, it was there immediately after booting The only thing I did after logging in is start the System Monitor
I can't kill it since its ID changes too fast.
I don't know how it gets started, but it bothers me since it is behavior I would expect from something that is trying to hide.
If I hover over its name, the tool tip contains 'sh'
I have this problem where I keep losing internet and the only way to fix is to restart the computer, I think it's because my wifi card isn't completely compatible with ndiswrapper. Anyways when ever this happens I am unable to shutdown properly because ubuntu says firefox-bin is still running, when I try to shutdown it just hangs. I tried killing firefox-bin with the system monitor but that didn't work, then I tried killing it the terminal by using killall -9 firefox-bin. This too doesn't work. How can I kill firefox-bin?
How do I kill an X11 application using a keyboard command? The program does not have Linux specific bindings (interupts). I want something like Ctrl-alt-del and process manager.
How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?
well i am doing an assignment about debian OS 5 . so i need some info about Deadlocks and how to kill a process using GUI interface . i already found a way to do it in Command line .
OK, I admit I'm a little OCD about icon placement on the Desktop - I want to do it myself - so this is driving me a bit nuts.I have right-clicked to disable the option 'keep aligned'. I have made sure it is disabled in gconf-editor. BUT IT KEEPS COMING BACK!ince I don't mess a lot with my desktop, I'll notice it's reverted when I add something new, can't place it exactly where I want to and once again have to untick 'keep aligned'.It seems to be random so not quite sure what might be triggering it.
Ctrl-c doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor, and can't do much else.What's the easiest way to force that process to die now without losing my terminal?
Summary of answers below:Usually, you can Ctrl-z to put the process to sleep, and then do "kill -9 process-pid", where you find the process's pid with 'ps' and other tools.On Bash (and possibly other shells) you can do "kill -9 %1" (or '%N' in general) which is easier. If Ctrl-z doesn't work, you'll have to open another terminal and kill from there.
On Xubuntu Lucid, How do I kill Xfce's desktop (xfdesktop) without it restarting almost immediately? Right now, when I kill it (using built-in kill; /bin/kill; pkill) it restarts. I don't want that. Xfce seems to no longer have the option to choose if I want a desktop or not.
I have an issue on one of my servers whereby the [normally very helpful] du and tar programs are somehow using up too much or my system resources (du 40% mem, tar 20% mem) and causing problems. I am after a command which is able to kill a process without knowledge of a PID but by process name e.g. "du" and memory usage e.g. >= 10%.
Something along the lines of: kill $(pgrep du) grep %MEM > 10
Although I know that is invalid syntax I cannot fathom the correct/best way to achieve this end!