# MX\_GETUPTIME

> [HTML Version](mx_getuptime.htm)

_Added January 2021_

**XCALL MIAMEX, MX\_GETUPTIME, systime \{,jobtime, ashtime\}**

MX\_GETUPTIME (MIAMEX 198) retrieves information about the amount of time that the system has been up and the job has been logged in:

**Parameters**

_systime _ ([Num](num.md))  \[in\]

Number of seconds since the operating system booted.

_jobtime_  ([Num](num.md))  \[in\]

Number of seconds since the current job logged in.

_ashtime _ ([Num](num.md))  \[in\]

Number of seconds since the Job Table (jobtbl.sys) last created. This is likely to be the same as the _jobtime_ under Linux, since the jobtbl.sys creation time comes from the directory _ctime_ which may be updated for reasons other then creation.

**History**

2021 January, A-Shell 6.5.1694:  Routine added to A-Shell.