Searched refs:proc (Results 1 – 25 of 55) sorted by relevance
123
5 ls -1 /proc/self/fd | wc -l6 ls -1 /proc/self/fd >/proc/self/fd/1 | wc -l7 ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 | wc -l8 echo "`ls -1 /proc/self/fd `" | wc -l9 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 `" | wc -l10 echo "`ls -1 /proc/self/fd >/proc/self/fd/1 2>&1 `" | wc -l
1 /proc/self/fd2 /proc/self/fd/03 /proc/self/fd/14 /proc/self/fd/25 /proc/self/fd/3
2 # Note: one of these fds is a directory opened to /proc/self/fd6 for f in /proc/self/fd/*; do7 test "$f" = "/proc/self/fd/0" && continue8 test "$f" = "/proc/self/fd/1" && continue9 test "$f" = "/proc/self/fd/2" && continue
4 busybox find /proc/self/fd >tmp_$$.out
47 procps_status_t *proc = NULL; in lsof_main() local49 while ((proc = procps_scan(proc, PSSCAN_PID|PSSCAN_EXE)) != NULL) { in lsof_main()56 if (getpid() == proc->pid) in lsof_main()59 baseofs = sprintf(name, "/proc/%u/fd/", proc->pid); in lsof_main()69 printf("%d\t%s\t%s\t%s\n", proc->pid, proc->exe, entry->d_name, fdlink); in lsof_main()
110 procps_status_t *proc; in pgrep_main() local159 proc = NULL; in pgrep_main()160 while ((proc = procps_scan(proc, scan_mask)) != NULL) { in pgrep_main()164 if (proc->pid == pid) in pgrep_main()169 if (ppid2match >= 0 && ppid2match != proc->ppid) in pgrep_main()171 if (sid2match >= 0 && sid2match != proc->sid) in pgrep_main()176 cmd = proc->argv0; in pgrep_main()178 cmd = proc->comm; in pgrep_main()180 int i = proc->argv_len; in pgrep_main()201 if (ppid2match >= 0 && ppid2match != proc->ppid) in pgrep_main()[all …]
1 proc /proc proc defaults 0 0
2 /proc/N/comm: SCRIPT.sh4 /proc/N/comm: SCRIPT.sh6 /proc/N/comm: hush
3 echo 'procdir=/proc/$$'4 #echo 'echo " /proc/N/exe: $(basename $(readlink $procdir/exe))"'5 echo 'echo " /proc/N/comm: $(cat $procdir/comm)"'
2 /proc/N/comm: SCRIPT.sh4 /proc/N/comm: SCRIPT.sh6 /proc/N/comm: ash
38 test -e /proc/version || mount -t proc none /proc56 cat /proc/mounts \61 ( proc | sysfs | usbfs | devpts | rpc_pipefs | binfmt_misc | autofs | rootfs | tmpfs | ramfs )
55 cat /proc/swaps | grep -v ^Filename | cut -d ' ' -f1 \64 cat /proc/swaps66 cat /proc/mounts
3 grep SigIgn: /proc/self/status4 exec grep SigIgn: /proc/self/status
1 This patch makes /proc/self/exe executable even if proc15 + && strcmp(name, "/proc/self/exe") == 0
73 none /proc proc defaults 0 086 [none][/proc][proc][defaults][0][0]
91 umount /proc96 /proc /proc proc defaults 0 0