Difference between revisions of "Scripts-Autolog"
From Stadm
Jump to navigationJump to searchLine 12: | Line 12: | ||
-- 1) a directory called logclean/ in the same directory as cleanall with permissions "drwxr-xr-x" | -- 1) a directory called logclean/ in the same directory as cleanall with permissions "drwxr-xr-x" | ||
-- 2) logclean/ must contain *clean scripts | -- 2) logclean/ must contain *clean scripts | ||
+ | |||
+ | created by Joe Mount | ||
+ | 2006-02-21 | ||
+ | </pre> | ||
+ | |||
+ | ==copyall=== | ||
+ | <pre> | ||
+ | COPYALL: | ||
+ | |||
+ | 'copyall' is a very simple script that automates copying of all log files for each machine. It simply executes the *logcopy scripts for each machine in turn. | ||
+ | |||
+ | usage: copyall | ||
+ | |||
+ | - REQUIRED components: | ||
+ | -- 1) a directory called logcopy/ in the same directory as copyall with permissions "drwxr-xr-x" | ||
+ | -- 2) logcopy/ must contain *logcopy scripts | ||
created by Joe Mount | created by Joe Mount | ||
2006-02-21 | 2006-02-21 | ||
</pre> | </pre> |
Revision as of 13:02, 1 October 2010
Scripts
AutoLog Scripts
cleanall
CLEANALL: 'cleanall' is a very simple script that automates cleaning of log files that are empty for each machine. It simply executes the *clean scripts for each machine in turn. usage: cleanall - REQUIRED components: -- 1) a directory called logclean/ in the same directory as cleanall with permissions "drwxr-xr-x" -- 2) logclean/ must contain *clean scripts created by Joe Mount 2006-02-21
copyall=
COPYALL: 'copyall' is a very simple script that automates copying of all log files for each machine. It simply executes the *logcopy scripts for each machine in turn. usage: copyall - REQUIRED components: -- 1) a directory called logcopy/ in the same directory as copyall with permissions "drwxr-xr-x" -- 2) logcopy/ must contain *logcopy scripts created by Joe Mount 2006-02-21