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 strongm 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: *

  1. elcid2k3

    cpu and memory usage via snmp

    Hello, It is possible to get cpu and memory usage via snmp with the hp server running the default snmp agent (snmpdm)? Thank you, Chris
  2. elcid2k3

    perform action when pattern not found

    Thank you!
  3. elcid2k3

    perform action when pattern not found

    I would have tried something if I had the knowledge... What I would like to know is how to perform an action when the pattern is not found. If it is too trivial I apologize... I will try to find a good awk book.
  4. elcid2k3

    perform action when pattern not found

    Hi, I have the following problem: I want to search for a pattern in a file, if it is found the line will be replaced with something else; if it is not found I want to insert a line at the end of file. Can you please give me some suggestions? Thanks in advance!
  5. elcid2k3

    remsh from a shell script

    Thank you!
  6. elcid2k3

    remsh from a shell script

    Hi, I can run the following remsh command from a HPUX server to a SunOS Server: remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters but if I want to run the remsh from a script like this: #!/usr/bin/sh res = `remsh x.x.x.x PATH_TO_REMOTE_SCRIPT parameters` echo $res I get the message...
  7. elcid2k3

    nawk print to file in the same line

    Thanks for the tips Jean-Pierre!
  8. elcid2k3

    nawk print to file in the same line

    Thank you!
  9. elcid2k3

    nawk print to file in the same line

    Hi, I print some text in a file but every print statement writes on a new line and I wish to write on the same line. For example the code if (index(FAULTS, 18)) print fca[1] >> "faults.txt" if (index(FAULTS, 23)) print fca[2] >> "faults.txt" if (index(FAULTS, 37)) print fca[3] >> "faults.txt"...

Part and Inventory Search

Back
Top