⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pstat.1m

📁 unix v7是最后一个广泛发布的研究型UNIX版本
💻 1M
字号:
.TH PSTAT 1M.SH NAMEpstat \- print system facts.SH SYNOPSIS.B pstat[.B \-aixptuf] [ suboptions ][ file ].SH DESCRIPTION.I Pstatinterprets the contents of certain system tables.If.I fileis given, the tables are sought there, otherwisein.I /dev/mem.The required namelist is taken from.I /unix.Options are.TP \w'WCHAN\ 'u.B \-aUnder.BR \-p ,describe all process slots rather than just active ones..TP.B \-iPrint the inode table with the these headings:.IP LOCThe core location of this table entry..PD 0.IP FLAGSMiscellaneous state variables encoded thus:.RS.IP Llocked.IP Uupdate time.IR filsys (5))must be corrected.IP Aaccess time must be corrected.IP Mfile system is mounted here.IP Wwanted by another process (L flag is on).IP Tcontains a text file.IP Cchanged time must be corrected.RE.IP CNTNumber of open file table entries for this inode..IP DEVMajor and minor device number of file system in whichthis inode resides..IP INOI-number within the device..IP MODEMode bits, see.IR chmod (2)..IP NLKNumber of links to this inode..IP UIDUser ID of owner..IP SIZ/DEVNumber of bytes in an ordinary file, ormajor and minor device of special file..PD.TP.B \-xPrint the text table with these headings:.IP LOCThe core location of this table entry..PD 0.IP FLAGSMiscellaneous state variables encoded thus:.RS.IP T.IR ptrace (2)in effect.IP Wtext not yet written on swap device.IP Lloading in progress.IP Klocked.IP wwanted (L flag is on).RE.PD.IP DADDRDisk address in swap, measured in multiples of 512 bytes..IP CADDRCore address, measured in multiples of 64 bytes..IP SIZESize of text segment, measured in multiples of 64 bytes..IP IPTRCore location of corresponding inode..IP CNTNumber of processes using this text segment..IP CCNTNumber of processes in core using this text segment..PD.TP.B \-pPrint process table for active processes with these headings:.IP LOCThe core location of this table entry..PD 0.IP SRun state encoded thus:.RS.IP 0no process.IP 1waiting for some event.IP 3runnable.IP 4being created.IP 5being terminated.IP 6stopped under trace.RE.IP FMiscellaneous state variables, or-ed together:.RS.IP 01loaded.IP 02the scheduler process.IP 04locked.IP 010swapped out.IP 020traced.IP 040used in tracing.IP 0100locked in by.IR lock (2)..RE.IP PRIScheduling priority, see.IR nice (2)..IP SIGNALSignals received (signals 1-16 coded in bits 0-15),.IP UIDReal user ID..IP TIMTime resident in seconds; times over 127 coded as 127..IP CPUWeighted integral of CPU time, for scheduler..IP NINice level,see.IR nice (2)..IP PGRPProcess number of root of process group(the opener of the controlling terminal)..IP PIDThe process ID number..IP PPIDThe process ID of parent process..IP ADDRIf in core, the physical address of the `u-area' ofthe process measured in multiples of 64 bytes.If swapped out, the position in the swap areameasured in multiples of 512 bytes..IP SIZESize of process image in multiples of 64 bytes..IP WCHANWait channel number of a waiting process..IP LINKLink pointer in list of runnable processes..IP TEXTPIf text is pure, pointer to location of text table entry..IP CLKTCountdown for.IR alarm (2)measured in seconds..PD.TP.B \-tPrint table for terminals (only DH11 and DL11 handled)with these headings:.IP RAWNumber of characters in raw input queue..PD 0.IP CANNumber of characters in canonicalized input queue..IP OUTNumber of characters in putput queue..IP MODESee.IR tty (4)..IP ADDRPhysical device address..IP DELNumber of delimiters (newlines) in canonicalized input queue..IP COLCalculated column position of terminal..IP STATEMiscellaneous state variables encoded thus:.RS.IP Wwaiting for open to complete.IP Oopen.IP Shas special (output) start routine.IP Ccarrier is on.IP Bbusy doing output.IP Aprocess is awaiting output.IP Xopen for exclusive use.IP Hhangup on close.RE.IP PGRPProcess group for which this is controlling terminal..PD.TP.B \-uprint information about a user process;the next argument is its address as givenby.IR ps (1).The process must be in main memory, or the file used canbe a core image and the address 0..TP.B \-fPrint the open file table with these headings:.IP LOCThe core location of this table entry..PD 0.IP FLGMiscellaneous state variables encoded thus:.RS.IP Ropen for reading.IP Wopen for writing.IP Ppipe.RE.IP CNTNumber of processes that know this open file..IP INOThe location of the inode table entry for this file..IP OFFSThe file offset, see.IR lseek (2)..PD.PP.SH FILES.ta \w'/dev/mem  'u/unix	namelist.br/dev/mem	default source of tables.SH SEE ALSOps(1), stat(2), filsys(5).brK. Thompson,.I UNIX Implementation

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -