SUMMARY: How can I watch the progress of a file being read?

From: Edward Finch (
Date: Tue Nov 26 1996 - 10:24:26 CST

Thank-you to the responders:

john benjamins <johnb@Soliton.COM> (Rick Berube)
"Mark L Roberts" <>
Wis Macomson <>
Jochen Bern <bern@TI.Uni-Trier.DE>
Rich Kulawiec <>
Jim Harmon <>
Jason Keltz <>

My original question was:

We periodically have large files (> 1GB) that are tar'd to tape. Obviously,
this takes a while to complete. I would like to be able to watch the progress
of the file being read. I would like (1) to execute some-command which then starts
the tar and monitors it, and (2) some way to detect the progress if the user has
already started the tar.

Several people suggested the -v option to tar, which I was already aware of. The problem is that
the -v will tell me which file is being copied, but not the progress of it.

The "winning" entry (IMHO) was to use "truss -p <pid>".

lsof, monitor and ufsdump were also suggested, but I haven't had time to explore them. The most
creative (read: my favorite) response was to get GNU tar, and modify it to do what I want. :)

Thanks again!

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:16 CDT