Home > OS >  Write a shell script and bosses
Write a shell script and bosses

Time:09-29

Write a file monitoring alarm shell script,
Requirement description:
In the list interface machine directory A interface file every 20 minutes issued A document,
A interface file, interface type, file name AYYYYMMDD. NNN
"YYYYMMDD" is for the date of the generated file
"NNN says" the file number, every 20 minutes issued a document, every 80 files, serial number is 000 ~ 080,
Write a file monitoring alarm shell script,
1, each batch file AYYYYMMDD NNN issued after 20 minutes in the list directory haven't issued the warning, the first batch of documents issued by time 0:20,
2, issued by the file size has five consecutive & lt;=200 KB alarm,

CodePudding user response:

Is paid for help?
  • Related