Skip to main content

MINimum MONitor - display on stdout: timestamp, RAM and CPU usage, temperature, disk i/o and net i/o

Project description

usage: minmon [-h] [-V] [-s SEC] [-l LOG]

minmon 0.9.1

MINimum MONitor - display on stdout: mem, swap, cpu, temp, disk i/o and net i/o

1. date and time
2. physical Memory % usage and Swap memory % usage
3. Cpu % usage and cpu Temperature in °C 
4. file system Read and Write rate in bytes/second
5. network Download and Upload rate in bytes/second

Formats are:

- 1: 'YYYY-mm-dd HH:MM:SS'
- 2, 3: two 2-digit decimal numbers ('**' = 100) and a linear 0-100 graphic
- 4, 5: two 5-digit human-readable numbers and a logarithmic 1-K-M-G-T graphic

As an example of 5-digit human-readable format, '11K50' means 11.50 * 1024 = 11776.

- 'K' = 2 ** 10 = 1024 ** 1 =             1,024
- 'M' = 2 ** 20 = 1024 ** 2 =         1,048,576
- 'G' = 2 ** 30 = 1024 ** 3 =     1,073,741,824
- 'T' = 2 ** 40 = 1024 ** 4 = 1,099,511,627,776

The program is minimalistic as it has a minimal memory (6 MB) and cpu footprint.

To stop the program press Ctrl-C.

Example:

$ minmon -l log3.log # write on stdout and on ~/.minmon/log3.log
YYYY-mm-dd HH:MM:SS M% S% 0 . . . .50 . . . 100 C% T° 0 . . . .50 . . . 100 R-B/s W-B/s 1 . . K . . M . . G . . T D-B/s U-B/s 1 . . K . . M . . G . . T
2020-05-17 18:38:38 24  0 S────M────┼─────────┤  1 60 C─────────┼─T───────┤     0     0 X─────┼─────┼─────┼─────┤    52     0 U──D──┼─────┼─────┼─────┤
2020-05-17 18:38:39 24  0 S . .M. . │ . . . . │  3 58 │C. . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:40 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │    52     0 U .D. │ . . │ . . │ . . │
2020-05-17 18:38:41 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:42 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:43 24  0 S────M────┼─────────┤  4 58 ├C────────┼─T───────┤     0 11K50 R─────┼─W───┼─────┼─────┤     0     0 X─────┼─────┼─────┼─────┤
2020-05-17 18:38:44 24  0 S . .M. . │ . . . . │  4 58 │C. . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:45 24  0 S . .M. . │ . . . . │  4 58 │C. . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:46 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │    52     0 U .D. │ . . │ . . │ . . │
2020-05-17 18:38:47 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0 287K6 R . . │ . .W│ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:48 24  0 S────M────┼─────────┤  2 58 C─────────┼─T───────┤     0     0 X─────┼─────┼─────┼─────┤    52     0 U──D──┼─────┼─────┼─────┤
2020-05-17 18:38:49 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
2020-05-17 18:38:50 24  0 S . .M. . │ . . . . │  2 58 C . . . . │ T . . . │     0     0 X . . │ . . │ . . │ . . │     0     0 X . . │ . . │ . . │ . . │
^C

optional arguments:

-h, --help         show this help message and exit
-V, --version      show program's version number and exit
-s SEC, --sec SEC  seconds between lines (integer >= 1, default: 1)
-l LOG, --log LOG  append lines into LOG logfile (default path: '~/.minmon')

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

minmon-0.9.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minmon-0.9.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file minmon-0.9.2.tar.gz.

File metadata

  • Download URL: minmon-0.9.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for minmon-0.9.2.tar.gz
Algorithm Hash digest
SHA256 0a7ead8c51ce9b7e3e0a2688ff78e02a5a09f4c63bef6ec5bef2c57cc2393c1d
MD5 0dfa4ecbf588891bc4cf77c54d0f933b
BLAKE2b-256 18e0d9e3fd7fb20552cc06b1c330796d7cdeb6093acd308d68fbda2a07396e8a

See more details on using hashes here.

File details

Details for the file minmon-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: minmon-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.22.0

File hashes

Hashes for minmon-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c3c646dafae434a609feaddd0d8dc3c80fad8500bdbc3a98523308c0149f963
MD5 861bfea8c090fe53f1dcd69396529ed0
BLAKE2b-256 278cad332c499a3f699678972501e39a2e282f4c827b79df709d9f578af593d2

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