Skip to main content

Streaming frequency distribution viewer.

Project description

Overview

anytop is a tool for viewing frequency distributions over streaming input. It reads input line by line, and shows the top elements in the distribution as they stream in. It is inspired by the excellent command-line tools available for the Varnish web accelerator.

Usage examples

anytop is designed to work within a shell flow, allowing you to easily modify the data streaming in with tools such as cut, sed and tr. Get usage help by typing anytop --help. To exit anytop, type CTRL-C.

Get the distribution of word starting with each different letter from the dictionary:

cut -c 1-1 /usr/share/dict/words | tr [:upper:] [:lower:] | anytop

Work out the relative distribution of file extensions in a source tree:

find src -type f | awk -F . '{print $NF}' | anytop

Memory usage

Anytop uses memory proportional to the number of distinct lines in the input. If the input keyspace is bounded, then anytop will use limited memory, no matter how many lines or how long it runs.

When the input keyspace is not bounded, memory use can still be bounded by only displaying statistics on a fixed-size window of lines with the -l option.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anytop-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file anytop-0.1.1.tar.gz.

File metadata

  • Download URL: anytop-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for anytop-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b11dc7683c592f02353bc731b6fc18b7de20941b44cc8f43b10a456e8e35e239
MD5 5992893d197205a1c7a418e909c4245b
BLAKE2b-256 df9e029d682669d85f7c24fdd2f0d8c8fe7dc028d8fcb4c4a0279962ef213f5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page