由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to kill a login?
相关主题
同时运行sshd和rshd[转载] How to list the files with specific permission?
求助:ps的参数About exit/logout
FreeBSD: Can't kill child process!shell programming problems
how to kill process? How do i get a list of all computers?
How to make unix-login online?replace a string in all files under a directory?
Help please! 怎么keep当前还在运行的child process如何将自己的程序后台运行(不用&)?
如何把一个目录下的文件名全部改成小写?How to find a file in the deep children directory?
Re: help, how to generate a temp file nameRe: 如何用grep查找子目录下的文件?--stop!
相关话题的讨论汇总
话题: login话题: kill话题: server话题: pid
进入Unix版参与讨论
1 (共1页)
K**t
发帖数: 315
1
login the unix server days ago, then the network disconnected,
but the login is still there for some reason.
since it's univ's server, it's not good leave so many login there.
how to kill them? thx.
k**e
发帖数: 86
2
Based on the login name and login time, apply 'ps -ef|grep ...' to find the
PID, then kill it (you should have the permission to do this). Generally,
there should be a shell process for the login.

【在 K**t 的大作中提到】
: login the unix server days ago, then the network disconnected,
: but the login is still there for some reason.
: since it's univ's server, it's not good leave so many login there.
: how to kill them? thx.

k***s
发帖数: 277
3
简单一点,
就是找到该用户的进程中PID最小的一个

【在 k**e 的大作中提到】
: Based on the login name and login time, apply 'ps -ef|grep ...' to find the
: PID, then kill it (you should have the permission to do this). Generally,
: there should be a shell process for the login.

W****n
发帖数: 141
4
login again use your account.
kill -9 -1
do NOT use root account.

【在 K**t 的大作中提到】
: login the unix server days ago, then the network disconnected,
: but the login is still there for some reason.
: since it's univ's server, it's not good leave so many login there.
: how to kill them? thx.

1 (共1页)
进入Unix版参与讨论
相关主题
Re: 如何用grep查找子目录下的文件?--stop!How to make unix-login online?
Re: 如何用grep查找子目录下的文件?Help please! 怎么keep当前还在运行的child process
what is espdbd ?如何把一个目录下的文件名全部改成小写?
a difficult questionRe: help, how to generate a temp file name
同时运行sshd和rshd[转载] How to list the files with specific permission?
求助:ps的参数About exit/logout
FreeBSD: Can't kill child process!shell programming problems
how to kill process? How do i get a list of all computers?
相关话题的讨论汇总
话题: login话题: kill话题: server话题: pid