monitoring

Detecting (on the server side) when a Flex client disconnects from BlazeDS destination

这一生的挚爱 提交于 2019-12-12 19:14:11
问题 I'd like to know whether it's possible to easily detect (on the server side) when Flex clients disconnect from a BlazeDS destination please? My scenario is simply that I'd like to try and use this to figure out how long each of my clients are connected for each session. I need to be able to differentiate between clients as well (ie so not just counting the number of currently connected clients which I see in ds-console). Whilst I could program in a "I'm now logging out" process in my clients,

Software to monitor events fired from code

怎甘沉沦 提交于 2019-12-12 17:16:04
问题 I'm having trouble within a block of code that I believe is related to a mouse click event but I cannot seem to capture the exact event within my code. I've used the C# debugger to step through my code and after the end of one of my events the code simply locks up. The purpose of my post is to ask if there is any software that will watch my process and let me know the events that are firing off after I hit the F11 key and the code freezes up. I've tried SysInternals' procmon.exe but that isn

Offset graphite metrics by the lowest value in current time range

最后都变了- 提交于 2019-12-12 17:13:35
问题 I have Grafana with Graphite metrics. I have a graph showing the EnqueueCount of some specific queue in ActiveMQ. The problem is that the EnqueueCount shows all values since the queue was created, so when I narrow down the time range in Grafana to "today so far", the graph looks like this: I would like it to show only values for current period - I would like the graph to always start at 0. In this case I would like to offset it by -2. There is an offset function, however it is only by

Missing UDP fragments when monitoring traffic with tcpdump

孤者浪人 提交于 2019-12-12 14:37:33
问题 I'm on a local LAN with only 8 connected computers using a netgear 24 port gigabit switch, network load is really low and send/receive buffers on all involved nodes(running slackware 11) have been set to 16mb. I'm also running tcpdump on each node to monitor the traffic. A sending node sends a 10044byte large UDP packet which more often than not (3/4 times) does not end up in the receiving side application, in these cases I notice(using tcpdump) that the first x fragments are missing and only

Process monitoring CreateProcessNotifyRoutineEx

馋奶兔 提交于 2019-12-12 13:29:47
问题 I'm developing a driver for monitoring process creation, I wrote a simple code to do it. I use the PsSetCreateProcessNotifyRoutineEx . But this doesn't work ! I exactly following Microsoft help on this link #include <ntddk.h> NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath ); VOID UnloadRoutine( IN PDRIVER_OBJECT DriverObject ); VOID CreateProcessNotifyEx( __inout PEPROCESS Process, __in HANDLE ProcessId, __in_opt PPS_CREATE_NOTIFY_INFO CreateInfo ); VOID

Android Studio Network Monitoring not Working

两盒软妹~` 提交于 2019-12-12 12:27:07
问题 I am running Android Studio 1.5.1 on Ubuntu 14.04. I want to check the network usage of my application and hence tried the network monitoring tool from Android studio. However, for all the android emulator I've tried, I only get the message Network monitoring is not available on your device Any idea on how I can fix this? What is needed to monitor the network usage? Is this even supported for emulators? 回答1: @AnyssaK was right. The Network Monitor doesn't work on emulators. Please read their

How is the detection of terminated nodes in Erlang working? How is net_ticktime influencing the control of node liveness in Erlang?

亡梦爱人 提交于 2019-12-12 10:57:02
问题 I set net_ticktime value to 600 seconds. net_kernel:set_net_ticktime(600) In Erlang documentation for net_ticktime = TickTime: Specifies the net_kernel tick time. TickTime is given in seconds. Once every TickTime/4 second, all connected nodes are ticked (if anything else has been written to a node) and if nothing has been received from another node within the last four (4) tick times that node is considered to be down. This ensures that nodes which are not responding, for reasons such as

How to see Azure App Service memory usage?

为君一笑 提交于 2019-12-12 10:29:28
问题 We have an Azure subscription through a Cloud Service Provider (CSP), which causes some limitations on what we can get and see in Azure. Nevertheless, we can see CPU and Memory usage per App Service Plan . How can we see the same for specific App Services under the plan? If I see abnormal CPU/memory utilization for the plan, how can I tell which App Service is causing it? 回答1: You can check this under any Site -> scroll down to the "Metrics (App Service Plan)" option. There you will be able

Use FSEvents in sandboxed app

混江龙づ霸主 提交于 2019-12-12 08:48:16
问题 I'm trying to use FSEvents in my sandboxed app to monitor some directories. I implemented the following class: @implementation SNTracker - (id)initWithPaths:(NSArray *)paths { self=[super init]; if (self) { trackedPaths=paths; CFTimeInterval latency=1.0; FSEventStreamContext context={0,(__bridge void *)self,NULL,NULL,NULL}; FSEventStreamRef eeventStream=FSEventStreamCreate(kCFAllocatorDefault,&callback,&context,(__bridge CFArrayRef)trackedPaths,kFSEventStreamEventIdSinceNow,latency

Provide authentication for heapster to connect to secured kube API server in GKE

房东的猫 提交于 2019-12-12 06:16:53
问题 I am trying to deploy heapster in a cluster and collect metrics and store it in Influxdb . I can provide sink for Influxdb . But I am not sure how to provide the value for --source flag to connect to the secured kube API server . Can someone help me to find out this. Note: I am trying to deploy heapster in the same cluster where the kube API server is running. Thanks in advance. 回答1: I use heapster with parameter --source=kubernetes:http://kubernetes.default?inClusterConfig=false&insecure