最終更新:2023-12-26 (火) 05:05:19 (119d)  

pkill
Top / pkill

名前や各種属性に基づくプロセスの閲覧とシグナル送信

pgrep, pkill - look up or signal processes based on name and other attributes

BusyBox

  • BusyBox v1.22.1 bionic (2014-04-06 21:24 +0200) multi-call binary.
    
    Usage: pkill [-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]
    
    Send a signal to process(es) selected by regex PATTERN
    
            -l      List all signals
            -f      Match against entire command line
            -n      Signal the newest process only
            -o      Signal the oldest process only
            -v      Negate the match
            -x      Match whole name (not substring)
            -s      Match session ID (0 for current)
            -P      Match parent process ID

メモ

  • pkill -f test.py

関連