<commit_before><!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright (c) 2014, Joyent, Inc.
-->

# sdcadm

This repository is part of the Joyent SmartDataCenter project (SDC).  For
contribution guidelines, issues, and general documentation, visit the main
[SDC](http://github.com/joyent/sdc) project page.

`sdcadm` is a tool that lives in the SmartDataCenter headnode GZ for
handling SDC upgrades, listing of services and instances, health checks, and
other SDC setup duties.

Please see docs/index.md for more details.

--

# SDC post-setup with sdcadm

The default setup of a SmartDataCenter is somewhat minimal. There are several<commit_msg>TOOLS-463: Add `sdcadm self-update` to the beginning of README.md<commit_after><!--
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<!--
    Copyright (c) 2014, Joyent, Inc.
-->

# sdcadm

This repository is part of the Joyent SmartDataCenter project (SDC).  For
contribution guidelines, issues, and general documentation, visit the main
[SDC](http://github.com/joyent/sdc) project page.

`sdcadm` is a tool that lives in the SmartDataCenter headnode GZ for
handling SDC upgrades, listing of services and instances, health checks, and
other SDC setup duties.

Please see docs/index.md for more details.

--

# sdcadm self-update

It's always recommendable to run `sdcadm self-update` before to perform any
sdcadm upgrade operation, specially because there could be critical bugfixes
published since the last time sdcadm itself was updated.

You can get the exact version of sdcadm running into your SDC setup using:

        sdcadm --version

The output of this command will include both, the semver version, and the usual
image version, referencing git branch, date and git SHA. For example:

        [root@headnode (coal) ~]# sdcadm --version
        sdcadm 1.3.9 (master-20141114T063621Z-g995ee7e)

--

# SDC post-setup with sdcadm

The default setup of a SmartDataCenter is somewhat minimal. There are several
{'fraction_non_alphanumeric': 0.07652173913043478, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 3.6391129032258065, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '547924', 'n_tokens_mistral': 725, 'n_tokens_neox': 665, 'n_words': 313}