Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created May 14, 2010 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrchrisadams/400920 to your computer and use it in GitHub Desktop.
Save mrchrisadams/400920 to your computer and use it in GitHub Desktop.
[root@provision-host0 ~]# curl -X POST http://localhost:5984/chef/_compact
{"ok":true}
[root@provision-host0 ~]# curl -X GET http://localhost:5984/chef/
{"db_name":"chef","doc_count":91,"doc_del_count":3,"update_seq":111892,"purge_seq":0,"compact_running":false,"disk_size":6968516608,"instance_start_time":"1273828014785219","disk_format_version":4}
[root@provision-host0 couchdb]# couchdb -V
couchdb - Apache CouchDB 0.10.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 677M 410M 233M 64% /
/dev/mapper/system-var 20G 9.7G 9.3G 51% /var
/dev/mapper/system-home 992M 34M 908M 4% /home
/dev/mapper/system-vartmp 124M 5.6M 113M 5% /var/tmp
/dev/mapper/system-usr 2.0G 1.2G 729M 62% /usr
/dev/mapper/system-tmp 496M 20M 451M 5% /tmp
/dev/xvda1 99M 20M 74M 22% /boot
tmpfs 256M 0 256M 0% /dev/shm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment