From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,25323f4832b4cb6c X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-23 06:51:48 PST From: "Johan Brusche" Newsgroups: comp.unix.tru64 Subject: Re: invoking sys_check from a script Date: Mon, 23 Sep 2002 15:38:11 +0200 Organization: HP Global Services - Belgium Message-ID: References: <%BSe9.48497$2L.2720523@e3500-atl2.usenetserver.com> NNTP-Posting-Host: brusche1.bro.dec.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!uunet!sea.uu.net!ash.uu.net!news.compaq.com!hpb10302.boi.hp.com!news.cup.hp.com!not-for-mail Xref: archiver1.google.com comp.unix.tru64:8693 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.