Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 18 of 18) sorted by relevance

/busybox-1.35.0/shell/hush_test/hush-comm/
Dcomm.right2 /proc/N/comm: SCRIPT.sh
4 /proc/N/comm: SCRIPT.sh
6 /proc/N/comm: hush
Dcomm.tests5 echo 'echo " /proc/N/comm: $(cat $procdir/comm)"'
9 # comm field was wrong if CONFIG_FEATURE_PREFER_APPLETS=y
13 # comm field was wrong if CONFIG_FEATURE_PREFER_APPLETS=y
/busybox-1.35.0/shell/ash_test/ash-comm/
Dcomm.right2 /proc/N/comm: SCRIPT.sh
4 /proc/N/comm: SCRIPT.sh
6 /proc/N/comm: ash
Dcomm.tests5 echo 'echo " /proc/N/comm: $(cat $procdir/comm)"'
9 # comm field was wrong if CONFIG_FEATURE_PREFER_APPLETS=y
13 # comm field was wrong if CONFIG_FEATURE_PREFER_APPLETS=y
/busybox-1.35.0/procps/
Dpstree.c44 char comm[COMM_DISP_LEN + 1]; member
142 static PROC *new_proc(const char *comm, pid_t pid, uid_t uid) in new_proc() argument
146 strcpy(new->comm, comm); in new_proc()
164 cmp = strcmp((*walk)->child->comm, child->comm); in add_child()
174 static void add_proc(const char *comm, pid_t pid, pid_t ppid, in add_proc() argument
181 this = new_proc(comm, pid, uid); in add_proc()
183 strcpy(this->comm, comm); in add_proc()
204 if (strcmp(a->comm, b->comm) != 0) in tree_equal()
280 comm_len = out_args(current->comm); in dump_tree()
348 static void handle_thread(const char *comm, pid_t pid, pid_t ppid, uid_t uid) in handle_thread() argument
[all …]
Dpgrep.c178 cmd = proc->comm; in pgrep_main()
211 if (!match && cmd != proc->comm) { in pgrep_main()
214 cmd = proc->comm; in pgrep_main()
Dtop.c131 char comm[COMM_LEN]; member
714 read_cmdline(line_buf + col, scr_width - col, s->pid, s->comm);
758 char comm[COMM_LEN]; member
865 read_cmdline(&line_buf[8*6], scr_width - MIN_WIDTH, s->pid, s->comm);
1212 strcpy(top[n].comm, p->comm);
1224 strcpy(topmem[n].comm, p->comm);
Dps.c237 safe_strncpy(buf, ps->comm, size+1); in func_comm()
247 read_cmdline(buf, size+1, ps->pid, ps->comm); in func_args()
797 read_cmdline(buf, sz, p->pid, p->comm); in ps_main()
Dps.posix139 comm The name of the command being executed ( argv[0] value) as a
155 Only comm and args shall be allowed to contain <blank>s; all others
163 comm COMMAND rgroup RGROUP
/busybox-1.35.0/libbb/
Dvfork_daemon_rexec.c35 char comm[16]; in re_execed_comm() local
42 prctl(PR_GET_NAME, (long)comm, 0, 0, 0); in re_execed_comm()
44 return strcmp(comm, expected_comm) == 0; in re_execed_comm()
47 void FAST_FUNC set_task_comm(const char *comm) in set_task_comm() argument
50 prctl(PR_SET_NAME, (long)comm, 0, 0, 0); in set_task_comm()
Dfind_pid_by_name.c45 if (strncmp(p->comm, procName, 15) != 0) in comm_match()
51 if (p->comm[14] == '\0') in comm_match()
Dprocps.c384 BUILD_BUG_ON(sizeof(sp->comm) < 16); in procps_scan()
387 safe_strncpy(sp->comm, comm1 + 1, sizeof(sp->comm)); in procps_scan()
569 void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm) in read_cmdline() argument
597 if (!comm) in read_cmdline()
599 comm_len = strlen(comm); in read_cmdline()
606 if (strncmp(base, comm, comm_len) != 0) { in read_cmdline()
610 snprintf(buf, col, "{%s}", comm); in read_cmdline()
617 snprintf(buf, col, "[%s]", comm ? comm : "?"); in read_cmdline()
/busybox-1.35.0/examples/shutdown-1.0/script/
Dstop_tasks16 pslist=`{ sleep 1; ps -A -o comm=; } | sort | xargs`
Dstop_storage20 pslist=`{ sleep 1; ps -A -o comm=; } | sort | xargs`
/busybox-1.35.0/
DNOFORK_NOEXEC.lst22 if it's important that /proc/PID/cmdline and comm are correct.
90 comm - runner
276 pgrep - must fork+exec to get correct /proc/PID/cmdline and comm field
277 pidof - must fork+exec to get correct /proc/PID/cmdline and comm field
282 pkill - must fork+exec to get correct /proc/PID/cmdline and comm field
DAUTHORS144 comm
/busybox-1.35.0/docs/
Dposix_conformance.txt116 comm POSIX options
121 comm Busybox specific options: None
/busybox-1.35.0/include/
Dlibbb.h1275 void set_task_comm(const char *comm) FAST_FUNC;
2061 char comm[COMM_LEN]; member
2104 void read_cmdline(char *buf, int size, unsigned pid, const char *comm) FAST_FUNC;