Co robi FUSER użycie. Konsola Each process ID is followed by a letter code: c if process is using.

Czy przydatne?

Polecenie fuser

Wykonanie, użycie: Identifies and outputs the process IDs of processes that are using the files or local filesystems. Each process ID is followed by a letter code: c if process is using file as the current directory; e if executable; f if an open file; m if a shared library; and r if the root directory. Any user with permission to read /dev/kmem and /dev/mem can use fuser, but only a privileged user can terminate another user's process. fuser does not work on remote (NFS) files.

If more than one group of files is specified, the options may be respecified for each additional group of files. A lone dash (-) cancels the options currently in force, and the new set of options applies to the next group of files. Like a number of other administrator commands, fuser is usually installed to the /sbin directory. You may need to add that directory to your path or execute the command as /sbin/fuser

Opcje wykonania fuser w konsoli

-

Return all options to defaults.

-signal

Send signal instead of SIGKILL.

-a

Display information on all specified files, even if they are not being accessed by any processes.

-i

Request user confirmation to kill a process. Ignored if -k is not also specified.

-k

Send SIGKILL signal to each process.

-l

List signal names.

-m

Expect files to exist on a mounted filesystem; include all files accessing that filesystem.

-n space

Set the namespace checked for usage. Acceptable values are file for files, udp for local UPD ports, and tcp for local TCP ports.

-s

Silent.

-u

User login name, in parentheses, also follows process ID.

-v

Verbose.

-V

Display version information.

Przykłady fuser działanie w Słownik polecenie F

Przykład FUSER użycie :
Jak użyć Display statistics about memory usage: total free, used, physical, swap, shared, and buffers used by the kernel co znaczy.
Przykład FUSER użycie :
Jak użyć Print the number of the current virtual console. For example, if you are using /dev/tty1 , the command would return 1 krzyżówka.
Przykład FUSER użycie :
Jak użyć administration command. fdisk displays information about disk partitions, creates and deletes disk partitions, and changes the active partition. It is possible to assign a different operating system co to jest.
Przykład FUSER użycie :
Jak użyć A null command that returns an unsuccessful (nonzero) exit status. Normally used in bash scripts. See also true słownik.
Przykład FUSER użycie :
Jak użyć Analyzer Generator) is a faster variant of lex . It generates a lexical analysis program (named lex.yy.c ) based on the regular expressions and C statements contained in one or more input files . See czym jest.