![]() |
|
|
|
|
|||||||
| 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 |
| takes time to connect my application | Gods_help | SUN Solaris | 2 | 4 Weeks Ago 09:10 AM |
| Build a Google Talk Client Using Oracle ADF Faces Rich Client and the Active Data Ser | iBot | Oracle Updates (RSS) | 0 | 04-18-2008 03:10 PM |
| R-201: Vulnerabilities in Windows Client/Server Run-time Subsystem (CSRSS) | iBot | Security Advisories (RSS) | 0 | 03-28-2008 07:40 AM |
| Linux Going Big Time and Prime Time Against Windows, UNIX (WSJ) (Addict 3D) | iBot | UNIX and Linux RSS News | 0 | 06-21-2007 01:10 PM |
| How To Provide Time Sync Using Nts-150 Time Server On Unix Network? | pesty | UNIX for Advanced & Expert Users | 2 | 03-21-2007 11:20 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi ,
I have a Application running on unix , how could i log out the user if the user doest use the application for specified period of time . using TMOUT it log out the session but with $prompt. But here i am inside the application , i would like to logout the user from application and come to $ prompt and then log out from the session, Is there any way to do this UNIX. Many thanks in advance naren |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Generally yes : lsof | grep user | grep application-name
Then you'll find the PID and kill it. |
|
#3
|
|||
|
|||
|
Quote:
From the Linux manpage for kill.. Code:
If pid equals -1, then sig is sent to every process for which the calling process has permission to send signals, except for process 1
(init), but see below.
If pid is less than -1, then sig is sent to every process in the process group -pid.
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|