My Oracle Support Banner

How to truncate the wtmpx file (Doc ID 1011507.1)

Last updated on AUGUST 06, 2019

Applies to:

Solaris Operating System - Version 9 GA and later
All Platforms

Goal

Prior to Solaris 11.4, the /var/adm/wtmpx file is very large, and must be truncated correctly.

In Solaris 11.4 and higher, the /var/adm/wtmpx is a symbolic link to /var/share/adm/wtmpx.  Therefore, substitute the /var/share/adm/wtmpx file in the examples below.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.