show system audit
Syntax
show system audit<root-only>Syntax
(routing matrix)show system audit<all-lcc |lccnumber| scc><root-only>Description
Display the state and checksum values for file systems.
Options
none—Display the state and checksum values for all file systems.
all-lcc—(Routing matrix only) (Optional) Display file system MD5 hash and permissions information for all T640 routing nodes connected to a TX Matrix platform.
lccnumber—(Routing matrix only) (Optional) Display file system MD5 hash and permissions information for a specific T640 routing node that is connected to a TX Matrix platform.numbercan be from0through3.
scc—(Routing matrix only) (Optional) Display file system MD5 hash and permissions information for the TX Matrix platform.
root-only—(Optional) Check only the root (/) file system.Additional Information
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.By default, when you issue the
show system auditcommand on a TX Matrix master Routing Engine, the command is broadcast to all the T640 master Routing Engines connected to it. If you issue the command on the TX Matrix backup Routing Engine, the command is broadcast to all the T640 backup Routing Engines that are connected to it.Required Privilege Level
List of Sample Output
show system audit root-onlyshow system audit lcc (routing matrix)show system audit root-only
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/sysshow system audit lcc (routing matrix)
user@host>show system audit lcc 2lcc2-re0:--------------------------------------------------------------------------# user: root# machine: rodin-lcc2# tree: /# date: Mon Sep 13 11:55:33 2004# ./set type=file uid=0 gid=0 mode=0555 nlink=1 flags=none. type=dir nlink=20 size=512 time=1094982121.0COPYRIGHT mode=0644 size=4735 time=986012708.0 \md5digest=78396df1404ad742e6eb1be28f0cd63bkernel type=link mode=0700 size=17 time=1090266262.0 \link=/packages/jkernel# ./altconfigaltconfig type=dir nlink=2 size=512 time=1089801320.0# ./altconfig..# ./altrootaltroot type=dir nlink=2 size=512 time=1089801320.0# ./altroot..# ./bb type=dir mode=0755 nlink=2 size=512 time=1093961429.0# ./b..# ./bin/set type=file uid=0 gid=0 mode=0700 nlink=1 flags=nonebin type=dir mode=0755 nlink=2 size=512 time=1089843059.0[ type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/testcat type=link size=27 time=1090266270.0 \link=/packages/mnt/jbase/bin/catchmod type=link size=29 time=1090266270.0 \link=/packages/mnt/jbase/bin/chmodcp type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/cpcsh type=link size=27 time=1090266270.0 \link=/packages/mnt/jbase/bin/cshdate type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/datedd type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/dddf type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/dfecho type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/echoed type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/edexpr type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/exprhostname type=link size=32 time=1090266270.0 \link=/packages/mnt/jbase/bin/hostnamekill type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/killln type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/lnls type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/lsmkdir type=link size=29 time=1090266270.0 \link=/packages/mnt/jbase/bin/mkdirmv type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/mvps type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/pspwd type=link size=27 time=1090266270.0 \link=/packages/mnt/jbase/bin/pwdrcp type=link size=27 time=1090266270.0 \link=/packages/mnt/jbase/bin/rcpred type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/edrm type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/rmrmdir type=link size=29 time=1090266270.0 \link=/packages/mnt/jbase/bin/rmdirsh type=link size=26 time=1090266270.0 \link=/packages/mnt/jbase/bin/shsleep type=link size=29 time=1090266270.0 \link=/packages/mnt/jbase/bin/sleepstty type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/sttysync type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/synctcsh type=link size=27 time=1090266270.0 \link=/packages/mnt/jbase/bin/cshtest type=link size=28 time=1090266270.0 \link=/packages/mnt/jbase/bin/test# ./bin..# ./boot/set type=file uid=0 gid=0 mode=0444 nlink=1 flags=noneboot type=dir mode=0555 nlink=3 size=512 time=1095069935.0boot0 size=512 time=1094978286.0 \md5digest=6f780822dd4ae482a20462b66e542ccaboot1 mode=0555 size=512 time=1094978294.0 \md5digest=8d112b09df342cd0b60fdb9bdcde8e07boot2 mode=0555 size=7680 time=1094978294.0 \md5digest=28eb58c4068c6b85717e1484f9e028e4cdboot mode=0555 size=165888 time=1094978298.0 \md5digest=1474c6b800dfc82ba552d7c36116d07dkgzldr.o size=5996 time=1094982121.0 \md5digest=c53dc948eb07e2ea4eb0413e4c4634a3loader mode=0555 size=163840 time=1094978298.0 \md5digest=82d9dc2d31033476bfb61bb7264c4fedloader.4th size=9237 time=986013631.0 \md5digest=43144391465ad50267d31e0a320be1de