Re: [newbie] killing a connection
Fred Schroeder wrote: Hi, I noticed this evening when I logged in to our server at work and ran who that I show being still logged in a couple of different places, though my workstation is shut down. How do I kill these connections? Thanks, Fred -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com ask the root to kill all the shells opened by you after you logout. mario Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] killing a connection
On Friday 07 December 2001 05:21 am, you wrote: Fred Schroeder wrote: Hi, I noticed this evening when I logged in to our server at work and ran who that I show being still logged in a couple of different places, though my workstation is shut down. How do I kill these connections? Thanks, Fred -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com ask the root to kill all the shells opened by you after you logout. mario OK, I am the the one who is root, so how do I kill my useraccount shells that are still active? ie, what command, or how do I get the pid? As root I did a ps -A, but don't see the connections anywhere. Thanks, Fred Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] killing a connection
On Friday 07 December 2001 02:50 pm, Ed Tharp wrote: On Friday 07 December 2001 08:59, you wrote: On Friday 07 December 2001 05:21 am, you wrote: Fred Schroeder wrote: Hi, I noticed this evening when I logged in to our server at work and ran who that I show being still logged in a couple of different places, though my workstation is shut down. How do I kill these connections? Thanks, Fred ask the root to kill all the shells opened by you after you logout. mario OK, I am the the one who is root, so how do I kill my useraccount shells that are still active? ie, what command, or how do I get the pid? As root I did a ps -A, but don't see the connections anywhere. fred are you trying to kill root actions or servers running as root? have you considered top I use this alias in bashrc,alias wpid=ps ax | grep Typin 'wpid offending app(s) will display the the PID's for the app. For example, ~ $ wpid kmail 1818 ?S 0:05 kmail -caption KMail -icon kmail.png -miniicon kmail. Then a 'kill pid number(s)' will shut 'em down (eg as above, 'kill 1818'). If they're stubborn 'bout it 'kill -9 pid number(s)' will definitely kill 'em. Only caveat is you must be the user that started the process ... or root. -- Tom BrinkmanSouth Texas, USA You! What PLANET is this! -- McCoy, The City on the Edge of Forever, stardate 3134.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] killing a connection
On Friday 07 December 2001 01:50 pm, you wrote: On Friday 07 December 2001 08:59, you wrote: On Friday 07 December 2001 05:21 am, you wrote: Fred Schroeder wrote: Hi, I noticed this evening when I logged in to our server at work and ran who that I show being still logged in a couple of different places, though my workstation is shut down. How do I kill these connections? Thanks, Fred - - Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com ask the root to kill all the shells opened by you after you logout. mario OK, I am the the one who is root, so how do I kill my useraccount shells that are still active? ie, what command, or how do I get the pid? As root I did a ps -A, but don't see the connections anywhere. Thanks, Fred fred are you trying to kill root actions or servers running as root? have you considered top This is what I get when I run who: [fred@petlab fred]$ who fred pts/1Dec 7 16:01 (freds.computer) fred pts/2Nov 27 16:18 fred pts/4Dec 4 09:59 fred pts/4Dec 3 12:41 (freds.computer) The only one actually there is the one on Dec 7, today. I have tried top, but don't see which pid to kill. I am root on this machine, so if I need to go su, that is not a problem, just don't know what to do when I get there! Thanks, Fred Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] killing a connection
when you use top, try U the fred to get only the instances owned by fred. then try T (or h as it will bring up help) for time. showing you the process up the longest. Note: there is no need to hit enter after you enter U or T but is needed after you type: U fred. On Friday 07 December 2001 17:08, you wrote: On Friday 07 December 2001 01:50 pm, you wrote: On Friday 07 December 2001 08:59, you wrote: On Friday 07 December 2001 05:21 am, you wrote: Fred Schroeder wrote: Hi, I noticed this evening when I logged in to our server at work and ran who that I show being still logged in a couple of different places, though my workstation is shut down. How do I kill these connections? Thanks, Fred --- -- - Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com ask the root to kill all the shells opened by you after you logout. mario OK, I am the the one who is root, so how do I kill my useraccount shells that are still active? ie, what command, or how do I get the pid? As root I did a ps -A, but don't see the connections anywhere. Thanks, Fred fred are you trying to kill root actions or servers running as root? have you considered top This is what I get when I run who: [fred@petlab fred]$ who fred pts/1Dec 7 16:01 (freds.computer) fred pts/2Nov 27 16:18 fred pts/4Dec 4 09:59 fred pts/4Dec 3 12:41 (freds.computer) The only one actually there is the one on Dec 7, today. I have tried top, but don't see which pid to kill. I am root on this machine, so if I need to go su, that is not a problem, just don't know what to do when I get there! Thanks, Fred Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] killing a connection
On Friday 07 December 2001 04:30 pm, you wrote: when you use top, try U the fred to get only the instances owned by fred. then try T (or h as it will bring up help) for time. showing you the process up the longest. Note: there is no need to hit enter after you enter U or T but is needed after you type: U fred. Thanks for your suggestions, I gave it a try, but they did not show up there, so waited till everyone was gone and rebooted the server, they are now gone. Not sure what the deal was. Thanks, Fred Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com