Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@precise1:~# ps faux
- ...
- root 561 0.0 0.1 50040 2856 ? Ss 15:19 0:00 /usr/sbin/sshd -D
- root 969 0.0 0.1 73444 3600 ? Ss 15:19 0:00 \_ sshd: root@pts/0
- root 1109 0.0 0.4 27396 8620 pts/0 Ss 15:19 0:00 | \_ -bash
- root 17073 0.0 0.0 22720 836 pts/0 S+ 15:30 0:00 | \_ nc -l 61051
- root@precise1:~# netstat -taunp | grep LISTE
- tcp 0 0 0.0.0.0:61051 0.0.0.0:* LISTEN 17073/nc
- root@precise1:~# strace -p 17073
- Don't scratch the walls
- root@precise1:~# lttngtrace -p 17073
- 15:31:30.092253785 (+0.000000000) (cpu 0) [swapper/0 (0/0)] sched_switch (prev_comm = swapper/0, prev_tid = 0, prev_prio = 20, prev_state = 0, next_comm = nc, next_tid = 17073, next_prio = 20)
- 15:31:30.092263658 (+0.000009873) (cpu 0) [nc (17073/17073)] exit_syscall (ret = 4)
- 15:31:30.092317148 (+0.000053490) (cpu 0) [nc (17073/17073)] sys_poll (ufds = 140735541147808, nfds = 2, timeout_msecs = -1) = 1 (0.000005730s)
- 15:31:30.092325662 (+0.000008514) (cpu 0) [nc (17073/17073)] sys_read (fd = 0</dev/pts/0>, buf = 140735541147824, count = 1024) = 3 (0.000006967s)
- 15:31:30.092338598 (+0.000012936) (cpu 0) [nc (17073/17073)] sys_write (fd = 4, buf = 140735541147824, count = 3) = 3 (0.000014351s)
- 15:31:30.092354044 (+0.000015446) (cpu 0) [nc (17073/17073)] sys_poll (ufds = 140735541147808, nfds = 2, timeout_msecs = -1) ...interrupted...
- 15:31:30.092364153 (+0.000010109) (cpu 0) [nc (17073/17073)] sched_switch (prev_comm = nc, prev_tid = 17073, prev_prio = 20, prev_state = 1, next_comm = swapper/0, next_tid = 0, next_prio = 20)
Advertisement
Add Comment
Please, Sign In to add comment