Search Results

Search: Posts Made By: ust3
Forum: Red Hat 06-23-2018
3,744
Posted By ust3
#netstat -na | grep LISTEN | grep 80 tcp6 ...
#netstat -na | grep LISTEN | grep 80

tcp6 0 0 :::80 :::* LISTEN


Do you have an IPv6 address allocated? What do you get as output for ip a s ?...
Forum: Red Hat 06-22-2018
3,744
Posted By ust3
About the apache for ipv6 configuration
I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to...
1,220
Posted By ust3
How to check everything are migrated after the physical to vmware virtual machine?
I have a physical machine , just use vmware tools migrated data to virtual machine .

how can I check these two servers - old and new server , the data are the same , all files are copy to new...
1,813
Posted By ust3
thank reply , I changed the code to as...
thank reply ,

I changed the code to as below

while read d1
do while read d2
do while read d3
do while read d4
do while read d5
do echo "abc"
done < f5
done < f4
done < f3
done < f2...
1,813
Posted By ust3
thanks reply , when run it , it pops the...
thanks reply ,

when run it , it pops the error "syntax error near unexpected token `done'
" .

besides , instead , add d1 , d2 , d3 .... , how to loop it to 1000 ?

thanks
961
Posted By ust3
thanks for your help Is this a homework...
thanks for your help

Is this a homework assignment? ==> this is not homework assignment .
Is my_string a constant, or is it a parameter to your script? ==> my_string is a constant
What have...
961
Posted By ust3
Hange display format
I have a file , the file content will be modified regularly , its structure as below, the lines are begins with "A" and "B" .

#vi file1

this is testing file
A aaaaa
B bbbbb
A ccccc ...
991
Posted By ust3
Column matching
deleted

deleted
818
Posted By ust3
Check no. of mailqueue
I know the command "mailq" can be used to check any mail is pending , if I would like to get the alert if the no. of pending mail is over 500 , would advise what can I do , if a script can do that ?...
2,291
Posted By ust3
thanks reply , the above script is check remote...
thanks reply ,
the above script is check remote server log , it seem check 1 server only , right ?
if I want to access 10 servers to check its log , would advise how to do it ? thanks
2,291
Posted By ust3
thanks reply , it helps , I will finish the...
thanks reply ,

it helps , I will finish the script myself , but if I have 10 servers , rather receive 10 alert mails , how to make 10 mails becomes one single mail , all servers can be connected...
2,291
Posted By ust3
Exclude string
I would like to write a script to check the log , if any line in the log have the string in include_list.txt but do not have the string in exclude_list.txt , then send alert mail to administrator ,...
9,752
Posted By ust3
thanks reply , it helps , I know the...
thanks reply ,

it helps , I know the command "mailq" can show all pending mail , what I hope to do is extract such raw data into a alert mail .

thanks
9,752
Posted By ust3
thanks suggestions mails stopped in the...
thanks suggestions

mails stopped in the mailq usually because the particular mail domain error or mail relay problem , it do not cause the mail completely can't send out .
therefore , I think...
9,752
Posted By ust3
thanks reply , would you please ignore the...
thanks reply ,

would you please ignore the probability of server failure .

thanks
9,752
Posted By ust3
thanks reply , the email will send to my...
thanks reply ,

the email will send to my mobile phone , and my email system is very stable , it nearly 99.99% availability .
9,752
Posted By ust3
Check mail queue
We use Redhat server , we always use mailq to check any pending mail in mailq , when run the command mailq , it shows all existing pending mail would advise how to write a script to show the...
9,920
Posted By ust3
Thanks reply, I am not want to know the...
Thanks reply,

I am not want to know the reason of failure to send mail and how to fix the error , I just would like to know how many mail is in the mqueue in a time .

is there script could do...
9,920
Posted By ust3
thanks reply, yes , there are remote server ,...
thanks reply,
yes , there are remote server , but I prefer use localhost to do the checking.
9,920
Posted By ust3
Check pending mail in mail queue
I know the command mailq can check the pending mail in mqueue , and also have another command to check POSIX mail queue in server , now I will regularly check the mqueue manually , it is time...
995
Posted By ust3
thanks reply , if use this method , it...
thanks reply ,

if use this method , it only check the size of /home directory but not the individual directory size of each user , is it ? thanks
995
Posted By ust3
User size used
I would like to check the used size of all user login ID , I tried the command du -a , du -h , it seems can only find the current directory , If I would like to list all user ( the user list in...
953
Posted By ust3
Check data in mysql
Hi, I just would like to write a perl script , this perl script do the following .

Check the parameter $data in a mysql database ( with user ID and password ) , if the $data is exist then return...
1,630
Posted By ust3
Create function
I would like to make a perl function , this function could send mail via SMTP and also could import a text file into mail content , that mean I have a text file , want to use this function to send...
1,957
Posted By ust3
thanks reply , I mean I have existing perl...
thanks reply ,

I mean I have existing perl program tht output email address and content to the variable , it can not do send mail , what I need is add a function to send mail via SMTP .
Showing results 1 to 25 of 67

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