Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* invoking sys_check from a script
@ 2002-09-03 15:50 andy thomas
  2002-09-03 17:50 ` Adam Price
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: andy thomas @ 2002-09-03 15:50 UTC (permalink / raw)


We need to continually run the sys_check utility to try and catch whatever
it is that is crashing one of our XP1000 systems. Compaq tech suupport
have asked us to run the /usr/sbin/sys_check utility with the -escalate
option - this prompts for a few confirmations and then runs for about 30
minutes, creating files that can be escalated to tech support for
analysis.

Trouble is: this server always crashes when sys_check isn't running so
I've written a script to restart it everytime it stops. But is there an
option where sys_check can be run accepting the defaults with no user
intervention? The man page hints that there are undocumented parameters
known only to tech support ...

Can anyone throw any light on this?

many thanks for any help,

Andy



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-03 15:50 invoking sys_check from a script andy thomas
@ 2002-09-03 17:50 ` Adam Price
  2002-09-04  9:49   ` andy thomas
  2002-09-04 15:29   ` andy thomas
  2002-09-08 11:57 ` Jon Mapp
  2002-09-09  1:20 ` r_mclean
  2 siblings, 2 replies; 7+ messages in thread
From: Adam Price @ 2002-09-03 17:50 UTC (permalink / raw)


andy thomas wrote:
> We need to continually run the sys_check utility to try and catch
> whatever it is that is crashing one of our XP1000 systems. Compaq
> tech suupport have asked us to run the /usr/sbin/sys_check utility
> with the -escalate option - this prompts for a few confirmations and
> then runs for about 30 minutes, creating files that can be escalated
> to tech support for analysis.
>
> Trouble is: this server always crashes when sys_check isn't running so
> I've written a script to restart it everytime it stops. But is there
> an option where sys_check can be run accepting the defaults with no
> user intervention? The man page hints that there are undocumented
> parameters known only to tech support ...
>

sys_check is a shell script, take a look at it and see how it works,
find the options you want or work out how to fake it.
Adam




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-03 17:50 ` Adam Price
@ 2002-09-04  9:49   ` andy thomas
  2002-09-04 15:29   ` andy thomas
  1 sibling, 0 replies; 7+ messages in thread
From: andy thomas @ 2002-09-04  9:49 UTC (permalink / raw)


On Tue, 3 Sep 2002, Adam Price wrote:

> andy thomas wrote:
> > We need to continually run the sys_check utility to try and catch
> > whatever it is that is crashing one of our XP1000 systems. Compaq
> > tech suupport have asked us to run the /usr/sbin/sys_check utility
> > with the -escalate option - this prompts for a few confirmations and
> > then runs for about 30 minutes, creating files that can be escalated
> > to tech support for analysis.
> >
> > Trouble is: this server always crashes when sys_check isn't running so
> > I've written a script to restart it everytime it stops. But is there
> > an option where sys_check can be run accepting the defaults with no
> > user intervention? The man page hints that there are undocumented
> > parameters known only to tech support ...
> >
>
> sys_check is a shell script, take a look at it and see how it works,
> find the options you want or work out how to fake it.

Strewth, it's a BIG shell script -  nearly 649K!

Thanks for the suggestion, I'll run a modified version of this that runs
silently.

cheers,

Andy


# include <std-disclaimer.h>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-03 17:50 ` Adam Price
  2002-09-04  9:49   ` andy thomas
@ 2002-09-04 15:29   ` andy thomas
  1 sibling, 0 replies; 7+ messages in thread
From: andy thomas @ 2002-09-04 15:29 UTC (permalink / raw)


On Tue, 3 Sep 2002, Adam Price wrote:

> andy thomas wrote:
> > We need to continually run the sys_check utility to try and catch
> > whatever it is that is crashing one of our XP1000 systems. Compaq
> > tech suupport have asked us to run the /usr/sbin/sys_check utility
> > with the -escalate option - this prompts for a few confirmations and
> > then runs for about 30 minutes, creating files that can be escalated
> > to tech support for analysis.
> >
> > Trouble is: this server always crashes when sys_check isn't running so
> > I've written a script to restart it everytime it stops. But is there
> > an option where sys_check can be run accepting the defaults with no
> > user intervention? The man page hints that there are undocumented
> > parameters known only to tech support ...
> >
>
> sys_check is a shell script, take a look at it and see how it works,
> find the options you want or work out how to fake it.

