Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

uptime

returns the length of time that the DAS has been running

Synopsis

uptime [--help]

Description

The uptime subcommand returns the length of time that the domain administration server (DAS) has been running since it was last restarted.

This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

Examples

Example 1   Showing How Long the DAS Has Been Running

This example shows the length of time that the DAS has been running.

asadmin> uptime
Uptime: 2 days, 1 hours, 30 minutes, 18 seconds, Total milliseconds: 178218706
Command uptime executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

list-domains(1), start-domain(1), stop-domain(1)

asadmin(1M)