Chinaunix首页 | 论坛 | 博客
  • 博客访问: 321492
  • 博文数量: 120
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 1290
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-19 01:46
文章分类

全部博文(120)

文章存档

2010年(84)

2009年(36)

我的朋友

分类: LINUX

2010-01-22 10:11:28

pkill -kill -t pts/1
pkill -9 -t pts/1
pkill -1 -t pts/1


SYNOPSIS
       pgrep [-flvx] [-d delimiter] [-n|-o] [-P ppid,...] [-g pgrp,...]
            [-s sid,...] [-u euid,...] [-U uid,...] [-G gid,...]
            [-t term,...] [pattern]

       pkill [-signal] [-fvx] [-n|-o] [-P ppid,...] [-g pgrp,...]
            [-s sid,...] [-u euid,...] [-U uid,...] [-G gid,...]
            [-t term,...] [pattern]






 -P ppid,...
              Only match processes whose parent process ID is listed.

       -s sid,...
              Only match processes whose process session ID is listed.  Session ID 0 is translated into pgrep’s or pkill’s own session ID.

       -t term,...
              Only match processes whose controlling terminal is listed.  The terminal name should be specified without the "/dev/" prefix.

       -u euid,...
              Only match processes whose effective user ID is listed.  Either the numerical or symbolical value may be used.

       -U uid,...
              Only match processes whose real user ID is listed.  Either the numerical or symbolical value may be used.

阅读(999) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~