.\" chrt(1) manpage .\" .\" Copyright (C) 2004 Robert Love .\" .\" This is free documentation; 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. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual 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 manual; if not, write to the Free .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" USA. .\" .\" 2002-05-11 Robert Love .\" Initial version .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH CHRT 1 "juin 2010" util\-linux "Commandes utilisateur" .SH NOM chrt \- Manipuler les attributs temps réel d'un processus .SH SYNOPSIS \fBchrt\fP [\fIoptions\fP]\ \fIprio\fP \fIcommande\ \fP[\fIparamètres\fP] ... .br \fBchrt\fP [\fIoptions\fP] \fB\-p\fP [\fIprio\fP]\ \fIPID\fP .SH DESCRIPTION .PP \fBchrt\fP définit ou récupère les attributs d'ordonnancement temps réel d'un \fIPID\fP existant ou exécute la \fIcommande\fP avec les attributs fournis. La stratégie (une valeur parmi \fBSCHED_OTHER\fP, \fBSCHED_FIFO\fP, \fBSCHED_RR\fP, \fBSCHED_BATCH\fP ou \fBSCHED_IDLE\fP) et la \fIprio\fPrité peuvent être définies et récupérées. .PP La stratégie \fBSCHED_BATCH\fP est gérée depuis Linux\ 2.6.16. La stratégie \fBSCHED_IDLE\fP est gérée depuis Linux\ 2.6.23. .PP L'indicateur \fBSCHED_RESET_ON_FORK\fP pour les stratégies \fBSCHED_RR\fP et \fBSCHED_FIFO\fP est géré depuis Linux\ 2.6.31. .SH OPTIONS .TP \fB\-a\fP, \fB\-\-all\-tasks\fP Définir ou récupérer les attributs d'ordonnancement de toutes les tâches (threads) d'un \fIPID\fP donné. .TP \fB\-b\fP, \fB\-\-batch\fP Définir la stratégie d'ordonnancement à \fBSCHED_BATCH\fP (spécifique au système Linux). .TP \fB\-f\fP, \fB\-\-fifo\fP Définir la stratégie d'ordonnancement à \fBSCHED_FIFO\fP. .TP \fB\-i\fP, \fB\-\-idle\fP Définir la stratégie d'ordonnancement à \fBSCHED_IDLE\fP (spécifique au système Linux). .TP \fB\-m\fP, \fB\-\-max\fP Afficher les priorités minimales et maximales, puis quitter. .TP \fB\-o\fP, \fB\-\-other\fP Définir la stratégie d'ordonnancement à \fBSCHED_OTHER\fP. .TP \fB\-p\fP, \fB\-\-pid\fP Agir sur un \fIPID\fP existant et ne pas lancer de nouvelle tâche. .TP \fB\-r\fP, \fB\-\-rr\fP Définir la stratégie d'ordonnancement à \fBSCHED_RR\fP (la stratégie par défaut). .TP \fB\-R\fP, \fB\-\-reset\-on\-fork\fP Ajouter l'indicateur \fBSCHED_RESET_ON_FORK\fP aux stratégies d'ordonnancement \fBSCHED_FIFO\fP ou \fBSCHED_RR\fP (spécifique au système Linux). .TP \fB\-v\fP, \fB\-\-verbose\fP Montrer les informations d'état. .TP \fB\-h\fP, \fB\-\-help\fP Afficher les informations d'utilisation et quitter. .TP \fB\-V\fP, \fB\-\-version\fP Afficher les informations sur la version et quitter. .SH UTILISATION .TP Le comportement par défaut est d'exécuter une nouvelle commande\ : \fBchrt\fP \fIprio\fP \fIcommande\fP [\fIparamètres\fP] .TP Vous pouvez aussi récupérer les attributs temps réel d'une tâche existante\ : \fBchrt \-p\fP \fIPID\fP .TP Ou les définir\ : \fBchrt \-p\fP \fIprio\fP \fIPID\fP .SH PERMISSIONS Un utilisateur doit posséder la capacité \fBCAP_SYS_NICE\fP afin de modifier les attributs d'ordonnancement d'un processus. N'importe quel utilisateur peut récupérer les informations d'ordonnancement. .SH NOTES Seuls \fBSCHED_FIFO\fP, \fBSCHED_OTHER\fP et \fBSCHED_RR\fP font parties de POSIX 1003.1b «\ Process Scheduling\ » (ordonnancement de processus). Les autres stratégies d'ordonnancement pourraient être ignorées sur d'autres systèmes. .SH AUTEUR Écrit par Robert M. Love. .SH COPYRIGHT Copyright \(co 2004 Robert M. Love .br C'est un logiciel libre\ ; consultez les sources pour les conditions de copie. Il n'y a AUCUNE garantie\ ; même pas de VALEUR MARCHANDE ou d'ADÉQUATION À UNE UTILISATION PARTICULIÈRE. .SH "VOIR AUSSI" \fBtaskset\fP(1), \fBnice\fP(1), \fBrenice\fP(1) .sp Consultez \fBsched_setscheduler\fP(2) pour une description de l'organisation de l'ordonnancement de Linux. .SH DISPONIBILITÉ La commande \fBchrt\fP fait partie du paquet util\-linux, elle est disponible sur . .SH TRADUCTION Cette page de manuel a été traduite par Alexandre Kuoch et est maintenue par la liste . Veuillez signaler toute erreur de traduction par un rapport de bogue sur le paquet manpages\-fr\-extra.