monitoring

Tool to monitor HTTP, TCP, etc. Web Service traffic [closed]

旧时模样 提交于 2019-11-27 00:27:14
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What's the best tool that you use to monitor Web Service, SOAP, WCF, etc. traffic that's coming and going on the wire? I have seen

Monitoring application calls to DLL

柔情痞子 提交于 2019-11-27 00:26:39
In short: I want to monitor selected calls from an application to a DLL. We have an old VB6 application for which we lost the source code (the company wasn't using source control back then..). This application uses a 3rd party DLL. I want to use this DLL in a new C++ application. Unfortunately the DLL API is only partially documented, so I don't know how to call some functions. I do have the functions signature. Since the VB6 application uses this DLL, I want to see how it calls several functions. So far I've tried or looked at - APIHijack - requires me to write C++ code for each function.

monitoring for changes in file(s) in real time

限于喜欢 提交于 2019-11-26 22:40:26
问题 I have a program that monitors certain files for change. As soon as the file gets updated, the file is processed. So far I've come up with this general approach of handing "real time analysis" in R. I was hoping you guys have other approaches. Maybe we can discuss their advantages/disadvantages. monitor <- TRUE start.state <- file.info$mtime # modification time of the file when initiating while(monitor) { change.state <- file.info$mtime if(start.state < change.state) { #process } else { print

Best way to aggregate multiple log files from several servers [closed]

安稳与你 提交于 2019-11-26 22:35:44
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I need a simple way to monitor multiple text log files distributed over a number of HP-UX servers. They are a mix of text and XML log

CPU utilization by database?

假装没事ソ 提交于 2019-11-26 22:31:09
问题 Is it possible to get a breakdown of CPU utilization by database ? I'm ideally looking for a Task Manager type interface for SQL server, but instead of looking at the CPU utilization of each PID (like taskmgr ) or each SPID (like spwho2k5 ), I want to view the total CPU utilization of each database. Assume a single SQL instance. I realize that tools could be written to collect this data and report on it, but I'm wondering if there is any tool that lets me see a live view of which databases

How to check if a php script is still running

情到浓时终转凉″ 提交于 2019-11-26 20:46:55
问题 I have a PHP script that listens on a queue. Theoretically, it's never supposed to die. Is there something to check if it's still running? Something like Ruby's God ( http://god.rubyforge.org/ ) for PHP ? God is language agnostic but it would be nice to have a solution that works on windows as well. 回答1: I had the same issue - wanting to check if a script is running. So I came up with this and I run it as a cron job. It grabs the running processes as an array and cycles though each line and

Monitor network activity in Android Phones

给你一囗甜甜゛ 提交于 2019-11-26 19:34:27
I would like to monitor network traffic of my Android Phone. I was thinking using tcpdump for Android, but I'm not sure if I have to cross-compile for the phone. Another question is the following, If I want to monitor the trafic data for a certain application, there's any command for doing that? Martin Solac TCPDUMP is one of my favourite tools for analyzing network, but if you find difficult to cross-compile tcpdump for android, I'd recomend you to use some applications from the market. These are the applications I was talking about: Shark: Is small version of wireshark for Android phones).

How to monitor a complete directory tree for changes in Linux?

≯℡__Kan透↙ 提交于 2019-11-26 19:16:53
问题 How can I monitor a whole directory tree for changes in Linux ( ext3 file system)? Currently the directory contains about half a million files in about 3,000 subdirectories , organized in three directory levels. Those are mostly small files (< 1kb, some few up to 100 kb). It's a sort of queue and I need to know when files are being created, deleted or their content modified within 5-10 seconds of that happening. I know there is inotify and sorts, but AFAIK they only monitor a single directory

What is the best macro-benchmarking tool / framework to measure a single-threaded complex algorithm in Java? [closed]

那年仲夏 提交于 2019-11-26 17:29:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I want to make some performance measures (mainly runtime) for my Java code, a single-threaded, local, complex algorithm. (So I do not want a macro-benchmark to measure a JVM implementation.) With the tool, I would like to analyse the complexity , i.e. see how my code scales for a parameter n (the search depth).

Read from a log file as it's being written using python

安稳与你 提交于 2019-11-26 17:22:54
I'm trying to find a nice way to read a log file in real time using python. I'd like to process lines from a log file one at a time as it is written. Somehow I need to keep trying to read the file until it is created and then continue to process lines until I terminate the process. Is there an appropriate way to do this? Thanks. You could try with something like this: import time while 1: where = file.tell() line = file.readline() if not line: time.sleep(1) file.seek(where) else: print line, # already has newline Example was extracted from here . Take a look at this PDF starting at page 38,