.\" 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, .\" version 2, as published by the Free Software Foundation. .\" .\" 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 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 CHRT 1 "août 2014" util\-linux "Commandes utilisateur" .SH NOM chrt \- Manipuler les attributs temps réel d'un processus .SH SYNOPSIS \fBchrt\fP [\fIoptions\fP] \fIpriorité commande\fP [\fIparamètres\fP] ... .br \fBchrt\fP [\fIoptions\fP] \fB\-p\fP [\fIpriorité\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 \fIpriorité\fP 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’attribut \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). L’argument \fIpriorité\fP doit être défini à zéro. .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). L’argument \fIpriorité\fP doit être défini à zéro. .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\-\-reset\-on\-fork\fP Ajouter l’attribut \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\-r\fP, \fB\-\-rr\fP Définir la stratégie d’ordonnancement à \fBSCHED_RR\fP. Quand la stratégie n’est pas définie, \fBSCHED_RR\fP est utilisée par défaut. .TP \fB\-v\fP, \fB\-\-verbose\fP Montrer les informations d'état. .TP \fB\-V\fP,\ \fB\-\-version\fP Afficher les informations sur la version et quitter. .TP \fB\-h\fP,\ \fB\-\-help\fP Afficher un texte d'aide puis quitter. .SH UTILISATION .TP Le comportement par défaut est d'exécuter une nouvelle commande\ : \fBchrt\fP \fIpriorité\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 \-r \-p\fP \fIpriorité PID\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 Seules \fBSCHED_FIFO\fP, \fBSCHED_OTHER\fP et \fBSCHED_RR\fP font partie de POSIX 1003.1b «\ Process Scheduling\ » (ordonnancement de processus). Les autres attributs d'ordonnancement pourraient être ignorées sur d'autres systèmes. .P La stratégie d’ordonnancement par défaut sous Linux est \fBSCHED_OTHER\fP. .SH "VOIR AUSSI" \fBnice\fP(1), \fBrenice\fP(1), \fBtaskset\fP(1) .sp Consultez \fBsched_setscheduler\fP(2) pour une description de l'organisation de l'ordonnancement de Linux. .SH AUTEUR Écrit par Robert M. Love. .SH COPYRIGHT Copyright \(co 2004 Robert M. Love. 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 DISPONIBILITÉ La commande \fBchrt\fP fait partie du paquet util\-linux, elle est disponible sur <\fIftp://ftp.kernel.org/pub/linux/utils/util\-linux/\fP>. .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.