Skip to content

Instantly share code, notes, and snippets.

@liukun
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save liukun/11360893 to your computer and use it in GitHub Desktop.

Select an option

Save liukun/11360893 to your computer and use it in GitHub Desktop.

Revisions

  1. liukun renamed this gist Apr 28, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. liukun revised this gist Apr 28, 2014. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions _init_ istatd.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    start on runlevel virtual-filesystems
    stop on runlevel [06]

    respawn
    chdir /home/liukun

    exec istatd/bin/istatd --config proCconf/istatd.cfg --user liukun
  3. liukun created this gist Apr 28, 2014.
    16 changes: 16 additions & 0 deletions istatd.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    # https://github.com/imvu-open/istatd/wiki/Configuring-istatd
    --store /mnt/proC/istatd/store
    --settings /mnt/proC/istatd/settings
    --pid-file /mnt/proC/istatd/istatd.pid
    --log-file /home/liukun/log/istatd.log
    --log-level 2
    --num-files 50000
    --local-stats localhost
    --thread-count 3
    --stat-port 18001
    --http-port 9091
    --replica-port 8021
    --admin-port 8031
    --files-dir /home/liukun/istatd/files
    --debug allKeys
    #--daemonize