"There are suspended (stopped) jobs"
A job was started, then suspended or stopped with the Ctrl-z or some key combination.
Error:
> logout
There are suspended jobs.
---- Replicate the issue ----
kalyanLinux{10}$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Suspended
kalyanLinux{11}$ exit
There are suspended jobs.
kalyanLinux{12}$ jobs --- This is one way to verify the jobs and you can get the process ID of it and kill the session
[1] + Suspended python
kalyanLinux{13}$ ps -ef | grep python
kalyan 27839 26486 0 22:52 pts/0 00:00:00 python
kalyan 27864 26486 0 22:54 pts/0 00:00:00 grep python
kalyanLinux{14}$ kill 27839
kalyanLinux{15}$
[1] Terminated python
kalyanLinux{15}$ jobs ---- After killing the session you wont see any jobs exists with jobs command
kalyanLinux{16}$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
Suspended
kalyanLinux{17}$ fg ---- This is another way of check the jobs and this command fg will take you into the session, you can safely exit from the session like below
python
exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>
A job was started, then suspended or stopped with the Ctrl-z or some key combination.
Error:
> logout
There are suspended jobs.
---- Replicate the issue ----
kalyanLinux{10}$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Suspended
kalyanLinux{11}$ exit
There are suspended jobs.
kalyanLinux{12}$ jobs --- This is one way to verify the jobs and you can get the process ID of it and kill the session
[1] + Suspended python
kalyanLinux{13}$ ps -ef | grep python
kalyan 27839 26486 0 22:52 pts/0 00:00:00 python
kalyan 27864 26486 0 22:54 pts/0 00:00:00 grep python
kalyanLinux{14}$ kill 27839
kalyanLinux{15}$
[1] Terminated python
kalyanLinux{15}$ jobs ---- After killing the session you wont see any jobs exists with jobs command
kalyanLinux{16}$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
Suspended
kalyanLinux{17}$ fg ---- This is another way of check the jobs and this command fg will take you into the session, you can safely exit from the session like below
python
exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>