Quote:
Originally Posted by ruben_shah_j
The distro Im using is CentOS 7.
Actually I was learning to conigure vsftpd so I thought I will also learn what all the services running at the kernel to run vsftpd.
|
Those would be system calls. I'm not sure of kernel space stuff, so we can hope that someone else does see this thread. My limited knowledge is that
strace can see those. You can attach to a running process or start a fresh process:
Code:
sudo strace -p $(pgrep -o vsftpd)
sudo strace /usr/sbin/vsftpd
However if you are meaning user-space activities then
pstree as mentioned would be useful. See in particular the -s option.
Code:
pstree -as $(pgrep -o vsftpd)
Since you are on CentOS 7 the output from utility
systemd-analyze may also be of interest.
Code:
systemd-analyze critical-chain vsftpd
What corner case do you have that you still have
vsftpd on a machine in 2018?