I can't resume a process after stopping it!


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting I can't resume a process after stopping it!
# 1  
Old 08-09-2006
Question I can't resume a process after stopping it!

Hello,

I have a process running, for example a "top".

I send it a signal to stop it

kill -s SIGSTOP 3423

It works, but when I want to resume it by

kill -s SIGCONT 3423

It does not work.

Help me please.....

I have Fedora Core 4.

Thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

stopping process started with "while"

Hello unix forum ! how do i get rid of this while thing ? if started some where by crontab for example. while ; do ./script > /dev/null ; done & or for example if in terminal while ; do ./script ; done & and the script is outputing and I can't write commands. other... (2 Replies)
Discussion started by: max_475
2 Replies

2. Hardware

Cannot resume from suspend with new motherboardktop, does not resume properly

I would like to get pm-suspend (or any other suspend method) working for a small new desktop computer. It is based on a Zotac GF-8200 ITX motherboard and an AMD Athlon II X@ 240 CPU using ArchLinux x86_64. The pm-suspend script works, apparently putting the machine into suspend correctly... (0 Replies)
Discussion started by: lagagnon
0 Replies

3. HP-UX

How can I resume process ?

hi every body lock at this situation and tell me your advice i tried to install patch in hp-ux v2 i used swinstall -s /path to the patch every thing was good but during the installation network connection between the server and my labtob when i connect again to the server i tried to... (2 Replies)
Discussion started by: maxim42
2 Replies

4. Solaris

Solaris resume

Hi Im in solaris field and i have one year of experience so can anyone get me a sample resume for level 1 support for solaris so that it will be easy for me to update my profile..:) (1 Reply)
Discussion started by: madanmeer
1 Replies

5. UNIX Desktop Questions & Answers

stopping running process

hi all, I am using red hat AS 4 linux enterprise,i need to run my application such that while its running no other process shuld run all the remaining process should be suspended ,i need to use whole of the process only for that application to run ,can anyone suggest me how to do this. ... (3 Replies)
Discussion started by: srilakshmi
3 Replies

6. What is on Your Mind?

Are companies viewing my resume? How do I track my resume visits?

Hi everybody, I am wondering if there is any tool or website out there which can track who is viewing my resume. It is very frustrating when you send your CV or Cover Letter and you receive no feedback from the company, you don't even know if they have checked it out. Thanks for your help (1 Reply)
Discussion started by: gearyipswich
1 Replies

7. Shell Programming and Scripting

Stopping A process

Hi I want to stop a process using a shell script. how do i do that? ie, to simulate ps -ef|grep Process name get the process id and kill -9 process id plz help... (4 Replies)
Discussion started by: gopsman
4 Replies

8. AIX

Stopping multiple process on AIX

I'm trying to update a shared library (*.so) in our AIX machine. However, when I tried to delete the old *.so file, I get this error -> Cannot open or remove a file containing a running program. Based on the information I gather from the net, shared libraries are not unloaded (the file remains... (3 Replies)
Discussion started by: soulfactory2002
3 Replies
Login or Register to Ask a Question
_lwp_kill(2)							System Calls Manual						      _lwp_kill(2)

NAME
_lwp_kill() - send a signal to an LWP (Lightweight Process) SYNOPSIS
DESCRIPTION
The function sends a signal to the LWP target_lwp. The target_lwp can be in any process. is the LWP equivalent of kill(). The signal to be sent is specified by sig and is either one from the list given in signal(5), or 0. If sig is (the null signal), error checking is performed but no signal is actually sent. This can be used to check the validity of the LWP target_lwp. If the LWP target_lwp is in another process, the real or effective user ID of the sending process must match the real or saved user ID of the receiving process unless the effective user ID of the sending process is a user who has appropriate privileges. If the signal action for sig specifies termination, stop or continue, the entire process is terminated, stopped or continued, respectively. Uncatchable signals (for example, SIGKILL and SIGSTOP) cannot be sent to an LWP in the init process. Signals cannot be sent to kernel daemon threads and helper threads created internally by the HP-UX system. RETURN VALUE
Upon successful completion, returns with a value of 0; otherwise, it returns an error number to indicate the error. The variable is NOT set if an error occurs. ERRORS
If any of the following conditions occur, the function fails and returns the corresponding error number: sig is neither a valid signal number nor zero. sig is SIGKILL or SIGSTOP and target_lwp is an LWP in the process with pid (proc1). The caller does not have the necessary privileges. No LWP can be found with the identity target_lwp. WARNINGS
In general, the POSIX pthread interfaces should be used by multi-threaded applications. This system call may be used directly only when the application has a need to operate on LWPs in another process. This system call may result in undefined behavior if the usage is mixed with POSIX pthread APIs. SEE ALSO
kill(1), _lwp_self(2), kill(2), sigaction(2), pthread_kill(3T), signal(5). _lwp_kill(2)