2009-08-26 04:59:23

by Lans Carstensen

[permalink] [raw]
Subject: [PATCH 1/4] nfs-utils: nfs-iostat.py autofs cleanup and option to sort by ops/s

commit 1da314fc4e0548e30516e6140e98ad56d2150048
Author: Lans Carstensen <[email protected]>
Date: Tue Aug 25 21:50:29 2009 -0700

Conforms Python path to the LSB 3.2+ standard of /usr/bin/python

http://refspecs.freestandards.org/LSB_3.2.0/LSB-Languages/LSB-Languages/pylocation.html
Per SteveD this is also required for proper rpm dep resolution
during builds

diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py
index 9626d42..ea02db4 100644
--- a/tools/nfs-iostat/nfs-iostat.py
+++ b/tools/nfs-iostat/nfs-iostat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
# -*- python-mode -*-
"""Emulate iostat for NFS mount points using /proc/self/mountstats
"""




2009-08-26 14:29:42

by Chuck Lever III

[permalink] [raw]
Subject: Re: [PATCH 1/4] nfs-utils: nfs-iostat.py autofs cleanup and option to sort by ops/s

Acked-by: Chuck Lever <[email protected]>

On Aug 26, 2009, at 12:59 AM, Lans Carstensen wrote:

> commit 1da314fc4e0548e30516e6140e98ad56d2150048
> Author: Lans Carstensen <[email protected]>
> Date: Tue Aug 25 21:50:29 2009 -0700
>
> Conforms Python path to the LSB 3.2+ standard of /usr/bin/python
> http://refspecs.freestandards.org/LSB_3.2.0/LSB-Languages/LSB-Languages/pylocation.html
> Per SteveD this is also required for proper rpm dep resolution
> during builds
>
> diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-
> iostat.py
> index 9626d42..ea02db4 100644
> --- a/tools/nfs-iostat/nfs-iostat.py
> +++ b/tools/nfs-iostat/nfs-iostat.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/python
> # -*- python-mode -*-
> """Emulate iostat for NFS mount points using /proc/self/mountstats
> """
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs"
> in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com