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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

files hit by a running process

Status
Not open for further replies.

butler

MIS
Oct 12, 1998
88
US
hi all,

is there a way to tell what files are being accessed by a running process?

thanks,
bill
 
You can use [tt]svmon[/tt], is a command in the [tt]perfagent.tools[/tt] LPP.
I hope it works...
Unix was made by and for smart people.
 
An example of how I check to see if FTP'd files are completed before moving them elsewhere:

NERD=`fuser * 2>&1 | awk '$2 != "" { print $1 }' | cut -d: -f1`
echo $NERD
if [[ -n $NERD ]];
then
echo "There are no complete files to process!"
else
echo "Files exist, moving..."
mv * /otherdir/
fi

Hope that will solve your problem...Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top