--
prefix and include both flags and properties. As an example, the --help
flag tells staradmin to write out the usage message, while the --database=<name>
property allow a user to specify a specific database the upcoming command is to target. Shorthand -d=<name>
has the same effect.stop
, list
and help
.list
command support the max=<n>
property, allowing the user to limit the set of entries in a displayed list to the value <n>
.stop app <name>
and help list
. The first one instruct staradmin to stop an application by name; the second that it should display help on the list command.staradmin --help
.staradmin help <command|topic>
, for example staradmin help stop
to see the help for the stop command.staradmin console
without parameters shows the console output from the default database.staradmin -d=foo console
shows console output from the "foo" database.staradmin console foo
shows console output from the "foo" database. staradmin console foo bar baz
shows console output from the "foo", "bar" and "baz" databases.--force
flag. This flag tell staradmin you don't want to confirm the requested delete, which otherwise is the default in case you are deleting some sensitive artifact such as a database. Use this flag with care, there is no going back.--failmissing
flag toogle how staradmin behaves when the artifact you want to delete is not found. By default, such case is treated as a successful operation. With this flag applied, staradmin
will instead issue an error.staradmin -d=default delete db
. Deletes a database.all
as the command parameter to target killing all processes relating to Starcounter on the current machine. Use this option with care and make sure no mission-critical processes are running.max=<n>
property. By using this property, you tell staradmin not to list more entries than the value of <n>
.staradmin list db
. List all databases part of the current installation, even those that are not running.staradmin list apps
. List all applications currently running, including information on the database they are running in.staradmin list log
. Shows the content of the server error log. See more usage on the Error log page.staradmin new db foo
. Creates a new database named "foo".staradmin new app
. Creates a new application source code file, normally "app.cs".Uri
DataDirectory
TempDirectory
DefaultUserHttpPort
FirstObjectID
LastObjectID
db
is used as the default.staradmin reload db
. Reloads a database.--file=<path>
option. The filename is resolved to the same directory from which the command runs. If the file option is omitted, the default file is used.staradmin start db
to start the default database; use staradmin start server
to start the Starcounter server.star <app>
or from within Visual Studio, doing "Start" on a Starcounter Application project, these processes are started for you automatically (if not already running).staradmin start db
. Starting the default database, including all its support processes.staradmin start server
. Starts the Starcounter server.staradmin stop app foo
. To stop a database named bar, use staradmin -d=bar stop db
. To stop the default database, use staradmin stop db
.staradmin stop db
. Stops the default database, including all its support processes, effectively freeing all database memory.staradmin stop app [name]
. Stops an application by name. The -d
option can be used to tell staradmin in what database look for it; if not given, the default database is assumed.staradmin stop host
. Stops the code host of the default database. Support processes stay resident, meaning that database memory is not freed.db
is used as the default.staradmin unload db
. Unloads a database.--file=<path>
option. The filename is resolved to the same directory from which the command runs. If the file option is omitted, the default file is used.--allowPartial
option unloads the database, allowing the unload to be partial. Usage: staradmin unload db --allowPartial
.--shiftKey
option makes every key being unloaded increase with the given number.