From OpenStreetMap Wiki
Kosmos Console is a command line utility which offers the following tasks:
- Exporting a Kosmos map to the georeferenced bitmap.
- Generating tiles for the map server and/or Mgmaps.
- Running a simple Web server for serving those tiles.
- Downloading OSM data from the OSMXAPI server.
You can find the commands and options help by running the console without any arguments. Also be sure to visit the following pages: