show system audit
Syntax
Description
Display the state and checksum values for all files in file systems. This command is equivalent to the UNIX
mtree -Kmd5digest -c -pcommand.To redirect the output to a file, issue the following command:
sshrouter-name'show system audit root-only' >output-fileIf you save the output of the
show system audit root-onlycommand to a file, you can compare it to subsequent output from the command to determine whether anything has changed.Options
root-only—(Optional) Check only the root (/) file system. This command is equivalent to the UNIXmtree -Kmd5digest -c -p -xcommand.Required Privilege Level
Sample Output
user@host>show system audit root-only# user: root# machine: my-host# tree: /date: Fri Feb 11 21:21:46 2000# ./set type=file uid=0 gid=0 mode=0755 nlink=1. type=dir nlink=23 size=1024 time=950252640.0.cshrc uid=3 gid=7 mode=0644 size=177 time=939182975.0 \md5digest=f414e06fea6bd646244b98e13d6e6226.kernel.jkernel.backup \mode=0744 size=1934552 time=944688902.0 \md5digest=2c343cf0bd9fea8f04f78604feed7aa4.profile uid=3 gid=7 mode=0644 nlink=2 size=173 time=939182975.0 \md5digest=55a1e3c6c67789c9d3a1cce1ea39f670COPYRIGHT uid=3 gid=7 mode=0444 size=3425 time=939182975.0 \md5digest=7df8bc77dcee71382ea73eb0ec6a9243boot.config mode=0644 size=3 time=945902618.0 \md5digest=93d722493ed38477338a1405d7dcbb40boot.help uid=3 gid=7 mode=0444 size=411 time=939182876.0 \md5digest=9b7126385734bcae753f4179ab59d8e5compat type=link mode=0777 size=11 time=915149058.0 \link=/usr/compatkernel mode=0444 size=1947607 time=950230892.0 \md5digest=1a2a8aff2fec678a918ba0d6bf063980kernel.avr uid=1112 size=1947642 time=950252597.0 \md5digest=82e1637682d58ec28964dfee7fccb62ekernel.config \mode=0644 size=0 time=915149058.0 \md5digest=d41d8cd98f00b204e9800998ecf8427esys type=link mode=0777 size=11 time=915149029.0 \link=usr/src/sys