![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suspend Cron job temprory | pankajkrmishra | Shell Programming and Scripting | 4 | 08-14-2006 05:18 AM |
| suspend/restart a process in shell script | daneensign | Shell Programming and Scripting | 1 | 02-13-2006 09:43 PM |
| Suspend to write file | ust | UNIX for Advanced & Expert Users | 3 | 12-13-2005 01:56 AM |
| suspend a process | piou78 | Shell Programming and Scripting | 7 | 06-03-2005 06:08 AM |
| UNIX Process Suspend | proton | UNIX for Dummies Questions & Answers | 3 | 02-13-2005 12:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
suspend a process
I have a process running with a PID. I would like to suspend the process for some time so that other processes get the more CPU time.
I know I can use CTRL-Z if I have the terminal I launched the process from. However, I dont have the terminal (launched the job using nohup) Many thanks in advance. J. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
what os you running?
for solaris look at priocntl and nice. i believe linux is nice as well... anyone?? |
|
#3
|
|||
|
|||
|
I am using Linux..but without any root permission. So I cannot used renice to change the nice value...
Any suggestions. J. |
|
#4
|
||||
|
||||
|
can you sudo renice?
|
|
#5
|
||||
|
||||
|
Send it a SIGSTOP to suspend it. Then send it SIGCONT to make it resume.
|
|
#6
|
|||
|
|||
|
no..I am not in the sudo list
|
|
#7
|
|||
|
|||
|
'kill -stop %job'
or 'kill -stop $pid' 'kill -cont %job' - will restart it. |
|||
| Google The UNIX and Linux Forums |