---
name: "logontime"
section: "8"
platform: "linux"
package: "hxtools"
version: "20231224-2+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/logontime"
---

# logontime(8)

show cumulative logon time from wtmp

## Name

logontime — show cumulative logon time from wtmp

## Syntax

**logontime** \[**-t**\]

## Description

Examines the output of \`last -ax\` (depends on /var/log/wtmp) and calculates the cumulative logon time for each user.

## Options

- **-t**

  Sort by logon time rather than alphabetically.

## See also

[**hxtools**(7)](/hxtools/7.md)
