Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

script to generate Getattr calls against NFS?

Status
Not open for further replies.

czarj

Technical User
Apr 22, 2004
130
0
0
US
Hi Folks,

I'm trying to figure out a way to generate large numbers of NFS getattr calls. I first tried using a simple ls -laR script, but that primarily generated access calls. Does anyone have any ideas?

Code:
sh -c "for i in {1..50}; do ls -lasiR ${NFS_MNTPNT_DIR}; sleep 2 done"

--- You must not fight too often with one enemy, or you will teach him all your tricks of war.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top