Skip to content

Commit

Permalink
Add note about boot time option
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Aug 17, 2018
1 parent ca7e553 commit e98bfbf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/aureport.8
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ Report about Virtualization events
.BR \-x ,\ \-\-executable
Report about executables

.SH NOTE
The boot time option is a convenience function and has limitations. The time it calculates is based on time now minus /proc/uptime. If after boot the system clock has been adjusted, perhaps by ntp, then the calculation may be wrong. In that case you'll need to fully specify the time. You can check the time it would use by running:

date -d "`cut \-f1 \-d. /proc/uptime` seconds ago"

.SH "SEE ALSO"
.BR ausearch (8),
.BR auditd (8).
5 changes: 5 additions & 0 deletions docs/ausearch.8
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ checkpoint processing error
.TP
12
checkpoint event not found in matching log file
.SH NOTE
The boot time option is a convenience function and has limitations. The time it calculates is based on time now minus /proc/uptime. If after boot the system clock has been adjusted, perhaps by ntp, then the calculation may be wrong. In that case you'll need to fully specify the time. You can check the time it would use by running:

date -d "`cut \-f1 \-d. /proc/uptime` seconds ago"

.SH "SEE ALSO"
.BR auditd (8),
.BR pam_loginuid (8).

0 comments on commit e98bfbf

Please sign in to comment.