Oct 17, 2001 #1 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
Oct 17, 2001 #2 bjverzal MIS Apr 26, 2001 964 US Download "lsof" from http://www.bull.de You can pass it parameters to specify process-id's to look for. Bill. Upvote 0 Downvote
Download "lsof" from http://www.bull.de You can pass it parameters to specify process-id's to look for. Bill.
Oct 20, 2001 #3 ElgisRamon MIS Jun 14, 1999 606 US 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. Upvote 0 Downvote
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.
Oct 20, 2001 #4 Amarendar Programmer Oct 20, 2001 6 US /usr/sbin/fuser should also take care Upvote 0 Downvote
Oct 22, 2001 #5 aixmurderer IS-IT--Management Nov 28, 2000 603 NZ 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 Upvote 0 Downvote
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