Hi
I am not an expert in html. However I have built a table in html code. Now, I'm thinking of generating a graph based on the selection of a row. I don't want to graph them all at once. only the row that I select. Validating documentation in google, I found that it could be done including...
Hi there
Question
It could be that the comment shadowed in red color, is the issue ??
systemctl status iptables.service
● iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
[highlight...
Hi there
I am trying to block snmp incomming traffic from ip "xx.xx.xx.xx", using iptables but i dont understand why it is not done by the operating system REL.
trying with this
iptables -A INPUT -s 10.250.2.235 -p udp --destination-port 162 -j DROP
iptables -A INPUT -s 10.250.2.235 -j DROP...
Hi there
There is a file with many records. the records have structure with tags. there is a special tag , that have the information. from it, that I am trying to do, is taking the first field, some information of the 3 and 4 fields, using sed. the separator of this fields is an "*"...
Hi
I am using tshark to edit pcap file. I am searching a way to read a file and filter smpp protocol.
This is the comand line that I used to.
tshark -nr 20140508_11_1.pcap -T text -V -O smpp > 20140508_11_1.text
But I cant get the result.
I appreciate your comments about it.
Thanks a lot...
Hi
I added this line to the program.
send "\rexport TERM=xterm\r"
now I can see the output of the command, going well. The issue now, is that the output is truncated to 4 columns
Output
DataSource st cong PduLost
CL_ALL_PTT_CAL-IMF-1E_Upgd_ixp0001_419850-10.83.65.10:34516 A No...
Hi
This trace is generated when the program is executed manually.
output
routeDisp
DataSource st cong PduLost MsuSend Fail Msu/Sec Byt/sec Last State Time mfId tId
CL_GPRS_GP_CAL-PMF-1B_ixp0004_379417-10.20.64.47:53061 A No...
Hi
My script validates the main functions from 61 servers.
CPU
FILESYSTEMS
PROCESS
Inside the shell, I execute an 'expect script' to do this. If I execute this script manually, it functions very well, but if i run it from cron service, it generate the next message -> WARNING: terminal not...
Hi PVH
The job is programmed in accordance with the date.
When the job run automatically at the time programmed, the programm always execute the else cicle.
Shell that programm the at job
#!/usr/bin/bash
/usr/tmc/su - ${USER} <<EOF > ${HOME}/traza.log
at -s -m -f ${PathNewDir}${file}.sh...
Hi
When I run a bash shell manually, it functions well, but when i run it, using at command i have a problem with the "if" cicle.
#!/usr/bin/bash
/usr/tmc/su - ${USER} <<EOF > ${HOME}/traza.log
at -s -m -f ${PathNewDir}${file}.sh ${HORA} ${A_DATEF[1]} ${A_DATEF[2]},${A_DATEF[4]}
atq
EOF...
LKBrwnDBA, Thanks a lot for your feedback
The script funtions well. But I would like to built a variable "val" (associative array), before to use awk. After to build this variable, pass it to awk.
The size of the val is variable, it depends of the amount of fields. this variable val contain...
Thanks a lot LKBrwnDBA
I made some changes
declare -a array
array=( "$@" )
len=${#array[@]}
file=${array[$len-1]}
args=${array[@]:0:$len-1}
echo "file: $file"
echo "Argumentos antes de $file son: $_args"
for ((i=0;i<$( expr ${#array[@]} - 1 );i++));do
echo "${array[$i]}"
if [...
Hi
I want to print a header and report with the fields selected. The issue is that my programm does not print the values.
my initial script
awk -v fields="1,2,3,4,5" '
BEGIN{
#header array
n[1]="ID"
...
n[103]="lastField"
l=split(fields,ARR,",")
for ( i=1;i<=l;i++){
printf i==l...
Hi
Thanks a lot for your answer UnsolvedCoding, the issue was solved . Further, I include this script into the thisoutlooksession module, and it works fine.
The next steep will be open the excel file attachement and save it.
Any suggestion? I appreciated your comments.
Tanks Malpa.
For me...
Hi
I receive a lot of emials.
That i Want is identify a html format, to export valules that comes into a table, to a excel application, automatically.
I am running this script like a rule.
The problem is that my initial scrpit, not function when the table into email with html format, comes in...
Hi
I found the problem. Three days after. I made a mistake
I change this
while ( (getline < "file.csv") > 0 )
for
while ( (getline tmp < "file.csv") > 0 )
that is all.
thanks
malpa
Hi
I have an associative array, when I want to print this array via a function, I have no problem.
this array is populate whit a file that contain this structure
file.txt
******** begin
data
fin
******** begin
data
fin
********
But if I include into the print cycle another function to...
Hi Annihilannic
I made many mistakes
you are rigth
"""This is most likely because it is running with different environment settings, especially the PATH. Try setting (and exporting) the value of PATH at the beginning of programm.sh, using a similar value to the one that you have in your...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.