Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
teknopedia

teknopedia

teknopedia

teknopedia

teknopedia
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. time (Unix) – Wikipedia
time (Unix) – Wikipedia
aus Wikipedia, der freien Enzyklopädie
Screenshot des Time-Befehls

time ist ein Kommando auf Unix-Betriebssystemen. Es wird dazu verwendet, um die Ausführungsdauer eines bestimmten anderen Kommandos zu messen. Um es zu benutzen, wird das Wort time einfach vor das zu messende Kommando gestellt. Ein Beispiel ist:

time ls

Wenn das Kommando ausgeführt wurde, gibt time aus, wie lange die Ausführung hinsichtlich CPU-Zeit, System-CPU-Zeit und Echtzeit benötigt hat. Das Ausgabeformat unterscheidet sich bei verschiedenen Versionen des Programms. Manche erzeugen zusätzliche Statistiken wie in folgendem Beispiel.

$ time host wikipedia.org
wikipedia.org has address 207.142.131.235
0.000u 0.000s 0:00.17 0.0%      0+0k 0+0io 0pf+0w

time(1) kann als Programm (wie z. B. GNU time) oder in einer Shell implementiert sein (z. B. in tcsh oder zsh).

Arbeitsweise

[Bearbeiten | Quelltext bearbeiten]

Laut des Quellcodes der GNU-Implementierung von time werden die Daten mithilfe des Systemaufrufs wait3 gesammelt. Auf Systemen, auf denen dieser nicht zur Verfügung steht, wird der Systemaufruf times verwendet.

Weblinks

[Bearbeiten | Quelltext bearbeiten]
  • time: time a simple command – Open Group Base Specification
  • times(): get process and waited-for child process times – Open Group Base Specification
  • time(1): run programs and summarize system resource usage – Debian GNU/Linux Ausführbare Programme oder Shell-Befehle Handbuchseite
  • time(2): Zeit in Sekunden (der Unixzeit) abfragen – Debian GNU/Linux Systemaufrufe Handbuchseite
  • time(1): time command execution – OpenBSD General Commands Manual
  • times(3): process times – OpenBSD Library Functions Manual
ersetzt durch getrusage(2) und gettimeofday(2)
Abgerufen von „https://de.teknopedia.teknokrat.ac.id/w/index.php?title=Time_(Unix)&oldid=249319508“
Kategorie:
  • Unix-Software

  • indonesia
  • Polski
  • العربية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصرى
  • Nederlands
  • 日本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українська
  • Tiếng Việt
  • Winaray
  • 中文
  • Русский
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id