mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 14:22:25 +00:00
shebang: replace "/usr/bin/python" with "/usr/bin/env python"
This commit is contained in:
parent
24650490ed
commit
eae5403e5a
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This tool estimates how much space would be consumed by a filetree into which
|
This tool estimates how much space would be consumed by a filetree into which
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from foolscap import Tub, eventual
|
from foolscap import Tub, eventual
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# feed this the results of 'tahoe catalog-shares' for all servers
|
# feed this the results of 'tahoe catalog-shares' for all servers
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""Determine the version number of the current tree.
|
"""Determine the version number of the current tree.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os.path, time, pickle
|
import os.path, time, pickle
|
||||||
import foolscap
|
import foolscap
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Given a list of nodeids and a 'convergence' file, create a bunch of files
|
Given a list of nodeids and a 'convergence' file, create a bunch of files
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""Create a short probably-unique string for use as a umid= argument in a
|
"""Create a short probably-unique string for use as a umid= argument in a
|
||||||
Foolscap log() call, to make it easier to locate the source code that
|
Foolscap log() call, to make it easier to locate the source code that
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, sys, re
|
import os, sys, re
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin which pulls data from the server in
|
# This is a munin plugin which pulls data from the server in
|
||||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much free space
|
# misc/spacetime/diskwatcher.tac . It produces a graph of how much free space
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin which pulls data from the server in
|
# This is a munin plugin which pulls data from the server in
|
||||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much disk space
|
# misc/spacetime/diskwatcher.tac . It produces a graph of how much disk space
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin which pulls data from the server in
|
# This is a munin plugin which pulls data from the server in
|
||||||
# misc/spacetime/diskwatcher.tac . It produces a graph of how much time is
|
# misc/spacetime/diskwatcher.tac . It produces a graph of how much time is
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys, os.path
|
import sys, os.path
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin to track the number of files that each node's
|
# This is a munin plugin to track the number of files that each node's
|
||||||
# StorageServer is holding on behalf of other nodes. Each file that has been
|
# StorageServer is holding on behalf of other nodes. Each file that has been
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, sys
|
import os, sys
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, sys
|
import os, sys
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, sys
|
import os, sys
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This munin plugin isolates processes by looking for the 'pid' file created
|
# This munin plugin isolates processes by looking for the 'pid' file created
|
||||||
# by 'allmydata start', then extracts the amount of memory they consume (both
|
# by 'allmydata start', then extracts the amount of memory they consume (both
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin which pulls total-used data from the server in
|
# This is a munin plugin which pulls total-used data from the server in
|
||||||
# misc/spacetime/diskwatcher.tac, and a total-deep-size number from custom
|
# misc/spacetime/diskwatcher.tac, and a total-deep-size number from custom
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os, sys
|
import os, sys
|
||||||
import urllib
|
import urllib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# retrieve a latency statistic for a given operation and percentile from a
|
# retrieve a latency statistic for a given operation and percentile from a
|
||||||
# set of storage servers.
|
# set of storage servers.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# graph operations-per-second from a set of storage servers.
|
# graph operations-per-second from a set of storage servers.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# copy .rrd files from a remote munin master host, sum the 'df' stats from a
|
# copy .rrd files from a remote munin master host, sum the 'df' stats from a
|
||||||
# list of hosts, use them to estimate a rate-of-change for the past month,
|
# list of hosts, use them to estimate a rate-of-change for the past month,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pickle
|
import pickle
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# This is a munin plugin to track the amount of disk space each node's
|
# This is a munin plugin to track the amount of disk space each node's
|
||||||
# StorageServer is consuming on behalf of other nodes. This is where the
|
# StorageServer is consuming on behalf of other nodes. This is where the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
print "python%d.%d" % (sys.version_info[:2])
|
print "python%d.%d" % (sys.version_info[:2])
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys, math
|
import sys, math
|
||||||
from allmydata import upload, uri, encode, storage
|
from allmydata import upload, uri, encode, storage
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from allmydata import __version__ as v
|
from allmydata import __version__ as v
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""This program is a client that sends files to xfer-server.py. You give it
|
"""This program is a client that sends files to xfer-server.py. You give it
|
||||||
the server's FURL, and it can put files into the server's targetdir (and
|
the server's FURL, and it can put files into the server's targetdir (and
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Test an existing Tahoe grid, both to see if the grid is still running and to
|
Test an existing Tahoe grid, both to see if the grid is still running and to
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""
|
"""
|
||||||
this is a load-generating client program. It does all of its work through a
|
this is a load-generating client program. It does all of its work through a
|
||||||
|
Loading…
Reference in New Issue
Block a user