Red Hat / Fedora :: Command To Pause Or Sleep A Process By Pid?
Jun 26, 2010Im looking for the command to pause or sleep a process by pid.I dont want to use the kill -STOP
View 1 RepliesIm looking for the command to pause or sleep a process by pid.I dont want to use the kill -STOP
View 1 Replieshow to send any pause process into running condition from one terminal to other terminal in linux!
View 1 Replies View RelatedMy system after installing Ubuntu 10.04 has an annoying 30 second pause during the boot process. It comes after BIOS checks and before the splash screen, the monitor is just black with a flashing cursor. The system has two IDE drives (/boot and /home) and a SCSI drive (/). There is a SCSI MO drive on it's own controller.
Partial lspci:
01:09.0 SCSI storage controller: Adaptec AIC-7892B U160/m (rev 02)
01:0a.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 23)
I attached a clip from bootchart and a boot log file.
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies View Relatedwhat i need to do is to be able to place a command to slow down the sequence of commands in an Ubuntu script.
normally, the system will attempt to execute them all as fast as it can, but i need to be able to specify short pauses between commands
anyone know of a useful command to do this?
btw, the "sleep" command i saw somewhere hasn't quite worked in my scripts for some reason.
I have a task that I need to let run while I'm away from the computer. It's very CPU intensive and I've even had to throttle down my processor to 3GHz to keep it from overheating. I'm using a combination of GNOME Sensors App and CPU Frequency Scaling Monitor to control the overheating problem. I have the sensors app set to alarm and "killall" at 61 Degrees Celsius. The sensors app has an option where you can enter a command that it will run for you. All I need is to know what command to run that can pause this task. So later I can resume it.
I know it can be done. System Monitor has an option to "stop" a task. It also has "continue". This is how I've been doing it while I'm at the computer. So if anyone knows what the commands are that System Monitor uses, that would be a huge help. By the way, I'm using Ubuntu 9.10 with all current updates.
NOTE: For anyone who is about to flame me for having a computer that overheats and wants to tell me that this is the problem I should be after. It only overheats during this process. Not for any games or compiling or rendering or encoding. Nothing else. I have even bought a new heatsink and fan. I have redone the thermal compound on the Processor. My processor usually runs at idle around 36-39 Celcius and under normal load around 47-53 Celsius.
I need to run a script that I build to build a word list. Essentially what it does is run through a base list and expands that into billions of words. This way I can keep a small dictionary file and a script to expand it into a larger file (about 500 gigs). This script should take anywhere from 12-14 days to run and on my last day the power went out at my house. Is there anyway I can run this again with a fail over system? I know a battery back up is an ideal addition to my home server but if the power is out for an hour it wouldn't have made a difference. Also if I had the ability to pause the script do a reboot and resume it again that would be amazing.
View 5 Replies View Related#1 Ubuntu-10.04-x86_64 (its a form of liunx)
#2 OS 64 bit
#3 java 1.6.0_20
#4 java 64 bit
[Code]....
i need it to look like this below, and load the program called "craft".jar
@ECHO OFF
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="64" "%ProgramFiles(x86)%Javajre6injava.exe" -Xms512M -Xmx512M -jar "%~dp0craft.jar"
IF /I "%PROCESSOR_ARCHITECTURE:~-2%"=="86" java -Xms512M -Xmx1000M -jar "%~dp0craft.jar"
I have a many process running in my machine with similar command and the command is 'gzip'. It is running by a program in a file. How will I find out the file which is behind this command.
View 4 Replies View RelatedThe man page seems to indicate no. There is /etc/rc.d/init.d/halt on Fedora. It has a hard coded pause in it, but there's got to be a better way than to change that script.
View 2 Replies View RelatedWhat command(s) do I type in the terminal to put the computer to sleep?
View 1 Replies View RelatedI have seen many shell scripts and found that their developers make use of "sleep" command quite a lot. Example:
Code:
#starting mysqld service...
service mysqld start
[code]....
I updated to the newest kernel today ( 2.6.31.12-174.2.19.fc12.x86_64 ) via software updates and noticed there is a 10 second pause just after the grub screen goes away and before plymouth comes up. This never happened with the previous kernel. Anyone notice this?
View 1 Replies View RelatedI'm writing a shell script to check the I/O activity of a Linux box and if the server is quiet for a certain long time, the script should let the server go to sleep. But, after some Google searching, I didn't find a answer yet. Is there a shell script command to put a Linux box to sleep?
View 3 Replies View RelatedI just got F12 installed on my laptop and so far it was a breeze! Thanks to leigh for the fantastic nvidia and compiz installation tips, and to bbfuller for getting the BroadCom wireless working.I do notice, however, that when I press the F button (KDE) there is about a 20-30 second pause before the window pops up. I see the same thing when I start a terminal window.
View 6 Replies View RelatedI have Fedora 11 running on Microsoft virtual PC. When I start Fedora it opens in full screen mode. How do I exit full screen so that I can pause or turn off Fedora.
View 3 Replies View RelatedHow to set that if user use command to display all process, then he'll see only his own processes?
View 2 Replies View RelatedI had this problem at first in Fedora 14 KDE. When I try to put it to sleep or hibernate it will go to black screen and then just turn back up. And now on my other computer which runs on Fedora 13. After KDE 4.5.2 update it does the same thing. I think it is same problem but I can't be sure.
View 3 Replies View RelatedResolved before asked: cat /proc/1111/status | grep PPid
View 2 Replies View RelatedI have tried top and PS command but i am not able to find the RAM used by each process.top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to know which process consumes all 240MB RAM.Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB
View 2 Replies View RelatedI don't know if it's possible but GIMP is able to receive command line arguments, so why not? Basically, I want to create a batch (action, macro or what it may be called) and then set up a cron job which will run every hour. So, it would be something like "If an image is in X folder, then resize, watermark & move it to Y folder".
View 2 Replies View RelatedI got indication of zombie process via top command
Code:
Tasks: 321 total, 1 running, 319 sleeping, 0 stopped, 1 zombie
I don't have 'Z' indication on 'Status' column
How could it possible to identify this process ?
I'm trying to use the 'at' command to run a file that checks ALL process running at 5:00pm and does a system load check? Any advice on where to start?
View 7 Replies View RelatedI have created three child process from one parent. And different child has different functions. Child 2 has got function to load file called "wc" to count file1 and and its required to get their files by command line arguments. I can get the files through command line but couldn't get the files when child 2 process start.
View 9 Replies View RelatedI use the system command route from a process (using the system() call). For security reasons the process does not have root privilege and for some reason I cannot use ioctl() either. I tried to set the capabilities of the process to NET_ADMIN and SYS_ADMIN but the route command still failed due to insufficient permissions.
What are the capabilities that I need to set for route to be successful?
My server pretty often becomes full up php processes running which are not needed. Is there a way to search for and kill any php process that is more than 3 hours old?
View 7 Replies View RelatedI am using fedora 11. I have disable power management and screensaver.
[Code]....
However, when I reboot my computer, it will still come to a black screen after 10 minutes. When I move my mouse once, it never sleep again.
Is there any command in linux to figure out , given a process, which processor the process is running? I am interested in figuring out the CPU busy and CPU idle time of that processor.
View 2 Replies View RelatedMy server pretty often becomes full up php processes running which are not needed.Is there a way to search for and kill any php process that is more than 3 hours old? as I understand it, i need to use ps piped with awk. awk at the moment seems very complicated to me, do not how to start tackling it.
View 5 Replies View RelatedWhen I fork multiple processes, is there some command or c function to see the cpu number on which the processes are running?
View 3 Replies View Related