dstat: Deleted terminated project.

Please reference to https://github.com/dstat-real/dstat.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
leimaohui
2022-01-08 01:24:55 +08:00
committed by Khem Raj
parent c493dba0be
commit 1a69a221f2
2 changed files with 0 additions and 113 deletions
@@ -1,89 +0,0 @@
From ce0528cb48666843fed2ad10ece5ecb0ac0b8cf8 Mon Sep 17 00:00:00 2001
From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Date: Fri, 15 May 2020 12:38:49 +0900
Subject: [PATCH] change dstat to python3.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
dstat | 2 +-
examples/curstest | 2 +-
examples/devtest.py | 2 +-
examples/mmpipe.py | 2 +-
examples/mstat.py | 2 +-
examples/read.py | 2 +-
examples/tdbtest | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dstat b/dstat
index 9359965..f250f06 100755
--- a/dstat
+++ b/dstat
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
### This program is free software; you can redistribute it and/or
### modify it under the terms of the GNU General Public License
diff --git a/examples/curstest b/examples/curstest
index afc4e70..d720cca 100755
--- a/examples/curstest
+++ b/examples/curstest
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import curses, sys
#c = curses.wrapper(s)
diff --git a/examples/devtest.py b/examples/devtest.py
index 0e9e969..e53babd 100755
--- a/examples/devtest.py
+++ b/examples/devtest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import sys
sys.path.insert(0, '/usr/share/dstat/')
diff --git a/examples/mmpipe.py b/examples/mmpipe.py
index 5c93567..f91515f 100755
--- a/examples/mmpipe.py
+++ b/examples/mmpipe.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import select, sys, os
def readpipe(file, tmout = 0.001):
diff --git a/examples/mstat.py b/examples/mstat.py
index abf4d07..ac157e4 100755
--- a/examples/mstat.py
+++ b/examples/mstat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
### Example2: simple sub-second monitor (ministat)
diff --git a/examples/read.py b/examples/read.py
index 556b7ae..a925109 100755
--- a/examples/read.py
+++ b/examples/read.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
### Example 1: Direct accessing stats
### This is a quick example showing how you can access dstat data
diff --git a/examples/tdbtest b/examples/tdbtest
index 528a8ea..ae7fef9 100755
--- a/examples/tdbtest
+++ b/examples/tdbtest
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
import sys, tdb
db = tdb.tdb('/var/cache/samba/connections.tdb')
--
2.17.1
@@ -1,24 +0,0 @@
SUMMARY = "versatile resource statics tool"
DESCRIPTION = "Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. \
Dstat overcomes some of their limitations and adds some extra features, more counters \
and flexibility. Dstat is handy for monitoring systems during performance tuning tests, \
benchmarks or troubleshooting."
HOMEPAGE = "http://dag.wiee.rs/home-made/dstat"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "asciidoc-native xmlto-native"
SRC_URI = "git://github.com/dagwieers/dstat.git;branch=master;protocol=https \
file://0001-change-dstat-to-python3.patch \
"
SRCREV = "6f5db0aed26bf8cf2700d4ffe90a9bd3436ac728"
S = "${WORKDIR}/git"
do_install() {
oe_runmake 'DESTDIR=${D}' install
}
RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin"