- 论坛徽章:
- 0
|
linux fuser -c 不能执行
本帖最后由 甲骨虫虫 于 2009-5-8 16:13 编辑
[oracle@hqnetapp4 ~]$ fuser -c /app
usage: fuser [ -a | -s ] [ -n space ] [ -signal ] [ -kimuv ] name ...
[ - ] [ -n space ] [ -signal ] [ -kimuv ] name ...
fuser -l
fuser -V
-a display unused files too
-k kill processes accessing that file
-i ask before killing (ignored without -k)
-l list signal names
-m mounted FS
-n space search in the specified name space (file, udp, or tcp)
-s silent operation
-signal send signal instead of SIGKILL
-u display user ids
-v verbose output
-V display version information
-4 search IPv4 sockets only
-6 search IPv6 sockets only
- reset options
udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]
的确没有 -c 但是 man fuser
FUSER(1) User Commands FUSER(1)
NAME
fuser - identify processes using files or sockets
SYNOPSIS
fuser [-a|-s] [-4|-6] [-n space] [-signal] [-kimuv] name ...
fuser -l
fuser -V
DESCRIPTION
fuser displays the PIDs of processes using the specified files or file systems. In the default display mode, each file
name is followed by a letter denoting the type of access:
c current directory.
e executable being run.
f open file. f is omitted in default display mode.
r root directory.
m mmap<A1><AF>ed file or shared library.
是有 -c参数,我的linux版本是:
[oracle@hqnetapp4 ~]$ uname -a
Linux hqnetapp4 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
[oracle@hqnetapp4 ~]$ cat /etc/is
isdn/ issue issue.net
[oracle@hqnetapp4 ~]$ cat /etc/issue
Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
Kernel \r on an \m
请大虾帮忙解惑。 |
|