'\" -*- coding: UTF-8 -*- .\" Copyright (C) 1997 Miquel van Smoorenburg. .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH RUNLEVEL 8 "27 mai 1997" "" "Manuel de l'administrateur système Linux" .SH NOM runlevel \- Trouver le niveau d'exécution système précédent et actuel .SH SYNOPSIS \fBrunlevel\fP [\fIutmp\fP] .SH DESCRIPTION \fBrunlevel\fP lit le fichier système \fIutmp\fP (typiquement \fI/var/run/utmp\fP) pour trouver l'enregistrement du niveau d'exécution puis affiche le niveau d'exécution précédant et le niveau d'exécution actuel du système sur la sortie standard, séparés par une espace. S'il n'y a pas de niveau d'exécution précédent, \fBN\fP est affiché à la place. .PP Si aucun fichier \fIutmp\fP n'existe ou si aucune entrée pour le niveau d'exécution ne peut être trouvée, \fBrunlevel\fP affiche «\ unknown\ » et quitte avec une erreur. .PP \fBrunlevel\fP peut être utilisé dans les scripts \fIrc\fP comme remplaçant de la commande Système\ V \fBwho \-r\fP. Cependant, dans les versions plus récentes d'\fBinit\fP(8), ces informations sont disponibles dans les variables d'environnement \fBRUNLEVEL\fP et \fBPREVLEVEL\fP. .SH OPTIONS .\"{{{ utmp .IP \fIutmp\fP .\"}}} Le nom du fichier \fIutmp\fP à lire. .SH "VOIR AUSSI" \fBinit\fP(8), \fButmp\fP(5) .SH AUTEUR Miquel van Smoorenburg, miquels@cistron.nl .SH TRADUCTION La traduction de cette page de manuel est maintenue par les membres de la liste . Veuillez signaler toute erreur de traduction par un rapport de bogue sur le paquet manpages\-fr\-extra.