Information about Pidof
pidof is a Linux utility that returns the process ID (PID) of a running process or processes. On other operating systems, pgrep and ps are often used instead. It is technically a symbolic link to killall5, the System V killall program used by the runlevel scripts, and the name it is called under is what determines its behavior.
Example:
[user&hostname]$ pidof java 3097
..... Click the link for more information.
..... Click the link for more information.
Example:
[user&hostname]$ pidof java 3097
See also
External links
- : find the process ID of a running program – Linux man page on usr-share-man.org
- : send a signal to all processes – Linux man page on usr-share-man.org
Unix command line programs and builtins (more) | |
|---|---|
| File and file system management | cat chattr cd chmod chown chgrp cksum cmp cp du df file fsck fuser ln ls lsof mkdir mount mv pwd rm rmdir split touch |
| Process management | at chroot crontab exit kill killall nice pgrep pidof pkill ps sleep time top wait watch |
| User Management/Environment | env finger id logname mesg passwd su sudo uname uptime w wall who whoami write |
| Text processing | awk comm cut ed ex fmt head iconv join less more paste sed sort tac tail tr uniq wc xargs |
| Shell programming | basename echo expr false printf test true unset |
| Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes | |
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
..... Click the link for more information.
pgrep is a command line utility initially written for use with the Solaris 7 operating system. It has since been reimplemented for Linux and OpenBSD. It searches for all the named processes, that can be specified as extended regular expression patterns, and, by default, returns
..... Click the link for more information.
..... Click the link for more information.
In most Unix-like operating systems, ps is a program that displays the currently running processes.
ps has many options. On operating systems that support the UNIX and POSIX standards, ps is commonly run with the options -ef, where "-e" selects e
..... Click the link for more information.
ps has many options. On operating systems that support the UNIX and POSIX standards, ps is commonly run with the options -ef, where "-e" selects e
..... Click the link for more information.
Unix System V, commonly abbreviated SysV and rarely called System 5, was one of the versions of the Unix operating system. It was originally developed by AT&T and first released in 1983. Four major versions of System V were released, termed Releases 1, 2, 3 and 4.
..... Click the link for more information.
..... Click the link for more information.
The term runlevel refers to a mode of operation in one of the computer operating systems that implement Unix System V-style initialization. Conventionally, seven runlevels exist, numbered from zero to six.
..... Click the link for more information.
..... Click the link for more information.
killall is a command line utility available on Unix-like systems. There are two very different implementations.
..... Click the link for more information.
- The implementation supplied with genuine UNIX System V (including Solaris) is a particularly dangerous command that literally kills all processes that the user is
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
..... Click the link for more information.
man pages (short for "manual pages"). The Unix command used to display them is man. Each page is a self-contained document.
man <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Usage
To read a page from the manual, one can use the commandman <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Linux (pronunciation: IPA: /ˈlɪnʊks/, lin-uks) is a Unix-like computer operating system. Linux is one of the most prominent examples of free software and open source development; its underlying source code can be
..... Click the link for more information.
..... Click the link for more information.
man pages (short for "manual pages"). The Unix command used to display them is man. Each page is a self-contained document.
man <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Usage
To read a page from the manual, one can use the commandman <page_name>
at a shell prompt, for example, "
..... Click the link for more information.
Unix (officially trademarked as UNIX®) is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
..... Click the link for more information.
..... Click the link for more information.
command line interface or CLI is a method of interacting with an operating system or software using a command line interpreter. This command line interpreter may be a text terminal, terminal emulator, or remote shell client such as PuTTY.
..... Click the link for more information.
..... Click the link for more information.
Printing: lp Communications: inetd netstat ping rlogin nc traceroute Searching: find grep strings Miscellaneous: banner bc cal dd man size yes
..... Click the link for more information.
..... Click the link for more information.
The cat command is a standard Unix program used to concatenate and display files. The name is from , a synonym of concatenate.
..... Click the link for more information.
Specification
The Single Unix Specification specifies the behavior that each of the files given in sequence as arguments will write their..... Click the link for more information.
chattr is a UNIX program that allows a user to set certain attributes to a file. Mostly chattr is used to make files immutable so that password files and certain system files cannot be erased during software upgrades.
..... Click the link for more information.
..... Click the link for more information.
cd, sometimes also available as chdir (change directory), is a command line command to change the current working directory in operating systems such as Unix, Windows and DOS.
..... Click the link for more information.
..... Click the link for more information.
The chmod command (abbreviated from change mode) is a shell command in Unix and Unix-like environments.
When executed, the command can change file system modes of files and directories. The modes include permissions and special modes.
..... Click the link for more information.
When executed, the command can change file system modes of files and directories. The modes include permissions and special modes.
..... Click the link for more information.
The chown command is used on Unix-like systems to change the owner of a file. In most implementations, it can only be executed by the Superuser. Unprivileged (regular) users who wish to change the group of a file that they own may use chgrp.
..... Click the link for more information.
..... Click the link for more information.
The chgrp command is used by unprivileged users on Unix-like systems to change the group associated with a file. Unlike the chown command, chgrp allows regular users to change groups, but only to one of which they are a member.
..... Click the link for more information.
..... Click the link for more information.
cksum is a POSIX command that reads the files specified by the File parameter and calculates a checksum, cyclic redundancy check (CRC) and the byte count for a file or files. If no files are specified, the cksum command reads standard input.
..... Click the link for more information.
..... Click the link for more information.
cmp is a command line utility for computer systems that use a Unix operating system. It compares two files of any type and writes the results to the standard output. By default, cmp is silent if the files are the same; if they differ, the byte and line number at which the first
..... Click the link for more information.
..... Click the link for more information.
..... Click the link for more information.
du (abbreviated from disk usage) is a standard Unix program used to estimate the file space usage; space used under a particular directory or files on a file system. History
Thedu utility first appeared in version 1 of AT&T UNIX...... Click the link for more information.
df (abbreviated from disk free) is a standard Unix computer program used to display the amount of available disk space for filesystems on which the invoking user has appropriate read access, df
..... Click the link for more information.
..... Click the link for more information.
file is a standard Unix program for determining the type of data contained in a file.
..... Click the link for more information.
History
The original version of file originated in Unix Research Version 4 in 1973...... Click the link for more information.
fuser is a UNIX command showing which processes are using a specified file.
..... Click the link for more information.
..... Click the link for more information.
ln is a standard Unix program used to create links (link) to files.
..... Click the link for more information.
Link files
Links allow more than one file to refer to the same file, elsewhere...... Click the link for more information.
LS may refer to:
..... Click the link for more information.
- Lightspeed Media Corporation, a collection of nude teen websites
- .ls, the Internet top-level domain for Lesotho
- ls is a command specified by POSIX and the Single UNIX Specification. It lists files.
- Jet2.
..... Click the link for more information.
lsof is a command meaning "list open files", which is used in many Unix-like systems to report a list of all open files and the processes that opened them. This open source utility was developed and supported by Vic Abell, the retired Associate Director of the Purdue University
..... Click the link for more information.
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus