Giter VIP home page Giter VIP logo

cstat's Introduction

cstat

A more civilized iostat, with 100x more precision, and exportable to CSV format.

$ cstat
elapsed	busy%	sys%	user%	nice%	idle%
1	2.707	1.140	1.567	0.000	97.293
2	1.702	0.567	1.135	0.000	98.298
3	1.994	0.997	0.997	0.000	98.006
4	1.569	0.571	0.999	0.000	98.431
5	6.695	1.994	4.701	0.000	93.305
6	6.553	2.707	3.846	0.000	93.447

Compare: vmstat 1

Just show the busy column, polling every 5 seconds for up to 5 minutes:

$ cstat --poll 5s --for 5m --busy --header=false
10.734
7.532
9.400
8.460

Can also show the memory usage, optionally include swap memory with --swap option.

$ mstat
elapsed	total	used	free	shared	buffers	cached	available
1	32764724	4920732	4303108	175828	6925284	16615600	27238244
2	32764724	4920984	4302856	175828	6925292	16615592	27237992
3	32764724	4921476	4302352	175828	6925292	16615604	27237492

Compare: free -k

cstat's People

Contributors

tstromberg avatar afbjorklund avatar yayaha avatar spowelljr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.