nuttx-apps/nshlib
Michal Lenc f81a094283 nshlib: add support for pkill command
This command looks through the currently running processes and kills
the those that match the selection criteria. This way system can send
signal to processes by name and without knowing the IDs.

Example (kill application hello):
	pkill -15 hello

The command can be turned off by NSH_DISABLE_PKILL option and depends
on FS_PROCFS.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-09-23 08:40:54 +08:00
..
CMakeLists.txt nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
Kconfig nshlib: add support for pkill command 2024-09-23 08:40:54 +08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_alias.c nsh_alias.c: unalias -a command does not work correctly 2023-09-25 21:05:37 +08:00
nsh_altconsole.c feat(nsh): input (stdin) redirection 2024-08-08 19:19:18 -03:00
nsh_builtin.c feat(nsh): input (stdin) redirection 2024-08-08 19:19:18 -03:00
nsh_codeccmd.c Update nshlib/nsh_codeccmd.c 2023-09-21 10:48:29 +08:00
nsh_command.c nshlib: add support for pkill command 2024-09-23 08:40:54 +08:00
nsh_console.c feat(nsh): add console read 2024-08-08 19:19:18 -03:00
nsh_console.h feat(nsh): add console read 2024-08-08 19:19:18 -03:00
nsh_consolemain.c nshlib/nsh_consolemain: detect null pointer 2023-08-29 03:11:28 +08:00
nsh_dbgcmds.c nshlib: disable nsh error print if NSH_DISABLE_ERROR_PRINT enabled 2023-06-12 13:37:27 +08:00
nsh_ddcmd.c nshlib/ddcmd:Fixed NSH_CMDOPT_DD_STATS output format warning in 64-bit environment 2024-08-07 15:04:39 +08:00
nsh_envcmds.c nshlib: add print negative number support for echo command 2023-07-31 07:58:41 -07:00
nsh_fileapps.c nsh_fileapp: handle input redirection 2024-08-08 19:19:18 -03:00
nsh_fscmds.c nshlib: Support "-f" option for command "rm" 2024-09-19 03:45:37 +08:00
nsh_fsutils.c nshlib:enable O_CLOEXEC expliciti to avoid potential fd leak 2024-09-22 01:44:06 +08:00
nsh_init.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_login.c Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
nsh_mmcmds.c nsh_mmcmds: support "memdump -h/help" to show usage and sequence number 2024-01-06 04:34:27 -08:00
nsh_mntcmds.c apps/nshlib: add the missing FAR macro for all source files 2022-09-22 14:22:13 +08:00
nsh_modcmds.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_netcmds.c netutils/netlib: Encapsulate the dhcp configuration network code and modify at all calling locations 2024-08-23 22:10:04 +08:00
nsh_parse.c greenhills: fix the variable unused warning 2024-08-20 02:50:13 +08:00
nsh_passwdcmds.c apps/nshlib: add the missing FAR macro for all source files 2022-09-22 14:22:13 +08:00
nsh_printf.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_proccmds.c nshlib: add support for pkill command 2024-09-23 08:40:54 +08:00
nsh_prompt.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_routecmds.c netlib/setroute: fix dhcpd stack-overflow when calls netlib_set_dripv4addr with debug info-level 2024-08-26 01:54:46 +08:00
nsh_script.c nshlib: enable O_CLOEXEC explicit to avoid potential fd leak 2024-09-23 08:34:16 +08:00
nsh_session.c nshlib/prompt: extend NSH prompt string management 2024-02-25 00:55:47 -08:00
nsh_syscmds.c nshlib: enable O_CLOEXEC explicit to avoid potential fd leak 2024-09-23 08:34:16 +08:00
nsh_system.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_telnetd.c netutils: Support telnetd in the kernel mode 2022-11-07 15:24:08 +09:00
nsh_telnetlogin.c Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
nsh_test.c nshlib: add negative number logical judgement support for test and [ command 2023-07-30 22:20:02 -07:00
nsh_timcmds.c feat(nsh): input (stdin) redirection 2024-08-08 19:19:18 -03:00
nsh_usbconsole.c nsh_usbconsole.c: add support for NSH console over a composite device 2023-06-15 03:23:04 +08:00
nsh_usbtrace.c nshlib: Remove the remaining CONFIG_FILE_STREAM dependence 2023-02-24 17:38:19 +08:00
nsh_vars.c Replace all sprintf with snprintf 2023-05-08 21:35:16 +03:00
nsh.h nshlib: add support for pkill command 2024-09-23 08:40:54 +08:00
rc.sysinit.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00
rcS.template nsh/script: support rc.sysinit script 2022-04-21 12:54:24 +03:00