Re: Auto Generating -bash process
Posted by kvmishra on May 06, 2024; 7:25am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Auto-Generating-bash-process-tp12438p12465.html
[appsdev@test 20930]$ ls -l cwd
lrwxrwxrwx. 1 appsdev dba 0 May 6 12:53 cwd -> /
[appsdev@test 20930]$
[appsdev@test 20930]$ strace -p 20930
strace: Process 20930 attached
epoll_pwait(4, [], 1024, 182, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802790, tv_nsec=652151298}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802790, tv_nsec=652213801}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802790, tv_nsec=652270236}) = 0
epoll_pwait(4, [], 1024, 220, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802790, tv_nsec=873128134}) = 0
epoll_pwait(4, [], 1024, 279, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156134222}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156161769}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156206343}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156243307}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156282947}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=156317821}) = 0
epoll_pwait(4, [], 1024, 500, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=661157441}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=661210880}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=661232881}) = 0
epoll_pwait(4, [], 1024, 212, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802791, tv_nsec=874128337}) = 0
epoll_pwait(4, [], 1024, 287, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802792, tv_nsec=163136044}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802792, tv_nsec=163162663}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=3802792, tv_nsec=163209900}) = 0
epoll_pwait(4, ^Cstrace: Process 20930 detached
<detached ...>
[appsdev@test 20930]$
[appsdev@test 20930]$ lsof -p 20930
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/0/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/0/gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse file system /run/user/0/doc
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
-bash 20930 appsdev cwd DIR 252,0 4096 128 /
-bash 20930 appsdev rtd DIR 252,0 4096 128 /
-bash 20930 appsdev txt REG 252,5 2365672 167 /tmp/-bash (deleted)
-bash 20930 appsdev 0r CHR 1,3 0t0 2059 /dev/null
-bash 20930 appsdev 1w CHR 1,3 0t0 2059 /dev/null
-bash 20930 appsdev 2w CHR 1,3 0t0 2059 /dev/null
-bash 20930 appsdev 3u REG 252,5 0 168 /tmp/.lock
-bash 20930 appsdev 4u a_inode 0,14 0 11741 [eventpoll]
-bash 20930 appsdev 5r FIFO 0,13 0t0 2070640197 pipe
-bash 20930 appsdev 6w FIFO 0,13 0t0 2070640197 pipe
-bash 20930 appsdev 7r FIFO 0,13 0t0 2070641666 pipe
-bash 20930 appsdev 8w FIFO 0,13 0t0 2070641666 pipe
-bash 20930 appsdev 9u a_inode 0,14 0 11741 [eventfd]
-bash 20930 appsdev 10u a_inode 0,14 0 11741 [eventfd]
-bash 20930 appsdev 11u a_inode 0,14 0 11741 [eventfd]
-bash 20930 appsdev 12r CHR 1,3 0t0 2059 /dev/null
-bash 20930 appsdev 13u IPv4 2070641667 0t0 TCP test.xyz.com:apani1->sable-lamp.aeza.network:http (ESTABLISHED)
[appsdev@test 20930]$