Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!rex!uflorida!mephisto!utkcs2!alphard!battle From: battle@alphard.cs.utk.edu (David Battle) Newsgroups: comp.unix.wizards Subject: Utility to keep all typed command lines. Summary: Does such a beast exist? If not, how do I write it? Message-ID: <1527@utkcs2.cs.utk.edu> Date: 2 Jan 90 16:52:55 GMT Sender: news@utkcs2.cs.utk.edu Reply-To: battle@alphard.cs.utk.edu (David Battle) Organization: CS Dept -- University of TN, Knoxville Lines: 13 I would like to have an accounting utility which will keep not only the name of the command run but also the arguments, especially for commands typed at a shell by a human (as opposed to coming from a command file). Is there an existing utility which does this? If not, can someone provide me with info on how to begin writing such a utility? I would presume it would be similar to "ps", digging through kmem to get the command strings, or perhaps it would be better to make a front end to a shell (similar to what script does)? Comments? By the way, this is for Ultrix and doesn't have to be portable to other flavors of unix. -David L. Battle battle@battle.esd.ornl.gov battle@utkux1.utk.edu