Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!ub.d.umn.edu!rutgers!news-server.csri.toronto.edu!umich!tut.cis.ohio-state.edu!unmvax!ariel.unm.edu!hydra.unm.edu!ee5391aa From: ee5391aa@hydra.unm.edu (Duke McMullan n5gax) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Program Usage Program needed Message-ID: <1990Oct28.191740.5447@ariel.unm.edu> Date: 28 Oct 90 19:17:40 GMT References: Sender: news@ariel.unm.edu (USENET News System) Distribution: na Organization: University of New Mexico, Albuquerque Lines: 27 In article greg@turbo.atl.ga.us writes: >I'm looking for a program that will monitor the amount of time that I >spend in a program. Specifically, I need to know how many hours I spend >in TC++ so I know how much to bill my clients. .... One thought occurs to me...if you get 4dos (a _much_improved_ and _almost_ 100%_compatible_ replacement for command.com, you could set up an alias like: alias tc `timer >> logfile ^ tc++ ^ timer >> logfile` Assuming that Turbo C++ is invoked by the call "tc++", this would create a logfile giving the time entered, time exited and elapsed time. You'd likely want to write a small c, basic or awk program to manipulate the log- file data. 4dos is shareware...if you can't get it by ftp (try a local BBS, by all means), ewrite me and I'll email you a uuencoded version. Best o' luck, d -- Most self-described "pacifists" are not pacific; they simply assume false colors. When the wind changes, they hoist the Jolly Roger. -- Robert A. Heinlein Duke McMullan n5gax nss13429r phon505-255-4642 ee5391aa@hydra.unm.edu