Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Memcached admin for docker

License

NotificationsYou must be signed in to change notification settings

hatamiarash7/Memcached-Admin

Repository files navigation

Docker Image Size (latest by date)Docker Cloud Build StatusDocker Image CIPublish Image

This program allows to see inreal-time (top-like) or from the start of the server,stats for get, set, delete, increment, decrement, evictions, reclaimed, cas command, as well asserver stats (network, items, server version) with google charts andserver internal configuration

You can go further tosee each server slabs, occupation, memory wasted and items (key & value).

Another part can execute commands to any memcached server : get, set, delete, flush_all, as well as execute any commands (like stats) with telnet

image

Statistics

  • Stats for each or all memcached servers, items, evicted, reclaimed ...
  • Stats for every command : set, get, delete, incr, decr, cas ...
  • Slabs stats (Memory, pages, memory wasted, items)
  • Items stats (View items in slabs, then data for each key)
  • Network stats (Traffic, bandwidth)

Commands

  • Execute commands : get, set, delete, flush_all on servers to administrate or debug it
  • Get data with key on servers
  • Delete keys on servers
  • Flush servers
  • Execute telnet command directly from phpMemcachedAdmin
  • Search for specific pattern into all keys

Live Stats

  • Top-like real time stats with configurable alerts

Configuration

  • Edit configuration directly from web page
  • phpMemcachedAdmin can use socket communication, PECL Memcache or Memcached API
  • Organize your servers into cluster

Install

Single server setup

Environments :

  • MEMCACHED_HOST : Default address of the server
  • MEMCACHED_PORT : Default port of the server
docker run --rm -p 8080:80 -e MEMCACHED_HOST='127.0.0.1' -e MEMCACHED_PORT='11211' hatamiarash7/memcached-admin:master

Multiple server setup (using theDefault cluster)

Environments :

  • MEMCACHED_HOST : Comma separated hostname and optional port
  • MEMCACHED_PORT : Default port of the hostnames not having a port specified
docker run --rm -p 8080:80 -e MEMCACHED_HOST='127.0.0.1:11211,127.0.0.1:11212' hatamiarash7/memcached-admin:master# ordocker run --rm -p 8080:80 -e MEMCACHED_HOST='127.0.0.1,127.0.0.2' -e MEMCACHED_PORT='11211' hatamiarash7/memcached-admin:master# ordocker run --rm -p 8080:80 -e MEMCACHED_HOST='127.0.0.1:11212,127.0.0.1' -e MEMCACHED_PORT='11211' hatamiarash7/memcached-admin:master

You can define your cluster inConfiguration section

Test

We have adocker-compose.yml file here for testing purpose. You can run it with the following command:

docker compose up -d

Open your browser and go tohttp://localhost:8085/index.php?server=memcached:11211 to see the dashboard.


Support

Donate with BitcoinDonate with Ethereum

ko-fi

Contributing

Don't be shy to be a contributor 😉

  1. Fork it !
  2. Create your feature branch :git checkout -b my-new-feature
  3. Commit your changes :git commit -am 'Add some feature'
  4. Push to the branch :git push origin my-new-feature
  5. Submit a pull request

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them.


[8]ページ先頭

©2009-2025 Movatter.jp