General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?
Jan 8, 2010
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies
ADVERTISEMENT
Nov 16, 2010
I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.
View 5 Replies
View Related
Nov 11, 2010
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 Related
Feb 21, 2011
if i start an application using the terminal.. it gets closed if i close the terminal.. how can i not let this happen?
View 4 Replies
View Related
Apr 20, 2011
I have installed XAMPP in Ubuntu, but I do not know how the process continue after the start XAMPP.
View 3 Replies
View Related
Apr 27, 2009
running a large program on a remote SSH server the other day when I was disconnected. This is a large program, ~48 hours to complete, and I was disconnected around hour 40. I have restarted the program using the following (Note: I am already ssh'd into the server) ./20090427_9crossing > 20090427_9crossing.out & Now, I believe this will run the program in the background and output to the file. So, if I get disconnected again will it continue to run? If not, is there a way that I can get it to keep running?
View 7 Replies
View Related
Jul 23, 2011
My requirement is nearly transferring 50GB files from remote server to local server via SCP command,while transferring the data its break-en because of some reasons in 35% itself. is it possible to resume the transfer process again from this 35% process.
View 3 Replies
View Related
Apr 14, 2010
I am downloading a big file on linux VPS, and I am connecting remotely via Putty to do it? Once I initiated the wget command to download the file, if I close the putty window, will wget continue to download the file in the background even though the session is technically closed?
View 11 Replies
View Related
Jan 21, 2011
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
View 3 Replies
View Related
Jun 12, 2010
send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.
View 4 Replies
View Related
Sep 8, 2010
Code:
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
[code]....
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d
",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
View 3 Replies
View Related
Aug 12, 2010
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
View 1 Replies
View Related
May 4, 2010
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
View 3 Replies
View Related
Nov 9, 2010
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
View 1 Replies
View Related
Mar 23, 2010
I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.
View 9 Replies
View Related
Sep 9, 2011
I installed Debian 5.0.8 alongside Windows XP 64bit, and the installation went fine. However, when I choose to boot into Windows, the menu still shows the option to continue with the Debian installation. Debian was installed by burning the iso in Windows and then launching the CD rather than booting into the CD. My searches turned up with results to actually continue with the installation process, which like I said, went just fine. I want to boot right into Windows from Grub (if Windows is selected) instead of having the installation menu pop up again.
View 1 Replies
View Related
Mar 10, 2011
I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
[code]....
View 1 Replies
View Related
Nov 9, 2010
I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];
[code]...
View 4 Replies
View Related
Mar 31, 2011
Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?
View 1 Replies
View Related
Nov 26, 2008
I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out
View 2 Replies
View Related
Apr 19, 2010
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services and they can be OK or FAILED. Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
View 2 Replies
View Related
Jan 19, 2010
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.
View 3 Replies
View Related
Jun 26, 2011
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 Related
Feb 8, 2010
I am writing, well actually enhancing, a script to do a daily backup of important data on my PC to a second hard drive.I wish to tar my home directory to a single file - and will probably use gzip as well.So I decided to work out the correct tar syntax in a terminal first - here is what happened.I opened a terminal window.I cd to a directory not part of my home directory.I issued the command..Quote: tar -cvf mytar.tar /home/ken tar processed a bunch of files, the last being .netrc.I examined the tar file and it contains .netrc.The contents of .netrc are correct.I scrolled back through the list of files in the terminal window and do not see any error messages.I guess the question is... how do I determine what file tripped up the tar process?
View 8 Replies
View Related
Dec 21, 2010
i have recently started a bit of sh coding. i was trying out sm commands from an sh file.
#!/bin/bash
txt1="top > temp.txt"
eval $txt1
[code]....
View 14 Replies
View Related
Oct 28, 2010
Means I want to execute two executables one by one at the same time as shown below:execute1
execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........
View 3 Replies
View Related
May 13, 2011
$ cat important_file > /dev/null &
[1] 9711
$ rm important_file
[code]....
View 2 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related
Aug 23, 2011
I am running an Ubuntu(10.04) box and I am attempting to understand an error in a program.I don't have access to the source of this program, but I know it isn't working properly because it cannot find a particular file. I was wondering if it would be possible to monitor what file are accessed(more specifically denied access) by a process. My first idea was to breakpoint on fopen, but I didn't have any success.
View 1 Replies
View Related
Apr 15, 2011
If I forget to close a file, a socket or any other resource in a Linux process, and the the process terminates, will those resources be freed? Is there a difference if the process terminates normally or is killed?
View 3 Replies
View Related