La commande 'pstat' exploite la tables des processus pour afficher un certain nombre d'informations.
Les options de la commande sont décrites ci-dessous.
La commande 'pstat' interprète le contenu de différentes tables systèmes et l'affiche sur la sortie standard.
Syntaxe
pstat [ -a ] [ -A ] [ -f ] [ -i ] [ -p ] [ -P ] [ -s ] [ -S ] [ -t ] [ -u ProcSlot ] [ -T ] [ -U ThreadSlot] [ [ KernelFile ] CoreFile ]
Description
Il faut avoir les droits de root ou du groupe 'system' pour exécuter cette commande.
Options
Security
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
Examples
- To display the i-nodes of the system dump saved in the dumpfile core file, enter:
pstat -i dumpfile
Symbols are retrieved from the /usr/lib/boot/unix file.
- To display the file table and the user structure for the process in process table slot 0 (zero) of the system currently running, enter:
pstat -f -u 0
- To display the tty structures for a system dump, whose core file is dumpfile and whose kernel is the /usr/lib/boot/unix.back file, enter:
pstat -t /usr/lib/boot/unix.back dumpfile
- To display all threads in the kernel thread table and the user structure of the thread in thread table slot 2, enter:
pstat -A -U 2
Files