hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esp...@apache.org
Subject [29/35] incubator-hawq git commit: HAWQ-1340. Remove unused file - tools/bin/disqual.ksh
Date Sun, 19 Feb 2017 23:08:04 GMT
HAWQ-1340. Remove unused file - tools/bin/disqual.ksh

This closes #339 PR.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/93ed1847
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/93ed1847
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/93ed1847

Branch: refs/heads/2.1.0.0-incubating
Commit: 93ed1847b0bdd65c8af49e1433999b361ff60572
Parents: b9dd7b5
Author: Ed Espino <eespino@pivotal.io>
Authored: Thu Feb 16 10:18:06 2017 -0800
Committer: Ed Espino <eespino@pivotal.io>
Committed: Thu Feb 16 10:18:06 2017 -0800

----------------------------------------------------------------------
 tools/bin/diskqual.ksh | 41 -----------------------------------------
 1 file changed, 41 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93ed1847/tools/bin/diskqual.ksh
----------------------------------------------------------------------
diff --git a/tools/bin/diskqual.ksh b/tools/bin/diskqual.ksh
deleted file mode 100644
index 7da0ab2..0000000
--- a/tools/bin/diskqual.ksh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/ksh
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-disks=`format </dev/null | grep c.t.d | nawk '{print $2}'`
-
-getspeed1()
-{
-   ptime dd if=/dev/rdsk/${1}s0 of=/dev/null bs=64k count=1024 2>&1 |
-       nawk '$1 == "real" { printf("%.0f\n", 67.108864 / $2) }'
-}
-
-getspeed()
-{
-   for iter in 1 2 3
-   do
-       getspeed1 $1
-   done | sort -n | tail -2 | head -1
-}
-
-for disk in $disks
-do
-   echo $disk `getspeed $disk` MB/sec
-done
-


Mime
View raw message