Convert from verbose license text to SPDX.
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I70f0c1387bcfe2dbe862a292ccb0f549e4e80d31
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54180
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
SUBDIRS = obdfilter-survey sgpdd-survey ost-survey ior-survey
SUBDIRS += mds-survey stats-collect lst-survey
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = ior-survey iokit-parse-ior
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = README.ior-survey ior-survey iokit-parse-ior
#!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
-# arg 0 is filename
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
sub usages_msg(){
print "Usage: $0 <results_filename>\n"
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
# the value of these can be set in the environment.
# This test assumes a typical pdsh naming scheme, where
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = lst.sh lst-survey
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = lst.sh lst-survey README.lst-survey
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
print_help() {
cat <<EOF
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
print_help() {
cat <<EOF
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = mds-survey
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = mds-survey README.mds-survey
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
######################################################################
# customize per survey
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = obdfilter-survey iokit-libecho iokit-plot-obdfilter
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = README.obdfilter-survey obdfilter-survey iokit-libecho
#!/bin/bash
-# -*- mode: Bash; tab-width: 4; indent-tabs-mode: t; -*-
-# vim:shiftwidth=4:softtabstop=4:tabstop=4:
-#
-# GPL HEADER START
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 only,
-# as published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License version 2 for more details (a copy is included
-# in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU General Public License
-# version 2 along with this program; If not, see
-# http://www.gnu.org/licenses/gpl-2.0.html
-#
-# GPL HEADER END
+# SPDX-License-Identifier: GPL-2.0
+
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved
# Use is subject to license terms.
#
# Copyright (c) 2012, 2017, Intel Corporation.
#
+
+#
# This file is part of Lustre, http://www.lustre.org/
#
# Author: Jitendra Pawar <jitendra@clusterfs.com>
-
+#
# binaries
lsmod="/sbin/lsmod"
#!/usr/bin/perl -w
-# GPL HEADER START
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 only,
-# as published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License version 2 for more details (a copy is included
-# in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU General Public License
-# version 2 along with this program; If not, see
-# http://www.gnu.org/licenses/gpl-2.0.html
-#
-# GPL HEADER END
+# SPDX-License-Identifier: GPL-2.0
+
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved
# Use is subject to license terms.
#
# Copyright (c) 2013, 2014, Intel Corporation.
#
+
+#
# This file is part of Lustre, http://www.lustre.org/
#
# Author: Jitendra Pawar <jitendra@clusterfs.com>
+#
# Report generation for iokit-plot-obdfilter
# ====================================
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
######################################################################
# customize per survey
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = ost-survey iokit-plot-ost
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = README.ost-survey ost-survey iokit-plot-ost
#!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
# Report generation for ost-survey.pl
# ===================================
# The iokit-plot-ost script is used to generate csv file and
# Note: 1. This script may need modifications whenever there will be
# modifications in output format of ost-survey.pl script.
# 2. Gnuplot version 4.0 or above is required.
+#
-# arg 0 is filename
sub usages_msg(){
print "Usage: $0 <log_filename> \n";
print " $0 produces graphs from the output of ost-survey.pl\n";
#!/usr/bin/perl
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
# This script is to be run on a client machine and will test all the
# OSTs to determine which is the fastest and slowest
# The current test method is as follows:
# -Compute the average, and Standard deviation
# -Find the slowest OST for read and write
# -Find the Fastest OST for read and write
+#
# GLOBALS
$pname = $0; # to hold program name
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = iokit-plot-sgpdd sgpdd-survey
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = README.sgpdd-survey iokit-plot-sgpdd sgpdd-survey
#!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
# Report generation for iokit-plot-sgpdd
# ======================================
# The iokit-plot-sgpdd script is used to generate csv file and
# [Note: 1. This script may need modifications whenever there will be
# modifications in output format of sgpdd-survey script.
# 2. Gnuplot version 4.0 or above is required.]
+#
sub usage()
{
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
######################################################################
# customize per survey
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
bin_SCRIPTS = iokit-config iokit-gather-stats iokit-lstats
CLEANFILE = $(bin_SCRIPTS)
EXTRA_DIST = README.iokit-lstats iokit-config iokit-gather-stats iokit-lstats
+# SPDX-License-Identifier: GPL-2.0
+
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+
#
# system configuration. Set these variables to point to the locations
# of various system utilities.
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
-# iokit-gather-stats:
-# script on a selection of nodes and collect all the results into a single
-# tar ball
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved
# Use is subject to license terms.
# Copyright (c) 2014, Intel Corporation.
#
+#
+# This file is part of Lustre, http://www.lustre.org/
+#
+# iokit-gather-stats:
+# script on a selection of nodes and collect all the results into a single
+# tar ball
+#
+
error() {
echo "ERROR: $0: $@"
}
#!/bin/bash
+# SPDX-License-Identifier: GPL-2.0
#
+# This file is part of Lustre, http://www.lustre.org/
+#
# very short example:
#
# to start collection: