![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| kill user session | fsmadi | SUN Solaris | 10 | 08-04-2007 06:44 AM |
| sftp problem with user id of no telnet session allowed | superdougl | UNIX for Advanced & Expert Users | 2 | 10-30-2006 07:28 AM |
| sqlplus session being able to see unix variables session within a script | 435 Gavea | Shell Programming and Scripting | 2 | 07-03-2006 07:11 AM |
| Deleting root files from another user | choo | Shell Programming and Scripting | 2 | 04-13-2004 05:50 AM |
| User login session | Docboyeee | UNIX for Advanced & Expert Users | 1 | 11-10-2002 04:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Deleting a user session
I logged on yesterday and ran something that made my ID hang. I X'd out of the session and then logged on again and my ID from the original session is still there. I checked again this morning and the ID is still there (I checked using the WHO command). How can I kill that first session using root???
Thanks in advance for any replies. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Quote:
|
|
#3
|
|||
|
|||
|
What is the pid?
|
|
#4
|
|||
|
|||
|
I think PID means process identifier??? Is that right??
What is the command to kill the pid from the root?? |
|
#5
|
|||
|
|||
|
Quote:
who ps -ef | grep <terminal> kill -9 <PID> |
|
#6
|
|||
|
|||
|
When i use WHO I get this next to the ID I want to kill:
pts/1 Jul 05 15:02 (IP address) Does that mean terminal 1?? If so, when I type ps -ef | grep 1 I see this next to the ID I want to kill: jbrubake 573688 565298 0 15:01:30 pts/1 0:00 -ksh How can I determine the PID from that??? |
|
#7
|
|||
|
|||
|
Quote:
On Solaris, the PID is the second column from the ps -ef output. You can do a man on ps to verify it is the process id. |
|||
| Google The UNIX and Linux Forums |