|
Lines 27-33
Link Here
|
| 27 |
.\" SUCH DAMAGE. |
27 |
.\" SUCH DAMAGE. |
| 28 |
.\" |
28 |
.\" |
| 29 |
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94 |
29 |
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94 |
| 30 |
.\" $FreeBSD: src/bin/ps/ps.1,v 1.89 2006/09/17 17:40:06 ru Exp $ |
30 |
.\" $FreeBSD$ |
| 31 |
.\" |
31 |
.\" |
| 32 |
.Dd August 21, 2006 |
32 |
.Dd August 21, 2006 |
| 33 |
.Dt PS 1 |
33 |
.Dt PS 1 |
|
Lines 271-277
Link Here
|
| 271 |
fields to exceed 100%. |
271 |
fields to exceed 100%. |
| 272 |
.It Cm %mem |
272 |
.It Cm %mem |
| 273 |
The percentage of real memory used by this process. |
273 |
The percentage of real memory used by this process. |
| 274 |
.It Cm flags |
274 |
.It Cm f |
| 275 |
The flags associated with the process as in |
275 |
The flags associated with the process as in |
| 276 |
the include file |
276 |
the include file |
| 277 |
.In sys/proc.h : |
277 |
.In sys/proc.h : |
|
Lines 283-288
Link Here
|
| 283 |
.It Dv "P_PPWAIT" Ta No "0x00010 Parent is waiting for child to exec/exit" |
283 |
.It Dv "P_PPWAIT" Ta No "0x00010 Parent is waiting for child to exec/exit" |
| 284 |
.It Dv "P_PROFIL" Ta No "0x00020 Has started profiling" |
284 |
.It Dv "P_PROFIL" Ta No "0x00020 Has started profiling" |
| 285 |
.It Dv "P_STOPPROF" Ta No "0x00040 Has thread in requesting to stop prof" |
285 |
.It Dv "P_STOPPROF" Ta No "0x00040 Has thread in requesting to stop prof" |
|
|
286 |
.It Dv "P_HADTHREADS" Ta No "0x00080 Has had threads (no cleanup shortcuts)" |
| 286 |
.It Dv "P_SUGID" Ta No "0x00100 Had set id privileges since last exec" |
287 |
.It Dv "P_SUGID" Ta No "0x00100 Had set id privileges since last exec" |
| 287 |
.It Dv "P_SYSTEM" Ta No "0x00200 System proc: no sigs, stats or swapping" |
288 |
.It Dv "P_SYSTEM" Ta No "0x00200 System proc: no sigs, stats or swapping" |
| 288 |
.It Dv "P_SINGLE_EXIT" Ta No "0x00400 Threads suspending should exit, not wait" |
289 |
.It Dv "P_SINGLE_EXIT" Ta No "0x00400 Threads suspending should exit, not wait" |
|
Lines 297-304
Link Here
|
| 297 |
.It Dv "P_STOPPED_SINGLE" Ta No "0x80000 Only one thread can continue" |
298 |
.It Dv "P_STOPPED_SINGLE" Ta No "0x80000 Only one thread can continue" |
| 298 |
.It Dv "P_PROTECTED" Ta No "0x100000 Do not kill on memory overcommit" |
299 |
.It Dv "P_PROTECTED" Ta No "0x100000 Do not kill on memory overcommit" |
| 299 |
.It Dv "P_SIGEVENT" Ta No "0x200000 Process pending signals changed" |
300 |
.It Dv "P_SIGEVENT" Ta No "0x200000 Process pending signals changed" |
|
|
301 |
.It Dv "P_SINGLE_BOUNDARY" Ta No "0x400000 Threads should suspend at user boundary" |
| 302 |
.It Dv "P_HWPMC" Ta No "0x800000 Process is using HWPMCs" |
| 300 |
.It Dv "P_JAILED" Ta No "0x1000000 Process is in jail" |
303 |
.It Dv "P_JAILED" Ta No "0x1000000 Process is in jail" |
| 301 |
.It Dv "P_INEXEC" Ta No "0x4000000 Process is in execve()" |
304 |
.It Dv "P_INEXEC" Ta No "0x4000000 Process is in execve()" |
|
|
305 |
.It Dv "P_STATCHILD" Ta No "0x8000000 Child process stopped or exited" |
| 302 |
.El |
306 |
.El |
| 303 |
.It Cm label |
307 |
.It Cm label |
| 304 |
The MAC label of the process. |
308 |
The MAC label of the process. |
|
Lines 315-321
Link Here
|
| 315 |
If the name is invalid or unknown, then |
319 |
If the name is invalid or unknown, then |
| 316 |
.Dq ???\& |
320 |
.Dq ???\& |
| 317 |
is displayed. |
321 |
is displayed. |
| 318 |
.It Cm logname |
322 |
.It Cm login |
| 319 |
The login name associated with the session the process is in (see |
323 |
The login name associated with the session the process is in (see |
| 320 |
.Xr getlogin 2 ) . |
324 |
.Xr getlogin 2 ) . |
| 321 |
.It Cm mwchan |
325 |
.It Cm mwchan |
|
Lines 465-475
Link Here
|
| 465 |
command and arguments |
469 |
command and arguments |
| 466 |
.It Cm cpu |
470 |
.It Cm cpu |
| 467 |
short-term CPU usage factor (for scheduling) |
471 |
short-term CPU usage factor (for scheduling) |
|
|
472 |
.It Cm emul |
| 473 |
system-call emulation environment |
| 468 |
.It Cm etime |
474 |
.It Cm etime |
| 469 |
elapsed running time |
475 |
elapsed running time |
| 470 |
.It Cm flags |
476 |
.It Cm f |
| 471 |
the process flags, in hexadecimal (alias |
477 |
the process flags, in hexadecimal (alias |
| 472 |
.Cm f ) |
478 |
.Cm flags ) |
| 473 |
.It Cm inblk |
479 |
.It Cm inblk |
| 474 |
total blocks read (alias |
480 |
total blocks read (alias |
| 475 |
.Cm inblock ) |
481 |
.Cm inblock ) |
|
Lines 485-494
Link Here
|
| 485 |
memoryuse limit |
491 |
memoryuse limit |
| 486 |
.It Cm lockname |
492 |
.It Cm lockname |
| 487 |
lock currently blocked on (as a symbolic name) |
493 |
lock currently blocked on (as a symbolic name) |
| 488 |
.It Cm logname |
494 |
.It Cm login |
| 489 |
login name of user who started the session |
495 |
login name of user who started the session (alias |
|
|
496 |
.Cm logname ) |
| 490 |
.It Cm lstart |
497 |
.It Cm lstart |
| 491 |
time started |
498 |
time started |
|
|
499 |
.It Cm lwp |
| 500 |
process thread-id |
| 492 |
.It Cm majflt |
501 |
.It Cm majflt |
| 493 |
total page faults |
502 |
total page faults |
| 494 |
.It Cm minflt |
503 |
.It Cm minflt |
|
Lines 504-509
Link Here
|
| 504 |
.Cm ni ) |
513 |
.Cm ni ) |
| 505 |
.It Cm nivcsw |
514 |
.It Cm nivcsw |
| 506 |
total involuntary context switches |
515 |
total involuntary context switches |
|
|
516 |
.It Cm nlwp |
| 517 |
number of threads tied to a process |
| 507 |
.It Cm nsigs |
518 |
.It Cm nsigs |
| 508 |
total signals taken (alias |
519 |
total signals taken (alias |
| 509 |
.Cm nsignals ) |
520 |
.Cm nsignals ) |
|
Lines 524-531
Link Here
|
| 524 |
process group number |
535 |
process group number |
| 525 |
.It Cm pid |
536 |
.It Cm pid |
| 526 |
process ID |
537 |
process ID |
| 527 |
.It Cm poip |
|
|
| 528 |
pageouts in progress |
| 529 |
.It Cm ppid |
538 |
.It Cm ppid |
| 530 |
parent process ID |
539 |
parent process ID |
| 531 |
.It Cm pri |
540 |
.It Cm pri |
|
Lines 536-543
Link Here
|
| 536 |
real group ID |
545 |
real group ID |
| 537 |
.It Cm rgroup |
546 |
.It Cm rgroup |
| 538 |
group name (from rgid) |
547 |
group name (from rgid) |
| 539 |
.It Cm rlink |
|
|
| 540 |
reverse link on run queue, or 0 |
| 541 |
.It Cm rss |
548 |
.It Cm rss |
| 542 |
resident set size |
549 |
resident set size |
| 543 |
.It Cm rtprio |
550 |
.It Cm rtprio |
|
Lines 588-595
Link Here
|
| 588 |
control terminal name (two letter abbreviation) |
595 |
control terminal name (two letter abbreviation) |
| 589 |
.It Cm tty |
596 |
.It Cm tty |
| 590 |
full name of control terminal |
597 |
full name of control terminal |
| 591 |
.It Cm uprocp |
|
|
| 592 |
process pointer |
| 593 |
.It Cm ucomm |
598 |
.It Cm ucomm |
| 594 |
name to be used for accounting |
599 |
name to be used for accounting |
| 595 |
.It Cm uid |
600 |
.It Cm uid |
|
Lines 597-602
Link Here
|
| 597 |
.It Cm upr |
602 |
.It Cm upr |
| 598 |
scheduling priority on return from system call (alias |
603 |
scheduling priority on return from system call (alias |
| 599 |
.Cm usrpri ) |
604 |
.Cm usrpri ) |
|
|
605 |
.It Cm uprocp |
| 606 |
process pointer |
| 600 |
.It Cm user |
607 |
.It Cm user |
| 601 |
user name (from UID) |
608 |
user name (from UID) |
| 602 |
.It Cm vsz |
609 |
.It Cm vsz |