.\" -*- coding: UTF-8 -*- .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH LASTCOMM 1 "31. lokakuuta 1995" .SH NIMI lastcomm \- tulosta tietoa aiemmin suoritetuista komennoista. .SH YLEISKATSAUS .hy 0 .na .TP \fBlastcomm\fP [ \fIkomennonnimi ...\fP ] .br [ \fIkäyttäjänimi ...\fP ] .br [ \fIpääte ...\fP ] .br [ VALITSIN ... ] .ad b .hy 1 .SH KUVAUS .LP \fBlastcomm\fP tulostaa tietoa aiemmin suoritetuista komennoista. Jos komennolle ei ole annettu optioita, \fBlastcomm\fP tulostaa tiedostosta \fI/var/log/pacct\fP kaikki tallennetut tiedot suoritetuista komennoista. Jos komentoa kutsutaan parametrein \fIkomennonnimi,\fP \fIkäyttäjänimi\fP tai \fIpääte\fP vain määritelmiin täsmäävät tietueet näytetään. Esimerkiksi nähdäksesi ketkä suorittivat komennon `a.out' tai olivat kirjautuneena päätteellä `tty0', anna komento: .ce lastcomm a.out tty0 .ce .LP Komento tulostaa tietueet jotka koskevat suoritettua komentoa `a.out' tai komentoja jotka suoritettiin päätteeltä `tty0', molempien ehtojen ei tarvitse siis täsmätä yhtäaikaa. Käytä '\-strict\-match' optiota, jos haluat että tietueiden on täsmättävä kaikkiin annettuihin ehtoihin. Esimerkiksi tulostaaksesi kaikki käyttäjän \fIroot\fP käynnistämät \fIa.out\fP komennot päätteellä \fItty0,\fP anna komento: .ce lastcomm \-\-strict\-match \-\-command a.out \-\-user root \-\-tty tty0 .ce .LP Parametrien järjestys on merkityksetön. .LP For each entry the following information is printed: + command name of the process + flags, as recorded by the system accounting routines: S \-\- command executed by super\-user F \-\- command executed after a fork but without a following exec C \-\- command run in PDP\-11 compatibility mode (VAX only) D \-\- command terminated with the generation of a core file X \-\- command was terminated with the signal SIGTERM + the name of the user who ran the process + time the process started .SH VALITSIMET .PD 0 .TP \fB\-\-strict\-match\fP Tulostaa ainoastaan jokaiseen annettuun ehtoon täsmäävät tietueet. .TP \fB\-\-print\-controls\fP Print control characters. .TP \fB\-\-user\fP\fI nimi\fP Tulostaa tietueet käyttäjästä \fInimi\fP. Tämä on on käytännöllinen, jos käyttäjänimi on sama kuin jokin komento. .TP \fB\-\-command\fP\fI komento\fP Tulostaa tietueet komennolle \fIkomento.\fP .TP \fB\-\-tty\fP\fI pääte\fP Tulostaa tietueet päätteelle \fIpääte.\fP .TP \fB\-\-forwards\fP Read file forwards instead of backwards. This avoids trying to seek on the file and can be used to read from a pipe. This must be specified prior to any \fB\-f\fP arguments. .TP \fB\-f\fP\fI tiedosto, \fP\fB\-\-file\fP\fI tiedosto\fP Read from the file \fIfilename\fP instead of \fIacct.\fP A filename of "\-" will result in reading from stdin. This must either be the first \fB\-f\fP option, or \fB\-\-forwards\fP must precede all \fB\-f\fP options. .TP \fB\-\-ahz\fP\fI hz\fP Use this flag to tell the program what \fBAHZ\fP should be (in hertz). This option is useful if you are trying to view an \fIacct\fP file created on another machine which has the same byte order and file format as your current machine, but has a different value for \fBAHZ.\fP .TP \fB\-p, \-\-show\-paging\fP Print paging statistics. .TP \fB\-\-pid\fP Show PID and PPID of the process if acct version 3 format is supported by kernel. .TP \fB\-\-pid\fP Add pid of the process and pid of the process parent to the output (pid is the last but one and parent pid the last column). These values are shown only when they are generated by acct function (depends on the version of kernel) .TP \fB\-\-debug\fP Tulosta ohjelman sisäistä virheenjäljitys tietoa. .TP \fB\-V, \-\-version\fP Tulosta \fBlastcomm\fP :n versionumero. .TP \fB\-h, \-\-help\fP Tulostaa käyttöohjeen vakiotulosteena ja poistuu ohjelmasta. .SH TIEDOSTOT \fIacct\fP .RS The system wide process accounting file. See \fBacct\fP(5) (or \fBpacct\fP(5)) for further details. \fI/var/log/account\fP .RS This directory contains pacct files which contain the binary process accounting data as written by the kernel. .RE .LP .SH TEKIJÄ GNU accounting apuohjelmat kirjoitti Noel Cragg . Englanninkielinen ohje oli mukailtu Susan Kleinmannin () tekemästä texinfo sivusta. .SH "KATSO MYÖS" \fBlast\fP(1), \fBacct\fP(5) .PP .SH KÄÄNNÖS Tämän käsikirjan suomenkielisen käännöksen tekivät Tuomo Pyhälä . .PP Tämä käännös on ilmainen dokumentaatio; katso tekijänoikeusehdot .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License -versiosta 3 .UE tai uudemmasta. Emme ota vastuuta.