hayamiz / perfmonger Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
$ perfmonger server
This command should draw a CPU graph but no graph update because of load failure of /faucet
perfmonger record --kill
does not check the background perfmonger-recorder process has exited or not, and fail if the process does not exit correctly.
Also, perfmonger record --kill
should fail if there is no background recorder process.
If timeout option is specified, perfmonger-record exits after the specified time has passed.
$ perfmonger record --interval 0.1 --timeout 10 -d sda
{"time": ..., "ioinfo": {... } ... }
(... 10 seconds ...)
== Summary ==
...
Display hostname on HTML5 realtime monitor.
Use a hostname given by command line argument, or try to obtain it automatically.
add 'include <signal.h>' to perfmonger.h
use File.exist?
Currently summary subcommand reads all records into memory, then do computation. This does not work if records takes memory space larger than physical memory.
Calculate summary in streaming processing fashion.
I want something like this:
$ perfmonger --version
PerfMonger version 0.3.1 (20XX-XX-XX)
Add options to trim start/end duration from recorded logs before calculating summary.
Migrate to Docker-based stack
http://devcenter.wercker.com/docs/migrating-to-workflows-from-classic
procfs ( /proc/*
) is not available on OSX.
sysctl
interface seems to be useful? objective c - Get CPU percent usage - Stack Overflow
Summary takes >100 seconds for large perfmonger log files.
Show progress bar for such files.
In a server with a lot of drives, fingerprint subcommand takes so long time with low CPU usage. There must exist some opportunities for speed up.
perfmonger-record starts recording just after a trigger condition is fired.
trigger can be:
or something elese.
Use ANSI color or something like that.
x[i]
... i-th sample value of IOPSt[i]
... beginning time of i-th sampleN
... # of samplesCurrently avg. IOPS is calculated as a average value of sampled IOPS.
avg IOPS = (x[0] + x[1] + ... + x[N-1]) / N
But actually, avg. IOPS needs to be calculated by this way.
avg IOPS = (x[1] * (t[1] - t[0]) + x[2] * (t[2] - t[1]) + ... + x[N-1] * (t[N-1] - t[N-2])) / (t[N-1] - t[0])
If /dev/mapper/VolGroup00-LogVol00
or /dev/VolGroup00/LogVol00
is passed to perfmonger record
via -d
option, convert it to corresponding device name dm-x
.
This is done by following steps:
/proc/partitions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.