Blame scripts/ibqueryerrors.pl

Packit db064d
#!/usr/bin/perl
Packit db064d
#
Packit db064d
# Copyright (c) 2009 Lawrence Livermore National Security
Packit db064d
#
Packit db064d
# Produced at Lawrence Livermore National Laboratory.
Packit db064d
# Written by Ira Weiny <weiny2@llnl.gov>.
Packit db064d
#
Packit db064d
# This software is available to you under a choice of one of two
Packit db064d
# licenses.  You may choose to be licensed under the terms of the GNU
Packit db064d
# General Public License (GPL) Version 2, available from the file
Packit db064d
# COPYING in the main directory of this source tree, or the
Packit db064d
# OpenIB.org BSD license below:
Packit db064d
#
Packit db064d
#     Redistribution and use in source and binary forms, with or
Packit db064d
#     without modification, are permitted provided that the following
Packit db064d
#     conditions are met:
Packit db064d
#
Packit db064d
#      - Redistributions of source code must retain the above
Packit db064d
#        copyright notice, this list of conditions and the following
Packit db064d
#        disclaimer.
Packit db064d
#
Packit db064d
#      - Redistributions in binary form must reproduce the above
Packit db064d
#        copyright notice, this list of conditions and the following
Packit db064d
#        disclaimer in the documentation and/or other materials
Packit db064d
#        provided with the distribution.
Packit db064d
#
Packit db064d
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Packit db064d
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit db064d
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Packit db064d
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
Packit db064d
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
Packit db064d
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
Packit db064d
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Packit db064d
# SOFTWARE.
Packit db064d
#
Packit db064d
Packit db064d
# this is now just a wrapper for the C based utility
Packit db064d
$str = join " ",@ARGV;
Packit db064d
system "/usr/local/sbin/ibqueryerrors $str";
Packit db064d
printf (STDERR "\n*** WARNING ***: this command has been replaced by ibqueryerrors\n\n");
Packit db064d