[sos-devel] [PATCH RESEND 2/2] plugin/powerpc : Added diag_encl command output to sosreport

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Jan 3 06:13:49 UTC 2017


On 12/21/2016 03:57 PM, Mukesh Ojha wrote:
> This patch enables sosreport to collect "diag_encl -v" command output.

Bryn,

diag_encl is a Power System specific tool to diagnoze  SES enclosures. It 
contains various useful information to diagnoze SES enclosures. Hence we are 
adding  this under powerpc.py plugin.

Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

-Vasant


>
> Signed-off-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>
> Signed-off-by: Ankit Kumar <ankit at linux.vnet.ibm.com>
> Tested-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>
> ---
>   sos/plugins/powerpc.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
> index 517175c..a4c92d0 100644
> --- a/sos/plugins/powerpc.py
> +++ b/sos/plugins/powerpc.py
> @@ -56,7 +56,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
>                   "ppc64_cpu --cores-on",
>                   "ppc64_cpu --run-mode",
>                   "ppc64_cpu --frequency",
> -                "ppc64_cpu --dscr"
> +                "ppc64_cpu --dscr",
> +                "diag_encl -v"
>               ])
>
>           if ispSeries:
>




More information about the sos-devel mailing list