Thursday, February 11, 2016

Restart or Stop/Start FTP/FTPS

Find ftp service running
root@hostname(/)$ ps -ef | grep inetd
    root  4194452  4522006   0   Dec 18      -  0:00 /usr/sbin/inetd


Stop ftp service
root@hostname(/)$ kill -9 4194452  4522006

Start ftp service
root@hostname(/)$ startsrc -s inetd
0513-059 The inetd Subsystem has been started. Subsystem PID is 11534388.

1 comment: