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 IamaSherpa 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. sparkle85

    help with a script which is monitoring appended data to a log file

    Thanks for your advice... u had a point there. As i don't have gawk installed on my system, and fflush is not defined in my awk installation... i read system function might be similar (if it is used in a proper way) So, I tried changing the tail command line with...
  2. sparkle85

    help with a script which is monitoring appended data to a log file

    Interesting... I am working on the same OS. I don't even know if your script might help me, given the fact that the data appended to the log file comes in blasts which have variable number of lines, but still, can i ask u to post your sollution?... It may be inspiring :). Thanks for your reply!
  3. sparkle85

    help with a script which is monitoring appended data to a log file

    Hello, I need some help with the following script: if ! [ -f ${PATH}/myfile.txt ];then echo $(date +%Y%m%d"_"%H%M%S)": Nu am gasit fisierul ${PATH}/myfile.txt" ps -fxu pin | grep "/usr/local/coreutils/bin/tail -f ${LOG_PATH}/x.log$" | awk '{system("kill "$2)}' cat ${LOG_PATH}/x.log |...

Part and Inventory Search

Back
Top