In the end, from reading the script, I discovered 'sys_check -escalate 0'
did the trick.

Thanks,

Andy




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-03 15:50 invoking sys_check from a script andy thomas
  2002-09-03 17:50 ` Adam Price
@ 2002-09-08 11:57 ` Jon Mapp
  2002-09-09  1:20 ` r_mclean
  2 siblings, 0 replies; 7+ messages in thread
From: Jon Mapp @ 2002-09-08 11:57 UTC (permalink / raw)


Andy,

I would suggest you find out why your server is crashing when not running
syscheck, there si no way that you should continually run syscheck

Jon


"andy thomas" <andy@ic.ac.uk> wrote in message
news:Pine.LNX.4.44.0209031644360.17267-100000@anahata.ma.ic.ac.uk...
> We need to continually run the sys_check utility to try and catch whatever
> it is that is crashing one of our XP1000 systems. Compaq tech suupport
> have asked us to run the /usr/sbin/sys_check utility with the -escalate
> option - this prompts for a few confirmations and then runs for about 30
> minutes, creating files that can be escalated to tech support for
> analysis.
>
> Trouble is: this server always crashes when sys_check isn't running so
> I've written a script to restart it everytime it stops. But is there an
> option where sys_check can be run accepting the defaults with no user
> intervention? The man page hints that there are undocumented parameters
> known only to tech support ...
>
> Can anyone throw any light on this?
>
> many thanks for any help,
>
> Andy
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-03 15:50 invoking sys_check from a script andy thomas
  2002-09-03 17:50 ` Adam Price
  2002-09-08 11:57 ` Jon Mapp
@ 2002-09-09  1:20 ` r_mclean
  2002-09-23 13:38   ` Johan Brusche
  2 siblings, 1 reply; 7+ messages in thread
From: r_mclean @ 2002-09-09  1:20 UTC (permalink / raw)


We only have you do a sys_check after the crash to get the data. Why would
you want to run it any other time? Sys_check does not (or would you want it)
have to be running when the system crashes. Support takes the data from the
sys_check -escalate (that's to do an engineering escalation) and finds out
why it crashed and gets a patch (if you are under service and the OS version
is supported) or calls out the failing hardware. I do this 5 days a week and
it's not hard.

Bob

"andy thomas" <andy@ic.ac.uk> wrote in message
news:Pine.LNX.4.44.0209031644360.17267-100000@anahata.ma.ic.ac.uk...
> We need to continually run the sys_check utility to try and catch whatever
> it is that is crashing one of our XP1000 systems. Compaq tech suupport
> have asked us to run the /usr/sbin/sys_check utility with the -escalate
> option - this prompts for a few confirmations and then runs for about 30
> minutes, creating files that can be escalated to tech support for
> analysis.
>
> Trouble is: this server always crashes when sys_check isn't running so
> I've written a script to restart it everytime it stops. But is there an
> option where sys_check can be run accepting the defaults with no user
> intervention? The man page hints that there are undocumented parameters
> known only to tech support ...
>
> Can anyone throw any light on this?
>
> many thanks for any help,
>
> Andy
>





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: invoking sys_check from a script
  2002-09-09  1:20 ` r_mclean
@ 2002-09-23 13:38   ` Johan Brusche
  0 siblings, 0 replies; 7+ messages in thread
From: Johan Brusche @ 2002-09-23 13:38 UTC (permalink / raw)


If you want to start sys_check -escalate from a script at boot-time you need
to do
the following:

1) maked sure crashdc(savecore) has run before you start your script.
2)find out if crashdc(savecore) has created a new /var/adm/crash/vmzcore.n
2bis) store 'n' in a variable eg BOUNDS. If there is no vmzcore to save
         set BOUNDS=none
3)define TMPDIR=/mymount/mydir  (eg /var/tmp)
4)launch sys_check with "/usr/sbin/sys_check -escalate $BOUNDS"

For an example on how to run sys_check from scripts, check
/usr/share/sysman/bin/runsyscheck

Johan Brusche.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-09-23 13:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 15:50 invoking sys_check from a script andy thomas
2002-09-03 17:50 ` Adam Price
2002-09-04  9:49   ` andy thomas
2002-09-04 15:29   ` andy thomas
2002-09-08 11:57 ` Jon Mapp
2002-09-09  1:20 ` r_mclean
2002-09-23 13:38   ` Johan Brusche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox