Lukket

Need script to detect CPU failure on AIX

Hey! Guys I need someone to write for me a simple script to detect CPU failure on UNIX AIX. It doesnot have to be complicated.

Here are some ideas

create a script and the output of the script would give us CPU count of 0, 1, 2, 3, 4 . I want Patrol to monitor to be able to monitor that script and the log file would have the output of the script.

The logic behind that is, if the output is for example 0 or 1 or 2,3,4 , Then everything is OK, there are no problem.

And if the CPU doesn't not meet that string it would generate something called AUTOALARM and log that with a message such as your system has dropped one CPU or to CPU.

After logging it, it would write to the script log; And then it would create a ticket For the ESM team. Anyhow, any script you can write to datect CPU failure will be appreciated.

I would suggest using commands such as lsdev or lsconf or vmstat

lsdev -C | grep proc

proc0 Available 00-00 Processor

proc1 Available 00-01 Processor

proc2 Available 00-02 Processor

proc3 Available 00-03 Processor

Færdigheder:

Se mere: aix cpu failure, detect cpu aix, string problem, file processor, cpu monitor script aix, aix create script, logging cpu aix, script cpu available aix, bem patrol, detect cpu failure, proc, patrol, output script, write script file, script message, hey, system grep, unix commands, script able, script monitor, suggest script, everything script, logging simple, script create, dropped

Om arbejdsgiveren:
( 0 bedømmelser ) wylie, United States

Projekt-ID: #107479

1 freelancer byder i gennemsnit $100 for dette job

tpvijay

I can create a script for this in perl. Please see PM.

$100 USD in 3 dage
(21 bedømmelser)
0.0