(file) Return to audit.sh CVS log (file) (dir) Up to [RizwankCVS] / all_info_tools

Diff for /all_info_tools/audit.sh between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2005/07/09 10:40:58 version 1.1.1.2, 2005/07/09 10:58:05
Line 0 
Line 1 
   #!/bin/sh
   
   #Audit Script - grabs useful info and packs it away
   #(c) Rizwan Kassim 2005
   
   mkdir /tmp/audit_ait
   cd /tmp/audit_ait
   touch $HOSTNAME.overall.log
   echo "########## HOSTNAME, uname, w, whoami, id" >> $HOSTNAME.overall.log
   echo $HOSTNAME >> $HOSTNAME.overall.log
   uname -a >> $HOSTNAME.overall.log
   w >> $HOSTNAME.overall.log
   id >> $HOSTNAME.overall.log
   echo "######### df mounts"
   df >> $HOSTNAME.overall.log
   touch $HOSTNAME.network.log
   echo "######### Network settings - netstat,services,chkconfig" >> $HOSTNAME.network.log
   
   uname -a > info.log


Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

Rizwan Kassim
Powered by
ViewCVS 0.9.2