Commonly used · Observation system
kill:Send a signal to the process
Syntax
kill [-15 | -TERM | -9 | -KILL] PID…Options
-15 / -TERM- End of request (default)
-9 / -KILL- force end
Examples
kill 314Usage and sandbox support
Try TERM first. The teaching model uniformly removes processes and does not simulate signal processing functions.
Hands-on exercises
- End runaway work processesEveryday
Related commands
psView process listpgrepCheck process number by namepkillEnd process by nametopView system process snapshotfreeView memory overviewdfView file system spaceduEstimated directory usageunameView kernel informationwhoamiShow current useridView users and user groupshostnameView host namedateView dateuptimeView running timenprocQuery the number of available processorswhoView login sessionwView sessions and loadttyView terminal device namelscpuView CPU topologylsblkView block devices and file systemsfindmntView mounting relationshipsvmstatObserve memory and CPU indicatorsdmesgView kernel messageshtopInteractively view process resourceslsofView open files and portsfuserFind processes occupying files or portsiostatWatch the disk with the CPU indicatorpidstatObserve process resource usagesarQuery system performance recordsniceSpecify process scheduling priorityreniceAdjust the priority of existing processesioniceAdjust I/O scheduling prioritystraceTracing system callsperfSampling performance eventsmountMount file systemumountUnmount file systemblkidQuery block device identifierfdiskView or edit partitionspartedManage disk partitionsmkfsCreate file systemfsckCheck file systemswaponEnable or query swap spaceswapoffDisable swap spacelsmodList kernel modulesmodinfoQuery kernel module informationmodprobeLoad kernel modulelsusbView USB devicelspciView PCI devicegetconfView system configuration values