エディタの使用時間をどのように測定しますか?

エディタの使用時間をどのように測定しますか?

次の問題を解決する方法を知っている人はいますか?プログラミング中に練習問題を解決するのにかかる時間を測定しようとしています。 Ubuntu 19.04を使用してください。 Visual Studio Codiumを使用してコードを作成し、今週他のプロジェクトでは使用しないとします。特定の週にエディタが実行される時間をどのように測定しますか?

ベストアンサー1

acct1つの方法は会計ユーティリティを使用することです。

Debian パッケージの説明:

$ apt-cache show acct
Package: acct
Version: 6.6.4-2
Installed-Size: 341
Maintainer: Debian Security Tools <[email protected]>
Architecture: amd64
Depends: libc6 (>= 2.14), lsb-base
Description-en: GNU Accounting utilities for process and login accounting
 GNU Accounting Utilities is a set of utilities which reports and summarizes
 data about user connect times and process execution statistics.
 .
 "Login accounting" provides summaries of system resource usage based on connect
 time, and "process accounting" provides summaries based on the commands
 executed on the system.
 .
 The 'last' command is provided by the sysvinit package and not included here.

ホームページ:http://www.gnu.org/software/acct/

パッケージにはというレポートツールが含まれていますsa。必要な正確な形式で出力をawk作成またはperl後処理する必要があるかもしれません。sa

おすすめ記事