Operating System - HP-UX
1753710 Members
4659 Online
108799 Solutions
New Discussion юеВ

Verify if Online & Offline diagnostics are installed

 
SOLVED
Go to solution
f. halili
Trusted Contributor

Verify if Online & Offline diagnostics are installed

How can you verify if Online & Offline diagnostics are installed? We have BL860c blades with HPUX 11.31.

Thanks,
f. halili
derekh
14 REPLIES 14
sen_ux
Valued Contributor

Re: Verify if Online & Offline diagnostics are installed

swlist OnlineDiag
lifls -l /usr/sbin/diag/lif/updatediaglif2
SoorajCleris
Honored Contributor

Re: Verify if Online & Offline diagnostics are installed

Hi,

For checking Online diag

# swlist -l bundle |grep -i diag
OnlineDiag B.11.31.01.03 HPUX 11.31 Support Tools Bundle, February 2007




"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: Verify if Online & Offline diagnostics are installed

For ODE in Itanium systems

# efi_ls -d /dev/rdisk/disk71_p1 /EFI
FileName Last Modified Size
. 8/18/2009 0
.. 8/18/2009 0
HPUX/ 8/18/2009 0
Intel_Firmware/ 8/18/2009 0
diag/ 8/18/2009 0
hp/ 8/18/2009 0
tools/ 8/18/2009 0

total space 522170368 bytes, free space 519168000 bytes

Check the same with in diag directoy , it will show you if anything is installed.

:)

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
f. halili
Trusted Contributor

Re: Verify if Online & Offline diagnostics are installed

Sooraj,

I did "efi_ls -d" and got error = 20. Please see below if I used the correct disk#.


# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk3_p2 -- Boot Disk
/dev/disk/disk2_p2 -- Boot Disk

# efi_ls -d /dev/rdisk/disk3_p1/EFI
efi_ls: open device failed(errno = 20)

Thanks,
f. halili
derekh
Matti_Kurkela
Honored Contributor

Re: Verify if Online & Offline diagnostics are installed

# efi_ls -d /dev/rdisk/disk3_p1/EFI
efi_ls: open device failed(errno = 20)

Add a space between disk3_p1 and /EFI.

# efi_ls -d /dev/rdisk/disk3_p1 /EFI

MK
MK
f. halili
Trusted Contributor

Re: Verify if Online & Offline diagnostics are installed

Here's what I get.

# efi_ls -d /dev/rdisk/disk3_p1 /EFI

FileName Last Modified Size
. 6/12/2009 0
.. 6/12/2009 0
HPUX/ 6/12/2009 0
Intel_Firmware/ 6/12/2009 0
diag/ 6/12/2009 0
hp/ 6/12/2009 0
tools/ 6/12/2009 0

total space 523218944 bytes, free space 520167424 bytes

Is the diag line for the offline diags?

I did this on the other boot drive, and I got:

# efi_ls -d /dev/rdisk/disk2_p1 /EFI
FileName Last Modified Size
. 6/17/2009 0
.. 6/17/2009 0
HPUX/ 6/17/2009 0
Intel_Firmware/ 6/17/2009 0
diag/ 6/17/2009 0
hp/ 6/17/2009 0
tools/ 6/17/2009 0

Does this mean offline diags is on both boot drives?

Thanks,
f. halili
derekh
Matti_Kurkela
Honored Contributor

Re: Verify if Online & Offline diagnostics are installed

The diag line indicates that the directory for the off-line diagnostics exists, but it might still be empty.

Next step: look into the directory.

# efi_ls -d /dev/rdisk/disk3_p1 /EFI/diag

MK
MK
f. halili
Trusted Contributor

Re: Verify if Online & Offline diagnostics are installed

Here's what I got:

# efi_ls -d /dev/rdisk/disk3_p1 /EFI/diag
FileName Last Modified Size
. 6/12/2009 0
.. 6/12/2009 0

total space 523218944 bytes, free space 520167424 bytes

derekh
Matti_Kurkela
Honored Contributor

Re: Verify if Online & Offline diagnostics are installed

An empty directory. No off-line diagnostics there.

MK
MK