Pidof
From DssWiki
{{DISPLAYTITLE:{{#if:|:|}}pidof}}
pidof is a Linux utility that returns the process ID (PID) of a running process. On other operating systems, pgrep and ps are often used instead.
Example:
[user&hostname]$ pidof java 3097
[edit] See also
[edit] External links
|Linux|default}}|8|pidof|url}} pidof{{#if:{{Man/{{#if:Linux |Linux|default}}|8|pidof|display_section}}|({{Man/{{#if:Linux |Linux|default}}|8|pidof|display_section}})}}]{{#if:find the process ID of a running program|: find the process ID of a running program}}{{#if:{{#ifeq: |inline||{{Man/{{#if:Linux |Linux|default}}|8|pidof|attrib}}}}| – {{#ifeq: |inline||{{Man/{{#if:Linux |Linux|default}}|8|pidof|attrib}}}}}}
{{#if: |
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 | 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 | pg | 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 | traceroute | Searching: find | grep | strings | Miscellaneous: banner | bc | cal | dd | man | size | yes | |
