UniX Process not getting logout.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting UniX Process not getting logout.
# 1  
Old 01-22-2009
UniX Process not getting logout.

Hi,

We have UNIX menu.
when we exit the menu the processes are not getting log out.
please suggest me how to log out the process after exit from the UNIX Menu.

Regards,
laknar.
# 2  
Old 01-22-2009
If I understand your question.
From the user .profile , exec the menu. When the menu exits the user is logged out.

exec <menu script name>
# 3  
Old 01-23-2009
exec menu.sh
but when we exit the processes still remain.
we are executing the menu script through .profile
i beleive the loop is not getting exit

While [1]
do
{
...........
}
done

Last edited by laknar; 01-23-2009 at 01:52 AM..
# 4  
Old 01-23-2009
Hi i checked the same script with different server.
the process are getting automatically killed after exit.
where in another server it is not getting killed.
is there any problem with OS level?
Please suggest me.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Automatic logout

Hello, I have this issue on a new server I just built. It is a RHEL 6.7 build. I use VNC to connect to the server from my windows machine. When I login to the Server in morning using VNC I get this error: "Automatic logout, this session is configured to log out after a period of inactivity. I... (0 Replies)
Discussion started by: bitlord
0 Replies

2. Post Here to Contact Site Administrators and Moderators

unix.com keeps logout me

Hi Admin, I am living in singapore. When i use the unix.com in office, it works well ( in that time, it says "you are somewhere around USA(some country) - because my proxy is USA" Once i come to home and connects, it keeps logout... is that any settings i need to change ? ---------- Post... (1 Reply)
Discussion started by: itkamaraj
1 Replies

3. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

4. HP-UX

How to logout

Hi I am using UNIX version. HP-UX HP-UNIX B.11.00 I am writing a script which on certain condition should logout of unix. But with exit command i am not able to get this.. Plz suggest how i should logout of the session directly. (9 Replies)
Discussion started by: manish.s
9 Replies

5. UNIX for Dummies Questions & Answers

Keep process running on logout

Hey All, I'm logging in via an SSH shell. I'm wondering if there's a way to execute a command and it not die when I close my terminal window (or rather, logout of the SSH shell). Thanks, Nathan (3 Replies)
Discussion started by: NathanWarden
3 Replies

6. Solaris

.logout

I want to execute script while exiting a session, to gather session details. How to implement this in Solaris 10 (3 Replies)
Discussion started by: sharif
3 Replies

7. Shell Programming and Scripting

.logout help

We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc. Does... (3 Replies)
Discussion started by: 2dumb
3 Replies

8. UNIX for Dummies Questions & Answers

logout

Every time the ksh script completes I got message - logout. I don't want to see this message.... Can someone give me a clue Thanks in advance. ZAM SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-880 (2 Replies)
Discussion started by: zam
2 Replies

9. Programming

How to get process name from process id in all Unix platforms?

Hi, i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux?? How can this be done? Is there any common solution to all platforms? On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this? ... (3 Replies)
Discussion started by: molu
3 Replies

10. Shell Programming and Scripting

Keep process running (wget) and logout

well, i have only been learning about linux, unix and shells for a few days. For my online game to work, i need run a file each 10 seconds. Running that file will update mysql data, causing my online game to "tick". This adds resources and fights battles in game. I know that i need to use a... (3 Replies)
Discussion started by: mikey1090
3 Replies
Login or Register to Ask a Question