Concept of "Performance Counters" in Linux/Unix [closed] - windows

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 9 years ago.
Improve this question
Windows has a Performance Counters infrastructure. The OS provides some common counters, and I can go add my own. What is the corresponding concept in Linux/Unix?

Take a look at:
OProfile
perfctr
perfmon2

There is also PAPI and PerfSuite.

Several applications exist which periodically check system performance.
iostat, vmstat, and netstat - Run these commands once to get a snapshot of activity.
sysstat - This runs periodically and maintains a history of statistics such as the above.
Munin - As sysstat, but with pretty web graphs.

Related

Measure performance of Storm and Trident [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm running storm and trident-storm local cluster. My goal is to compare them. I'd like to do it by comparing execution time. How can I see working time of every bolt in storm and in trident-storm?
The Storm UI that runs on the nimbus server can show you this. If you don't already have that running, checkout these instructions for details on how to run it (should be at the bottom of the page).
If you're trying to do this test in local mode, though, and don't have the UI, I'd recommend you not even bother. Local mode is not really representative of what kind of performance you'll see on a cluster once all your workers have started and are processing tuples.

How to Monitor data or Structs in memory in Go [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to create a project or package that loads data (maybe 1 or 2 million items) in memory. I want to monitor this data and know if this data is well on memory, exist or no. In Java this can be done with JMX (Java Management Extensions) but in Golang I do not know how do it.
I want to do this in a production environment, not just a testing environment.
Any help would be appreciated.
You can use os.GetUsage to track memory usage. You can then either use a statsd client or direct UDP messages to update graphite (or whatever monitoring package you like).
You might also find this article Monitoring a Production Golang Server with Memstats helpful.

(VB.NET) See what files a process is accessing [closed]

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 9 years ago.
Improve this question
How do Antiviruses such as AVG detect files accessed by specific programs such as explorer.exe?
How can this monitoring of which process accessing which files be done in VB.NET?
Yes, FileSystemWatcher springs to mind.
With further API calls, you could theoretically write your own AV tool and hook into all file access. But this probably only deasible with C/C++.
You could turn on File System Auditing and use VB.Net to parse the torrent of events in the Audit Event Log.

Auto Scaling AWS [closed]

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 10 years ago.
Improve this question
Do I have to configure auto scaling policy for Amazon only based on API or command line?
Is it right that Amazon does not provide GUI console for configuring it?
Not true. Go to CloudWatch in the console. Just create an alarm, for example CPU > 50, then select an action to add a server. What you cannot do is create auto scaling groups and policies, you'll need the command-line for that AFAIK.
But in my experience it's worth learning the command-line, it's actually easier once you need to do it more than once, and you can record what you did.

How much will it cost if I use TeamCity + EC2? [closed]

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 9 years ago.
Improve this question
Is there anyone have experience with using TeamCity on Amazon EC2?
How much will it cost on monthly basis? I will run the build process once a day (most of the time).
Or I should use other solution rather than EC2? We need to have online access to the build server.
Thanks.
I havent use teamcity. But if you have a rought estimate of the application, you can use this:
http://calculator.s3.amazonaws.com/calc5.html

Resources