Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: malpa
  • Content: Threads
  • Order by date
  1. malpa

    Graph the selection of a html table row

    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...
  2. malpa

    block incoming snmp traps from ip

    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...
  3. malpa

    sed script

    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 "*"...
  4. malpa

    Read pcap file and filter smpp protocol

    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...
  5. malpa

    WARNING: terminal not capable of 'window' mode

    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...
  6. malpa

    at job

    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...
  7. malpa

    Build associative array

    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...
  8. malpa

    extract table from outlook email

    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...
  9. malpa

    ? Why an associative array is modified, after executing a function?

    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...
  10. malpa

    On liner STDIN

    Hi Im decoding a binary file, this file has this structure HEx bc 08 00 50 00 31 48 27 20 83 ff ff ff ff 03 87 40 55 90 20 11 07 31 05 04 29 00 00 02 75 00 00 00 00 01 21 00 16 bc 08 00 50 00 31 34 56 93 90 ff ff ff ff 03 87 40 55 90 20 11 07 31 05 09 00 00 00 00 30 00 00 00 00 01 21 00 16 I...
  11. malpa

    awk does not fuction into crontab

    Hi I want to run my programm using crontab command, but it does not function. 0 8 * * * sh path/programm.sh But if I run the programm from command line sh programm.sh it funtion fine. the problem ocurr when I try to run the next command using another awk. compress" "directorio""file " |...
  12. malpa

    Automatic process to Extract body text from outlook

    Hi I want to read , extract and save body text messagges from outlook each time that I recive them. I want to save this messagges in csv logs. My initial programm, it has an error. Public Sub ReadEmails() Dim olApp As Outlook.Application Dim olNamespace As Outlook.NameSpace Dim...
  13. malpa

    Crontab

    Hi My programm run well using command line /bin/bash connection.sh, but when I used crontab programm this programm do not function. messagge "Connection failed" I would like to solve it. Finally What is the difference between at command and crontab command. I am using at command for this...
  14. malpa

    net::telnet

    Hi there are 3 possibilities of reponse when i run a command using $host->print($comando); $host->waitfor( 1- '/CONFIRM COMMAND EXECUTION: Y\/N \? /i' or 2- '/DO YOU WANT TO WAIT FOR RECOVERY OR EXECUTE PARALLEL WITH CURRENT JOBS/i' or 3- '/< /i' ) for 1 and 2 I must to print...
  15. malpa

    range records

    hi I have this file. I want to obtain blocks of lines, between those registers, which first field is "DN". The first step is capture the first line that contain # OFC=564 #. In Addition, I need to adjust this programm to print the last records. my programm l.awk function...
  16. malpa

    search duplicates

    Hi Order and search duplicates There are many files from several network elements. These files are generated all days. One per element. You can find the same register into several network elements. The difference consits of that the duration time between this registers can be more or less...
  17. malpa

    sub function

    Hi I want to change a especific position into register. In my programm I have to use four lines to do this. part_one=substr($0,1,10) part_two="2" part_three=substr($0,12) $0=parte1""parte3""parte4 I only want to change the character number 11 into the register is it...
  18. malpa

    Grouping and count

    Hi I have this file file.txt source target times A B 1 A B 2 A C 4 B A 3 B K 1 B C 8 B D 2 B D 1 C A 1 desired output file source, different targets, total times A 2 (B,C)...
  19. malpa

    uncompress files *.tar.gz

    Hi I have files *.tar.gz. Is it possilble to descompress and search a register at the same time to standard output? Similar when I search a register in a file file.Z or file.gz or file.bz2 to standard output zcat file.Z | grep xxx or bunzip2 -c file.bz2 | grep xxx or gzip -c file.gz | grep...
  20. malpa

    Report

    Hi I have a file with this fields: date, subscriber a, suscriber b, country b, date, seconds. and I want to obtain this resume: date, subscriber a, country b, total calls, total seconds, quantity subcriber b differents my initial program t[date";"subscriber a"," suscriber b"," country...

Part and Inventory Search

Back
Top