IBM Support

Capturing truss data for padmin CLI

Question & Answer


Question

This technote describes how to capture truss data to further investigate failures of padmin CLI on a Virtual I/O Server partition at the request of VIOS SupportLine. This applies to VIOS 2.2.x.

Answer

Login to VIOS as padmin
$ oem_setup_env
# mkdir /tmp/testcase
# script -a /tmp/testcase/<Your_Support_Case_ID>.truss.out
# uname -L
# /usr/ios/cli/ioscli ioslevel

Run offending padmin command to reproduce error as follows
# truss -fealo truss.out /usr/ios/cli/ioscli <failing_padmin_command>

For example, if the offending command is ioslevel, the syntax would be
# truss -fealo truss.out /usr/ios/cli/ioscli ioslevel

# ls -la truss.out =>ensure the file has a valid (non-zero) size
# su - padmin
$ snap =>this will create /home/padmin/snap.pax.Z
$ exit (padmin)
# exit (script)
# cp /home/padmin/snap.pax.Z /tmp/testcase
# pax -wf <Your_Support_Case_ID>.pax ./*
Where to submit the file.

[{"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"","label":"Other"}],"Version":"2.2.5;2.2.4;2.2.3;2.2.2;2.2.1;2.2.0","Edition":"Enterprise;Express;Standard","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
19 February 2022

UID

isg3T1012699