Operating System - HP-UX
1834772 Members
3177 Online
110070 Solutions
New Discussion

How to run sam in debug mode

 
Richard_115
Frequent Advisor

How to run sam in debug mode

I am interested in knowing what commands that sam used to determine if a disk is used or unused.

Thanks in advance
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: How to run sam in debug mode

If you use LVM, then a pvdisplay -v devicefilename will tell you if a VG/LV is using it, but if you use any kind of raw IO to a disk, then even SAM can't tell you that it is in use!

live free or die
harry
Live Free or Die
Krishna Prasad
Trusted Contributor

Re: How to run sam in debug mode

You can look in /var/sam/log/samlog to see what commands sam used when performing a task.
Positive Results requires Positive Thinking
James R. Ferguson
Acclaimed Contributor

Re: How to run sam in debug mode

Hi Richard:

In general, choose the tab of any SAM menu, and choose . This will expose the commands SAM used to process the request.

Regards!

...JRF...
Steven Gillard_2
Honored Contributor

Re: How to run sam in debug mode

From SAM, select Options->View Sam Log and there they are!

Regards,
Steve
Helen French
Honored Contributor

Re: How to run sam in debug mode

Hi,

Normally SAM invokes the commands which are located in /usr/sam/lbin and /usr/sam/bin.

The samlog will give you the list of commands used.

HTH,
Shiju
Life is a promise, fulfill it!
fg_1
Trusted Contributor

Re: How to run sam in debug mode

Richard

The sam log is located in /var/sam/log/samlog and will detail to you all the commands it used to get the results you see in the GUI.


pvdisplay -v /dev/dsk/c#t#d# this will tell you what vg the disk belongs to.