/busybox-1.35.0/shell/hush_test/hush-comm/ |
D | comm.right | 2 /proc/N/comm: SCRIPT.sh 4 /proc/N/comm: SCRIPT.sh 6 /proc/N/comm: hush
|
D | comm.tests | 5 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/ |
D | comm.right | 2 /proc/N/comm: SCRIPT.sh 4 /proc/N/comm: SCRIPT.sh 6 /proc/N/comm: ash
|
D | comm.tests | 5 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/ |
D | pstree.c | 44 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 …]
|
D | pgrep.c | 178 cmd = proc->comm; in pgrep_main() 211 if (!match && cmd != proc->comm) { in pgrep_main() 214 cmd = proc->comm; in pgrep_main()
|
D | top.c | 131 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);
|
D | ps.c | 237 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()
|
D | ps.posix | 139 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/ |
D | vfork_daemon_rexec.c | 35 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()
|
D | find_pid_by_name.c | 45 if (strncmp(p->comm, procName, 15) != 0) in comm_match() 51 if (p->comm[14] == '\0') in comm_match()
|
D | procps.c | 384 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/ |
D | stop_tasks | 16 pslist=`{ sleep 1; ps -A -o comm=; } | sort | xargs`
|
D | stop_storage | 20 pslist=`{ sleep 1; ps -A -o comm=; } | sort | xargs`
|
/busybox-1.35.0/ |
D | NOFORK_NOEXEC.lst | 22 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
|
D | AUTHORS | 144 comm
|
/busybox-1.35.0/docs/ |
D | posix_conformance.txt | 116 comm POSIX options 121 comm Busybox specific options: None
|
/busybox-1.35.0/include/ |
D | libbb.h | 1275 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;
|