All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [COMMITTED] [PATCH 1/1] network/nfs_stress/nfs03: add -w to the grep when calculate ORIG_NFSD
@ 2017-11-07 18:38 Petr Vorel
  2017-11-07 18:44 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2017-11-07 18:38 UTC (permalink / raw)
  To: ltp

From: Yongcheng Yang <yoyang@redhat.com>

e.g. proccess nfsd4_callbacks

Signed-off-by: Yongcheng Yang <yoyang@redhat.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/network/nfs/nfs_stress/nfs03 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/network/nfs/nfs_stress/nfs03 b/testcases/network/nfs/nfs_stress/nfs03
index f8ee49ad7..e0d0d6e1a 100755
--- a/testcases/network/nfs/nfs_stress/nfs03
+++ b/testcases/network/nfs/nfs_stress/nfs03
@@ -102,7 +102,7 @@ nfs03_setup()
 	nfs_setup
 
 	tst_resm TINFO "Setting server side nfsd count to $THREAD_NUM"
-	ORIG_NFSD=$(tst_rhost_run -s -c 'ps -ef | grep nfsd | grep -v grep | wc -l')
+	ORIG_NFSD=$(tst_rhost_run -s -c 'ps -ef | grep -w nfsd | grep -v grep | wc -l')
 	tst_rhost_run -s -c "rpc.nfsd $THREAD_NUM"
 }
 
-- 
2.14.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [LTP] [COMMITTED] [PATCH 1/1] network/nfs_stress/nfs03: add -w to the grep when calculate ORIG_NFSD
  2017-11-07 18:38 [LTP] [COMMITTED] [PATCH 1/1] network/nfs_stress/nfs03: add -w to the grep when calculate ORIG_NFSD Petr Vorel
@ 2017-11-07 18:44 ` Petr Vorel
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2017-11-07 18:44 UTC (permalink / raw)
  To: ltp

Hi,

> From: Yongcheng Yang <yoyang@redhat.com>

> e.g. proccess nfsd4_callbacks
Sorry, incorrect spelling was made by me.
Thanks for sending a patch, next time we respond faster :-).


Kind regards,
Petr

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-07 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 18:38 [LTP] [COMMITTED] [PATCH 1/1] network/nfs_stress/nfs03: add -w to the grep when calculate ORIG_NFSD Petr Vorel
2017-11-07 18:44 ` Petr Vorel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.