Search Results

Search: Posts Made By: djinn
19,864
Posted By djinn
So the new script is: #!/sh/bin ...
So the new script is:
#!/sh/bin
check_stat=`ps -ef | grep vsftpd | grep -v grep | awk '{print $2}'`
if [ "${check_stat}X" != "X" ]
then
echo "vsftpd is running"
else
echo "vsftpd isn't...
19,864
Posted By djinn
This script is meant for an application, I'm only...
This script is meant for an application, I'm only using SSHD as an example but you brought up a good point. I'll switch the sshd to ftpd and go from there.
19,864
Posted By djinn
Script to verify SSH is running
Writing a simple test script that looks for ssh, kills if its running and verifies if its still running. If it isn't, move on. My issue, its cause I don't know how, is to verify if ssh is running...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy