A Characterization of the Use of the UNIX C Shell
CALIFORNIA UNIV BERKELEY DEPT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES
Pagination or Media Count:
The Unix C Shell was modified to record users input, and data was gathered from a DEC VAX 11-780 running UNIX 4.2 BSD and UNIX 4.3 BSD. This data from the Unix C Shell was combined with accounting data and post-processed to create clean formatted data for easy analysis. The resulting post-processed data was analyzed to determine users usage patterns. The post-processed data is useful because each record contains a large quantity of information, including the entire command line. Previous studies have recorded command frequency patterns, but have not recorded entire command lines. In addition, the formatted post-processed data will make future analysis relatively easy. Analysis results will provide useful data for designers of future command interfaces, and they may suggest improvements to the Unix C Shell. The analyses completed to date have shown that a few commands account for the vast majority of the data. In most cases, usage patterns are relatively simple. The average user only uses about one-fifth of all commands, and the vast majority of all command lines contain only one command. Users, however, often alter their environment by using aliases. In many cases, analysis produced predictable results. Users often execute commands in the background that use a relatively large amount of CPU time. Certain complex features are very seldom used. Programmers and graduate students tend to have more complex usage patterns than secretaries. One surprising result was that almost 30 per cent of all the data was generated by system command files. The daemon program generated 28.4 of all commands. This result, however, is probably a unique characteristic of the machine used for data collection, and is not characteristic of typical C Shell use.
- Computer Programming and Software