开发者

get all recent job failures in Autosys

What's a command to list all recent failures in Autosys?

I was thinking of autorep -d -J ALL followed by some kind of grep, but the autorep report comes in paragraphs, with the job name and the status in separate lines, so I need to write a 开发者_StackOverflow中文版custom filter in Perl unless I'm overlooking some quick and simple option.


Use spaces in the search of the output of autorep for failed jobs, i.e. grep " FA ".


The -d flag is giving details, which is why autorep is producing paragraph-like output. Running autorep -J ALL | grep "FA" or similar should give you the listing just fine.


Lets say all your jobs start with a common database prefix.

CRANE_job1
CRANE_job2

and so on..

Use:

aj CR% |grep -w FA
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