ps(1)


ps -- Ñ╫ÑφÑ╗Ñ╣╛⌡┬╓ñ╬╩≤╣≡

╖┴╝░

ps [options]

╡í╟╜└Γ╠└

ps ñ╧íó╝┬╣╘├µñ╬ LWP ñ╚Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íúoptions ñ≥╗╪─Ωñ╖ñ╩ñ▒ñ∞ñ╨íó╕╜║▀╝½╩¼ñ╬╗╚═╤ñ╖ñ╞ñññδ├╝╦÷ñ╦┤╪╧óñ╖ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╦ñ─ñññ╞ñ╬╛≡╩≤ñ¼╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú╜╨╬╧ñ╧íóÑ╫ÑφÑ╗Ñ╣ IDíó├╝╦÷╝▒╩╠╗╥íó╬▀└╤╝┬╣╘╗■┤╓íóñ╜ñ╖ñ╞íóÑ│Ñ▐Ñ≤Ñ╔╠╛ñ└ñ▒ñ≥┤▐ñ≤ñ╟ñññ▐ñ╣íúñ╜ñªñ╟ñ╩ññ╛∞╣τ╜╨╬╧ñ╡ñ∞ñδ╛≡╩≤ñ╧íó╗╪─Ωñ╡ñ∞ñ┐ options ñ╦ñΦñΩ▓╝╡¡ñ╬ñΦñªñ╦└⌐╕µñ╡ñ∞ñ▐ñ╣íú

│╚─ÑÑ╗Ñ¡ÑσÑΩÑ╞Ñúѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ≥ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╖ñ╞╝┬╣╘ñ╣ñδ╛∞╣τíó╞├╕óñ¼═┐ñ¿ñΘñ∞ñ╞ñññ╩ññѵí╝Ñ╢ñ╧íóѵí╝Ñ╢ñ¼╗²ñ─Ñ╫ÑφÑ╗Ñ╣ñ╚ѵí╝Ñ╢ñ╬╕╜║▀ñ╬Ñ∞Ñ┘Ñδñ╟╗┘╟█ñ╡ñ∞ñ╞ñññδÑ▐Ñ≤Ñ└Ñ╚ÑΩÑóÑ»Ñ╗Ñ╣Ñ│Ñ≤Ñ╚Ñφí╝ÑδÑ∞Ñ┘Ñδñ╬Ñ╫ÑφÑ╗Ñ╣ñ╦ñ─ñññ╞ñ╬╛≡╩≤ñ╬ñ▀╔╜╝¿ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú

ÑΩÑ╣Ñ╚ñ≥░·ñ¡┐⌠ñ╚ñ╖ñ╞ñ╚ñδ options ñΓñóñΩñ▐ñ╣íú░·ñ¡┐⌠╣α╠▄ñ╧Ñ│Ñ≤Ñ▐ñ╟╢Φ└┌ñδñ│ñ╚ñΓñ╟ñ¡ñ▐ñ╣ñ╖íó╞≤╜┼░·═╤╔Σñ╟░╧ñ≤ñ╟Ñ│Ñ≤Ñ▐ñΣ ╢⌡╟≥ñ╟╢Φ└┌ñδñ│ñ╚ñΓñ╟ñ¡ñ▐ñ╣íúproclist ñ╚ grplist ñ╬├═ñ╧┐⌠╗·ñ╟ñ╩ñ▒ñ∞ñ╨ñññ▒ñ▐ñ╗ñ≤íú

options ñ╧íó░╩▓╝ñ╬ñ╚ñ¬ñΩñ╟ñ╣íú

-a
┴┤Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íúÑ╗Ñ├Ñ╖ÑτÑ≤ÑΩí╝Ñ└ñ¬ñΦñ╙├╝╦÷ñ╚┤╪╧óñ╬ñ╩ññÑ╫ÑφÑ╗Ñ╣ñ≥╜ⁿñ»┴┤Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-A
┴┤Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-c
priocntl(1) ñ╟╡¡╜╥ñ╡ñ∞ñ╞ñññδÑ╣Ñ▒Ñ╕Ñσí╝ÑΩÑ≤Ñ░ñ≥╚┐▒╟ñ╖ñ┐╖┴╝░ñ╟╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú▓╝╡¡ñ╟└Γ╠└ñ╣ñδñΦñªñ╦íó-c ѬÑ╫Ñ╖ÑτÑ≤ñ╧ -f ñ¬ñΦñ╙ -l ѬÑ╫Ñ╖ÑτÑ≤ñ╬╜╨╬╧ñ╦▒╞╢┴ñ≥╡┌ñ▄ñ╖ñ▐ñ╣íú

-d
Ñ╗Ñ├Ñ╖ÑτÑ≤ÑΩí╝Ñ└ñ≥╜ⁿñ»┴┤Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-e
╝┬╣╘├µñ╬┴┤Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδ╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-f
┴┤ñ╞ñ╬╛≡╩≤ñ≥┤▐ñ≤ñ└ÑΩÑ╣Ñ╚ñ≥║ε└«ñ╖ñ▐ñ╣(ѽÑΘÑαñ╬░╒╠úñ╦ñ─ñññ╞ñ╧░╩▓╝ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññ)íú

-g grplist
grplist ñ╟╗╪─Ωñ╡ñ∞ñδÑ╫ÑφÑ╗Ñ╣Ñ░Ñδí╝Ñ╫ñ╬ÑΩí╝Ñ└ñ╬ ID ╚╓╣µñ≥╗²ñ├ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ≥╜╨╬╧ñ╖ñ▐ñ╣(Ñ░Ñδí╝Ñ╫ÑΩí╝Ñ└ñ╚ñ╧Ñ╫ÑφÑ╗Ñ╣ ID ╚╓╣µñ¼Ñ╫ÑφÑ╗Ñ╣Ñ░Ñδí╝Ñ╫╚╓╣µ ID ñ╦┼∙ñ╖ññÑ╫ÑφÑ╗Ñ╣ñ╟ñ╣)íú

-G grplist
grplist ñ╟╗╪─Ωñ╡ñ∞ñδÑ╫ÑφÑ╗Ñ╣Ñ░Ñδí╝Ñ╫ñ╬╝┬Ñ░Ñδí╝Ñ╫ ID ╚╓╣µñ≥╗²ñ├ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-j
Ñ╗Ñ├Ñ╖ÑτÑ≤ ID ñ╚Ñ╫ÑφÑ╗Ñ╣Ñ░Ñδí╝Ñ╫ ID ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-l
ÑφÑ≤Ñ░╖┴╝░╜╨╬╧ñ≥└╕└«ñ╖ñ▐ñ╣(▓╝╡¡ñ≥╗▓╛╚)íú

-L
Ñ╫ÑφÑ╗Ñ╣╞Γñ╬ÑóÑ»Ñ╞ÑúÑ╓ñ╩ LWP ñ╬╛⌡┬╓ñ≥╔╜╝¿ñ╖ñ▐ñ╣íú

-o format
format ñ╦╗╪─Ωñ╡ñ∞ñ┐╖┴╝░ñ╦ñ╖ñ┐ñ¼ñ├ñ╞╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú╩ú┐⌠ñ╬ -o ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╟ñ¡ñ▐ñ╣íúí╓╜╨╬╧╖┴╝░ñ╬╗╪─Ωí╫ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú

-p proclist
proclist ñ╟╗╪─Ωñ╡ñ∞ñδÑ╫ÑφÑ╗Ñ╣ ID ╚╓╣µñ≥╗²ñ─Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-P
ѵí╝Ñ╢ñ¼ LWP ñ≥╠└╝¿┼¬ñ╦Ñ╫ÑφÑ╗Ñ├Ñ╡ñ╦Ñ╨ÑñÑ≤Ñ╚ñ╖ñ┐╛∞╣τíóLWP ñ¼╝┬╣╘ñ╣ñδÑ╫ÑφÑ╗Ñ├Ñ╡ñ╬╚╓╣µñ≥╔╜╝¿ñ╖ñ▐ñ╣íú

-s sidlist
sidlist ñ╟╗╪─Ωñ╡ñ∞ñδ ID ñ≥╗²ñ─Ñ╗Ñ├Ñ╖ÑτÑ≤ÑΩí╝Ñ└ñ╣ñ┘ñ╞ñ╦ñ─ñññ╞ñ╬╛≡╩≤ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-t termlist
termlist ñ╟╗╪─Ωñ╡ñ∞ñ┐├╝╦÷Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ╬ñ▀ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú├╝╦÷╝▒╩╠╗╥ñ╬╗╪─Ωñ╦ñ╧╝íñ╬ 2 ñ─ñ╬╖┴╝░ñ¼ñóñΩñ▐ñ╣íú1 ñ─ñ╧┴⌡├╓ñ╬Ñ╒ÑíÑñÑδ╠╛(╬πñ¿ñ╨ term/04)ñ╟╗╪─Ωñ╣ñδ╩²╦íñ╟íóñΓñª 1 ñ─ñ╧┴⌡├╓ñ╬Ñ╒ÑíÑñÑδ╠╛ñ¼ term ñ╟╗╧ñ▐ñ├ñ╞ñññδ╛∞╣τñ╦┐⌠╗·╝▒╩╠╗╥(╬πñ¿ñ╨ 04)ñ└ñ▒ñ≥╗╪─Ωñ╣ñδ╩²╦íñ╟ñ╣íú

-u uidlist
uidlist ñ╟╗╪─Ωñ╡ñ∞ñδѵí╝Ñ╢ ID ╚╓╣µñ▐ñ┐ñ╧ÑφÑ░ÑñÑ≤╠╛ñ≥╗²ñ├ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ≥╜╨╬╧ñ╖ñ▐ñ╣íúÑφÑ░ÑñÑ≤╠╛ñ¼╜╨╬╧ñ╡ñ∞ñδ -f ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╚═╤ñ╣ñδ╛∞╣τñ≥╜ⁿñññ╞ѵí╝Ñ╢ ID ñ¼┐⌠├═ñ╟╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú-f ñ≥╗╪─Ωñ╣ñδñ╚ÑφÑ░ÑñÑ≤╠╛ñ¼╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú

-U uidlist
uidlist ñ╦╗╪─Ωñ╡ñ∞ñδ╝┬ѵí╝Ñ╢ ID ñ▐ñ┐ñ╧ÑφÑ░ÑñÑ≤╠╛ñ≥╗²ñ├ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╟í╝Ñ┐ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

-y
-l ѬÑ╫Ñ╖ÑτÑ≤ñ╚╢ªñ╦╗╪─Ωñ╖ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íúÑφÑ≤Ñ░╖┴╝░ñ╬╜╨╬╧ñ≥╩╤╣╣ñ╖ñ▐ñ╣íú``RSS''Ñ╒Ñúí╝ÑδÑ╔ñ╚``SZ''Ñ╒Ñúí╝ÑδÑ╔ñ≥Ñ¡ÑφÑ╨ÑñÑ╚├▒░╠ñ╟╜╨╬╧ñ╖íó``F''Ñ╒Ñúí╝ÑδÑ╔ñ╚``ADDR''Ñ╒Ñúí╝ÑδÑ╔ñ╧╜╨╬╧ñ╖ñ▐ñ╗ñ≤íú

-z
Ñ╫ÑφÑ╗Ñ╣ñ¼╝┬╣╘ñ╖ñ╞ñññδÑ▐Ñ≤Ñ└Ñ╚ÑΩÑóÑ»Ñ╗Ñ╣Ñ│Ñ≤Ñ╚Ñφí╝ÑδÑ∞Ñ┘Ñδñ╬╩╠╠╛ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú│╚─ÑÑ╗Ñ¡ÑσÑΩÑ╞Ñúѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ¼ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╡ñ∞ñ╞ñññδ╛∞╣τñ╬ñ▀═¡╕·ñ╟ñ╣íú

-Z
Ñ╫ÑφÑ╗Ñ╣ñ¼╝┬╣╘ñ╖ñ╞ñññδ┤░┴┤╜ñ╛■Ñ▐Ñ≤Ñ└Ñ╚ÑΩÑóÑ»Ñ╗Ñ╣Ñ│Ñ≤Ñ╚Ñφí╝ÑδÑ∞Ñ┘Ñδñ≥╜╨╬╧ñ╖ñ▐ñ╣íú│╚─ÑÑ╗Ñ¡ÑσÑΩÑ╞Ñúѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ¼ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╡ñ∞ñ╞ñññδ╛∞╣τñ╬ñ▀═¡╕·ñ╟ñ╣íú

-f ѬÑ╫Ñ╖ÑτÑ≤ñ╟ñ╧íóps ñ╧ѵí╝Ñ╢Ñ╓ÑφÑ├Ñ»ñ≥─┤ñ┘ñ╞íóÑ╫ÑφÑ╗Ñ╣ñ¼└╕└«ñ╡ñ∞ñ┐ñ╚ñ¡ñ╦═┐ñ¿ñΘñ∞ñδÑ│Ñ▐Ñ≤Ñ╔╠╛ñ╚░·ñ¡┐⌠ñ≥╚╜─Ωñ╖ñΦñªñ╚ñ╖ñ▐ñ╣íúñ│ñ∞ñ¼└«╕∙ñ╖ñ╩ñ½ñ├ñ┐╛∞╣τñ╦ñ╧íó-f ѬÑ╫Ñ╖ÑτÑ≤ñ¼ñ╩ññ╛∞╣τñ╦╜╨ñ╡ñ∞ñδÑ│Ñ▐Ñ≤Ñ╔╠╛ñ¼ [] ñ╟░╧ñ▐ñ∞ñ╞╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú

╜╨╬╧

ps ñ╬╜╨╬╧ñ╟ñ╬ѽÑΘÑαñ╬╕½╜╨ñ╖ñ╚ѽÑΘÑαñ╬░╒╠úñ≥╝íñ╦└Γ╠└ñ╖ñ▐ñ╣íú╩╕╗· f (full) ñ¬ñΦñ╙ l (long) ñ╧íó╜╨╬╧╖┴╝░ѬÑ╫Ñ╖ÑτÑ≤(┤░┴┤╖┴╝░ñ▐ñ┐ñ╧ÑφÑ≤Ñ░╖┴╝░)ñ≥╝¿ñ╖íóñ╜ñ╬╛∞╣τñ╦ñ╧ñ╜ñ∞ñ╛ñ∞ñ╦┴Ω┼÷ñ╣ñδÑ╪Ñ├Ñ└ñ¼╜╨╬╧ñ╡ñ∞ñ▐ñ╣íúall ñ╧Ñ╪Ñ├Ñ└ñ≥╛∩ñ╦╜╨╬╧ñ╣ñδñ│ñ╚ñ≥░╒╠úñ╖ñ▐ñ╣íú

2 ñ─ñ╬ѬÑ╫Ñ╖ÑτÑ≤ñ╧íóÑ╫ÑφÑ╗Ñ╣ñ╦ñ─ñññ╞╢í╡δñ╣ñδ╛≡╩≤ñ╬╝∩╬αñ└ñ▒ñ≥╖Φ─Ωñ╣ñδñΓñ╬ñ╟ñóñΩíóñ╔ñ╬Ñ╫ÑφÑ╗Ñ╣ñ≥ÑΩÑ╣Ñ╚ñ╣ñδñ½ñ≥╖Φ─Ωñ╣ñδñΓñ╬ñ╟ñ╧ñóñΩñ▐ñ╗ñ≤íú

F(l)
Ñ╫ÑφÑ╗Ñ╣ñ▐ñ┐ñ╧ -L ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╧ LWP ñ╦┤╪╧óñ╖ñ┐Ñ╒ÑΘÑ░(16 ┐╩ñ╬╧└═²╧┬)

00
Ñ╫ÑφÑ╗Ñ╣ñ╧╜¬╬╗ñ╖ñ╞ñññ▐ñ╣íúÑ╫ÑφÑ╗Ñ╣Ñ╞í╝Ñ╓Ñδñ╬Ñ¿Ñ≤Ñ╚ÑΩñ╧╗╚═╤▓─╟╜ñ╟ñ╣íú

01
Ñ╖Ñ╣Ñ╞ÑαÑ╫ÑφÑ╗Ñ╣íú╛∩ñ╦╝τ╡¡▓▒╛σñ╦ñóñΩñ▐ñ╣íú

02
┐╞Ñ╫ÑφÑ╗Ñ╣ñ¼ñ│ñ╬Ñ╫ÑφÑ╗Ñ╣ñ≥Ñ╚Ñ∞í╝Ñ╣ñ╖ñ╞ñññ▐ñ╣íú

04
Ñ╚Ñ∞í╝Ñ╣ñ╖ñ╞ñññδ┐╞Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╖Ñ░Ñ╩Ñδñ╦ñΦñΩÑ╫ÑφÑ╗Ñ╣ñ╧─Σ╗▀ñ╖ñ╞ñññ▐ñ╣íú┐╞Ñ╫ÑφÑ╗Ñ╣ñ╧┬╘ñ┴╛⌡┬╓ñ╟ñ╣(ptrace(2) ╗▓╛╚)íú

08
Ñ╫ÑφÑ╗Ñ╣ñ╧╕╜║▀╝τ╡¡▓▒╛σñ╦ñóñΩñ▐ñ╣íú

10
Ñ╫ÑφÑ╗Ñ╣ñ╧╕╜║▀╝τ╡¡▓▒╛σñ╦ñóñΩíóñóñδÑñÑ┘Ñ≤Ñ╚ñ¼┤░╬╗ñ╣ñδñ▐ñ╟ÑφÑ├Ñ»ñ╡ñ∞ñ╞ñññ▐ñ╣íú

20
Ñ╫ÑφÑ╗Ñ╣ñ¼Ñ╣Ñ∩Ñ├Ñ╫ñ╟ñ¡ñ▐ñ╗ñ≤íú

S(l)
Ñ╫ÑφÑ╗Ñ╣ñ▐ñ┐ñ╧ -L ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╧ LWP ñ╬╛⌡┬╓

O
Ñ╫ÑφÑ╗Ñ╣ñ╧Ñ╫ÑφÑ╗Ñ├Ñ╡╛σñ╟╝┬╣╘ñ╖ñ╞ñññ▐ñ╣íú

S
Ñ╣ÑΩí╝Ñ╫╛⌡┬╓íúÑ╫ÑφÑ╗Ñ╣ñ╧ñóñδÑñÑ┘Ñ≤Ñ╚ñ╬╜¬╬╗ñ≥┬╘ñ├ñ╞ñññ▐ñ╣íú

R
╝┬╣╘▓─╟╜╛⌡┬╓íúÑ╫ÑφÑ╗Ñ╣ñ╧╝┬╣╘┬╘ñ┴╣╘╬≤╛σñ╦ñóñΩñ▐ñ╣íú

I
ÑóÑñÑ╔Ñδ╛⌡┬╓íúÑ╫ÑφÑ╗Ñ╣ñ╧└╕└«├µñ╟ñ╣íú

Z
Ñ╛Ñ≤Ñ╙╛⌡┬╓íúÑ╫ÑφÑ╗Ñ╣ñ╧╜¬╬╗ñ╖ñ╞ñññ▐ñ╣ñ¼íó┐╞Ñ╫ÑφÑ╗Ñ╣ñ╧ wait Ñ╖Ñ╣Ñ╞ÑαÑ│í╝Ñδñ≥╚»╣╘ñ╖ñ╞ñññ▐ñ╗ñ≤íú

T
Ñ╚Ñ∞í╝Ñ╣╛⌡┬╓íúÑ╚Ñ∞í╝Ñ╣ñ╖ñ╞ñññδ┐╞Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╖Ñ░Ñ╩Ñδñ╦ñΦñΩÑ╫ÑφÑ╗Ñ╣ñ╧─Σ╗▀ñ╖ñ╞ñññ▐ñ╣íú

X
SXBRK ╛⌡┬╓íúÑ╫ÑφÑ╗Ñ╣ñ╧╝τ╡¡▓▒ñ╬╢⌡ñ¡ñ≥┬╘ñ├ñ╞ñññ▐ñ╣íú

UID(f,l)
LWP ñ╬Ñ╫ÑφÑ╗Ñ╣╜Ω═¡╝╘ñ╬ѵí╝Ñ╢ ID (-f ѬÑ╫Ñ╖ÑτÑ≤ñ╟ñ╧ÑφÑ░ÑñÑ≤╠╛ñ¼╜╨╬╧ñ╡ñ∞ñ▐ñ╣)íú

PID(all)
LWP ñ╬Ñ╫ÑφÑ╗Ñ╣ ID (ñ│ñ╬╛≡╩≤ñ╧Ñ╫ÑφÑ╗Ñ╣ñ≥╢»└⌐╜¬╬╗ñ╣ñδñ╬ñ╦╔¼═╫ñ╟ñ╣)íúÑ╫ÑφÑ╗Ñ╣ñ¼Ñ▐ÑδÑ┴Ñ╣Ñ∞Ñ├Ñ╔▓╜ñ╡ñ∞ñ╞ñññδñ╚íópid ñ╧│╞ÑóÑ»Ñ╞ÑúÑ╓ñ╩Ñ╫ÑφÑ╗Ñ╣ñ┤ñ╚ñ╦╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú

PPID(f,l)
┐╞Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╫ÑφÑ╗Ñ╣ IDíú

CLS(f,l)
Ñ╫ÑφÑ╗Ñ╣ñ▐ñ┐ñ╧ -L ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╧ LWP ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΩÑ≤Ñ░Ñ»ÑΘÑ╣íú-c ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╬ñ▀╜╨╬╧ñ╡ñ∞ñ▐ñ╣íú

NI(l)
Ñ╫ÑφÑ╗Ñ╣ñ╬ nice ├═(Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╣Ñ▒Ñ╕Ñσí╝ÑΩÑ≤Ñ░Ñ»ÑΘÑ╣ñ╦ñΦñ├ñ╞Ñ╡Ñ▌í╝Ñ╚ñ╡ñ∞ñδ╛∞╣τ)

PRI(l)
Ñ╫ÑφÑ╗Ñ╣ñ▐ñ┐ñ╧ -L ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╧ LWP ñ╬═Ñ└Φ╜τ░╠íú-c ѬÑ╫Ñ╖ÑτÑ≤ñ¼╗╪─Ωñ╡ñ∞ñ╞ñññ╩ññ╛∞╣τíó╚╓╣µñ╬╣ΓñññΓñ╬ñ╧─πññ═Ñ└Φ╜τ░╠ñ≥╔╜ñ∩ñ╖ñ▐ñ╣íú-c ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╖ñ┐╛∞╣τíó╚╓╣µñ╬┬τñ¡ñ╡ñ╧═Ñ└Φ╜τ░╠ñ≥╔╜ñ╖ñ▐ñ╣íú

ADDR (l)
Ñ╫ÑφÑ╗Ñ╣ñ╬ÑßÑΓÑΩÑóÑ╔Ñ∞Ñ╣

SZ (l)
╝τÑßÑΓÑΩ╞Γñ╬Ñ╣Ñ∩Ñ├Ñ╫▓─╟╜Ñ╫ÑφÑ╗Ñ╣ñ╬ÑñÑßí╝Ñ╕ñ╬Ñ╡ÑñÑ║(Ñ┌í╝Ñ╕ñ▐ñ┐ñ╧Ñ»ÑΩÑ├Ñ»├▒░╠)íú-y ѬÑ╫Ñ╖ÑτÑ≤ñ≥╗╪─Ωñ╣ñδñ╚íóÑ╡ÑñÑ║ñ╧Ñ¡ÑφÑ╨ÑñÑ╚├▒░╠ñ╟ñ╣íú

WCHAN (l)
Ñ╣ÑΩí╝Ñ╫ñ▐ñ┐ñ╧ SXBRK ╛⌡┬╓ñ╦ñ╩ñ├ñ╞ñññδÑ╫ÑφÑ╗Ñ╣ñ¼┬╨╛▌ñ╚ñ╖ñ╞ñññδÑñÑ┘Ñ≤Ñ╚ñ╬ÑóÑ╔Ñ∞Ñ╣(Ñ╓ÑΘÑ≤Ñ»ñ╬╛∞╣τñ╦ñ╧Ñ╫ÑφÑ╗Ñ╣ñ╧╝┬╣╘├µñ╟ñ╣)íú-L ñ≥╗╪─Ωñ╖ñ┐╛∞╣τñ╧íó╕─í╣ñ╬ LWP ñ¼┬╨╛▌ñ╚ñ╣ñδÑñÑ┘Ñ≤Ñ╚ÑóÑ╔Ñ∞Ñ╣ñ╟ñ╣íú

STIME (f)
Ñ╫ÑφÑ╗Ñ╣ñ╬│½╗╧╗■╣∩íú╗■íó╩¼íó╔├ñ╟═┐ñ¿ñΘñ∞ñ▐ñ╣(ps ñ≥╝┬╣╘ñ╣ñδ 24 ╗■┤╓░╩╛σ┴░ñ╦│½╗╧ñ╖ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╦ñ─ñññ╞ñ╧íó╖ε╞ⁿñ╟═┐ñ¿ñΘñ∞ñ▐ñ╣)íú

LTIME
╕─í╣ñ╬ LWP ñ╬╝┬╣╘╗■┤╓ñ╟ñ╣íú

TTY (all)
Ñ╫ÑφÑ╗Ñ╣ñ≥└⌐╕µñ╖ñ╞ñññδ├╝╦÷(ÑßÑ├Ñ╗í╝Ñ╕ ? ñ¼╜╨╬╧ñ╡ñ∞ñ┐ñ╚ñ¡ñ╧íóÑ╫ÑφÑ╗Ñ╣ñ≥└⌐╕µñ╖ñ╞ñññδ├╝╦÷ñ¼ñ╩ñññ│ñ╚ñ≥╔╜ñ∩ñ╖ñ▐ñ╣)íú

TIME (all)
Ñ╫ÑφÑ╗Ñ╣ñ╬╬▀└╤╝┬╣╘╗■┤╓ñ╟ñ╣íú

COMD (all)
Ñ│Ñ▐Ñ≤Ñ╔╠╛(-fѬÑ╫Ñ╖ÑτÑ≤ñ╟ñ╧íó┤░┴┤ñ╩Ñ│Ñ▐Ñ≤Ñ╔╠╛ñ╚░·ñ¡┐⌠ñ≥╜╨╬╧ñ╖ñ▐ñ╣)íúPOSIX2 ┤─╢¡╩╤┐⌠ñ≥└▀─Ωñ╖ñ┐╛∞╣τíóCOMD ñ╬┬σñ∩ñΩñ╦ CMD ñ≥╜╨╬╧ñ╖ñ▐ñ╣íú

NLWP
Ñ╫ÑφÑ╗Ñ╣╞Γñ╬ LWP ñ╬┐⌠ñ╟ñ╣íú

PSR
ѵí╝Ñ╢ñ¼╠└╝¿┼¬ñ╦ LWP ñ≥╞├─Ωñ╬Ñ╫ÑφÑ╗Ñ├Ñ╡ñ╦Ñ╨ÑñÑ≤Ñ╔ñ╖ñ┐╛∞╣τíóLWP ñ¼╝┬╣╘ñ╣ñδÑ╫ÑφÑ╗Ñ├Ñ╡ñ╬Ñ╫ÑφÑ╗Ñ├Ñ╡╚╓╣µñ╟ñ╣íú``-''ñ¼╔╜╝¿ñ╡ñ∞ñ┐╛∞╣τíóLWP ñ╧╠└╝¿┼¬ñ╦Ñ╨ÑñÑ≤Ñ╔ñ╡ñ∞ñ╞ñ¬ñΘñ║íóÑ╣Ñ▒Ñ╕Ñσí╝ÑΘñ¼│ΣñΩ┼÷ñ╞ñ┐Ñ╫ÑφÑ╗Ñ├Ñ╡╛σñ╟╝┬╣╘ñ╖ñ╞ñññ▐ñ╣íú

RSS
Ñ¡ÑφÑ╨ÑñÑ╚├▒░╠ñ╬╛∩├≤Ñ╗Ñ├Ñ╚ñ╬┬τñ¡ñ╡ñ╟ñ╣íú

ñ╣ñ╟ñ╦╜¬╬╗ñ╖ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╟íó┐╞Ñ╫ÑφÑ╗Ñ╣ñ¼ñóñδñ¼ñ▐ñ└┬╘ñ┴╛⌡┬╓ñ╦ñ╩ñ├ñ╞ñññ╩ññÑ╫ÑφÑ╗Ñ╣ñ╧íó<defunct> ñ╚Ñ▐í╝Ñ»ñ╡ñ∞ñ▐ñ╣íú

╜╨╬╧╖┴╝░ñ╬╗╪─Ω

░╩▓╝ñ╬╔╜ñ╧íó-o format ѬÑ╫Ñ╖ÑτÑ≤ñ╟╗╪─Ωñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñδ╖┴╝░Ñ¡í╝Ñ∩í╝Ñ╔ñ≥ñ▐ñ╚ñßñ┐ñΓñ╬ñ╟ñ╣íú-o ñ≥╩ú┐⌠╗╪─Ωñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú

ruser ruser Ñ╫ÑφÑ╗Ñ╣ñ╬╝┬ѵí╝Ñ╢ IDíúñ│ñ∞ñ≥│═╞└ñ╟ñ¡íóÑ╒Ñúí╝ÑδÑ╔╔²ñ¼╡÷ñ╗ñ╨íó╩╕╗·ñ╔ñ¬ñΩñ╦╔╜╝¿ñ╖ñ▐ñ╣íúñ╜ñ∞░╩│░ñ╬╛∞╣τñ╧ 10 ┐╩┐⌠ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú RUSER
user Ñ╫ÑφÑ╗Ñ╣ñ╬═¡╕·Ñµí╝Ñ╢ IDíúñ│ñ∞ñ≥│═╞└ñ╟ñ¡íóÑ╒Ñúí╝ÑδÑ╔╔²ñ¼╡÷ñ╗ñ╨íó╩╕╗·ñ╔ñ¬ñΩñ╦╔╜╝¿ñ╖ñ▐ñ╣íúñ╜ñ∞░╩│░ñ╬╛∞╣τñ╧ 10 ┐╩┐⌠ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú USER
rgroup Ñ╫ÑφÑ╗Ñ╣ñ╬╝┬Ñ░Ñδí╝Ñ╫ IDíúñ│ñ∞ñ≥│═╞└ñ╟ñ¡íóÑ╒Ñúí╝ÑδÑ╔╔²ñ¼╡÷ñ╗ñ╨íó╩╕╗·ñ╔ñ¬ñΩñ╦╔╜╝¿ñ╖ñ▐ñ╣íúñ╜ñ∞░╩│░ñ╬╛∞╣τñ╧ 10 ┐╩┐⌠ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú RGROUP
group Ñ╫ÑφÑ╗Ñ╣ñ╬═¡╕·Ñ░Ñδí╝Ñ╫ IDíúñ│ñ∞ñ≥│═╞└ñ╟ñ¡íóÑ╒Ñúí╝ÑδÑ╔╔²ñ¼╡÷ñ╗ñ╨íó╩╕╗·ñ╔ñ¬ñΩñ╦╔╜╝¿ñ╖ñ▐ñ╣íúñ╜ñ∞░╩│░ñ╬╛∞╣τñ╧ 10 ┐╩┐⌠ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú GROUP
pid Ñ╫ÑφÑ╗Ñ╣ ID ñ╬ 10 ┐╩┐⌠├═ PID PID
ppid ┐╞Ñ╫ÑφÑ╗Ñ╣ ID ñ╬ 10 ┐╩┐⌠├═ PPID PPID
pgid Ñ╫ÑφÑ╗Ñ╣Ñ░Ñδí╝Ñ╫ ID ñ╬ 10 ┐╩┐⌠├═ PGID
pcpu ║╟╢ß╗╚═╤ñ╖ñ┐CPU ╗■┤╓ñ╬íó╞▒┤ⁿ┤╓ñ╦╗╚═╤▓─╟╜ñ╩ CPU ╗■┤╓ñ╦┬╨ñ╣ñδÑ╤í╝Ñ╗Ñ≤Ñ╚╔╜╝¿ñ╟ñ╬╚µ╬¿íúñ│ñ╬╩╕╠«ñ╟í╓║╟╢ßí╫ñ╚ñññª░╒╠úñ╧╡¼─Ωñ╡ñ∞ñ╞ñññ▐ñ╗ñ≤íú╗╚═╤▓─╟╜ñ╩ CPU ╗■┤╓ñ╧íó╡¼─Ωñ╡ñ∞ñ╞ñññ╩ññ╩²╦íñ╟╖Φ─Ωñ╡ñ∞ñ▐ñ╣íú %CPU
vsz Ñ¡ÑφÑ╨ÑñÑ╚├▒░╠ñ╬ 10 ┐╩└░┐⌠ñ╟╔╜ñ╖ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╬(▓╛┴█)ÑßÑΓÑΩñ╬Ñ╡ÑñÑ║ VSZ
nice Ñ╫ÑφÑ╗Ñ╣ñ╬Ñ╖Ñ╣Ñ╞ÑαÑ╣Ñ▒Ñ╕Ñσí╝ÑΩÑ≤Ñ░═Ñ└Φ╜τ░╠ñ≥╔╜ñ╣ 10 ┐╩┐⌠├═íúnice(1) ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú NI
etime Ñ╫ÑφÑ╗Ñ╣ñ≥│½╗╧ñ╖ñ╞ñ½ñΘñ╬╖╨▓ß╗■┤╓íú[[dd-]hh:]mm:ss where dd ñ╚ñññª╖┴ñ╟╔╜ñ╖ñ▐ñ╣íúñ│ñ│ñ╟íódd ñ╧╞ⁿ┐⌠íóhh ñ╧╗■┤╓┐⌠íómm ñ╧╩¼┐⌠íóss ñ╧╔├┐⌠ñ≥╔╜ñ╖ñ▐ñ╣íúdd Ñ╒Ñúí╝ÑδÑ╔ñ╧ 10 ┐╩└░┐⌠ñ╟ñ╣íúhh Ñ╒Ñúí╝ÑδÑ╔íómm Ñ╒Ñúí╝ÑδÑ╔íóss Ñ╒Ñúí╝ÑδÑ╔ñ╧íó║╕┬ªñ╦ 0 ñ≥╦Σñß╣■ñ≤ñ└ 2 ╖σñ╬ 10 ┐╩└░┐⌠ñ╟ñ╣íú ELAPSED
time Ñ╫ÑφÑ╗Ñ╣ñ╬╬▀└╤ CPU ╗■┤╓íú╛σ╡¡ñ╬ etime ñ╟└Γ╠└ñ╖ñ┐ñΦñªñ╦íó[[dd-]hh:]mm:ss ñ╚ñññª╖┴ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú TIME
tty (ñóñ∞ñ╨)Ñ╫ÑφÑ╗Ñ╣ñ╬└⌐╕µ├╝╦÷ñ╬╠╛┴░íúwho(1) ѵí╝Ñ╞ÑúÑΩÑ╞Ñúñ╟╗╚═╤ñ╣ñδñ╬ñ╚╞▒ñ╕╖┴╝░ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú TT
comm ╝┬╣╘├µñ╬Ñ│Ñ▐Ñ≤Ñ╔(argv [0] value)ñ╬╠╛┴░íú╩╕╗·╬≤ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú COMMAND
args Ñ│Ñ▐Ñ≤Ñ╔ñ╚ñ╜ñ╬ñ╣ñ┘ñ╞ñ╬░·ñ¡┐⌠íú╩╕╗·╬≤ñ╟╔╜╝¿ñ╖ñ▐ñ╣íú COMMAND

 
 ruser    The real user ID of   RUSER 
          the process. This 
          will be the textual 
          user ID, if it can 
          be obtained and the 
          field width 
          permits, or a 
          decimal 
          representation 
          otherwise. 
 user     The effective user    USER 
          ID of the process. 
          This will be the 
          textual user ID, if 
          it can be obtained 
          and the field width 
          permits, or a 
          decimal 
          representation 
          otherwise. 
 rgroup   The real group ID     RGROUP 
          of the process. 
          This will be the 
          textual group ID, 
          if it can be 
          obtained and the 
          field width 
          permits, or a 
          decimal 
          representation 
          otherwise. 
 group    The effective group   GROUP 
          ID of the process. 
          This will be the 
          textual group ID, 
          if it can be 
          obtained and the 
          field width 
          permits, or a 
          decimal 
          representation 
          otherwise. 
 pid      The decimal value     PID 
          of the process ID. 
 ppid     The decimal value     PPID 
          of the parent 
          process ID. 
 pgid     The decimal value     PGID 
          of the process 
          group ID. 
 pcpu     The ratio of CPU      %CPU 
          time used recently 
          to CPU time 
          available in the 
          same period, 
          expressed as a 
          percentage. The 
          meaning of 
          ``recently'' in 
          this context is 
          unspecified. The 
          CPU time available 
          is determined in an 
          unspecified manner. 
 vsz      The size of the       VSZ 
          process in 
          (virtual) memory in 
          kilobytes as a 
          decimal integer. 
 nice     The decimal value     NI 
          of the system 
          scheduling priority 
          of the process. 
          See nice(1) 
 etime    The elapsed time      ELAPSED 
          since the process 
          was started, in the 
          form [[dd- 
          ]hh:]mm:ss where dd 
          will represent the 
          number of days, hh 
          the number of 
          hours, mm the 
          number of minutes, 
          and ss the number 
          of seconds.  The dd 
          field will be a 
          decimal integer. 
          The hh, mm, and ss 
          fields will be 
          two-digit decimal 
          integers padded on 
          the left with 
          zeros. 
 time     The cumulative CPU    TIME 
          time of the process 
          in the form: 
          [[dd-]hh:]mm:ss as 
          described above for 
          etime. 
 tty      The name of the       TT 
          controlling 
          terminal of the 
          process (if any) in 
          the same format 
          used by the who(1) 
          utility. 
 comm     The name of the       COMMAND 
          command being 
          executed (argv [0] 
          value) as a string. 
 args     The command with      COMMAND 
          all its arguments 
          as a string. 

Ñ╒ÑíÑñÑδ

/dev

/dev/sxt/*

/dev/term/*

/dev/xt/*
├╝╦÷(tty)╠╛ñ≥╕í║≈ñ╣ñδÑ╒ÑíÑñÑδ

/proc/*
Ñ╫ÑφÑ╗Ñ╣╛≡╩≤

/etc/passwd
UID ╛≡╩≤ñ╬╢í╡δñ╦═╤ñññ▐ñ╣íú

/etc/ps_data
╞Γ╔⌠Ñ╟í╝Ñ┐╣╜┬ñ

/usr/lib/locale/locale/LC_MESSAGES/uxcore
╕└╕∞╕╟═¡ñ╬ÑßÑ├Ñ╗í╝Ñ╕Ñ╒ÑíÑñÑδ(environ(5) ñ╬ LANG ╗▓╛╚)

┤╪╧ó╣α╠▄

getty(1M), kill(1), nice(1), priocntl(1)

├φ░╒

ps ñ╬╝┬╣╘├µñ╦╗÷┬╓ñ¼╩╤▓╜ñ╣ñδñ│ñ╚ñ¼ñóñΩñ▐ñ╣íú╜╨╬╧ñ╡ñ∞ñδ╞Γ═╞ñ¼└╡│╬ñ╟ñóñδñ╬ñ╧╜╓┤╓ñ╬ñ│ñ╚ñ╟ñóñΩíóѵí╝Ñ╢ñ¼ñ│ñ∞ñ≥╕½ñδñ╚ñ¡ñ╦ñ╧ñ╣ñ╟ñ╦╔╘└╡│╬ñ╩ñ│ñ╚ñ¼ñóñΩñ▐ñ╣íú╛├╠╟ñ╖ñ┐Ñ╫ÑφÑ╗Ñ╣ñ╦┤╪ñ╣ñδÑ╟í╝Ñ┐ñ╬├µñ╦ñ╧╕½┼÷░πñññ╬ñΓñ╬ñΓñóñΩñ▐ñ╣íú

termlistíóproclistíóuidlistíóñ▐ñ┐ñ╧ grplist ñ¼╗╪─Ωñ╡ñ∞ñ╩ññ╛∞╣τíóps ñ╧└⌐╕µ├╝╦÷ñ≥╕½ñ─ñ▒╜╨ñ╣ñ┐ñßñ╦íóstdiníóstdoutíóstderr ñ╚ñññª╜τñ╦ñ╜ñ∞ñ╛ñ∞ñ≥─┤ñ┘└⌐╕µ├╝╦÷ñ╦┤╪╧óñ╖ñ╞ñññδÑ╫ÑφÑ╗Ñ╣ñ╦ñ─ñññ╞╩≤╣≡ñ≥╗εñ▀ñ▐ñ╣íúñ│ñ╬╛∞╣τíóstdiníóstdoutíóstderr ñ¼ñ╣ñ┘ñ╞ÑΩÑ└ÑñÑ∞Ñ»Ñ╚ñ╡ñ∞ñ╞ñññδñ╚ ps ñ╧└⌐╕µ├╝╦÷ñ≥╕½ñ─ñ▒ñΘñ∞ñ▐ñ╗ñ≤ñ╬ñ╟╩≤╣≡ñ╧ñ╩ñ╡ñ∞ñ▐ñ╗ñ≤íú

ps -ef ñ╧ tty ÑφÑ░ÑñÑ≤Ñ╗Ñ├Ñ╖ÑτÑ≤ñ╬╝┬║▌ñ╬╗╧ñ▐ñΩñ╟ñ╧ñ╩ñ»íóñΓñ├ñ╚┴ß┤ⁿñ╬íóñ─ñ▐ñΩ║╟╕σñ╦ getty ñ¼ tty ▓≤└■ñ╦ÑóÑ├Ñ┐Ñ┴ñ╡ñ∞ñ┐ñ╚ñ¡ñ╬ñ│ñ╚ñ≥╩≤╣≡ñ╣ñδ╛∞╣τñ¼ñóñΩñ▐ñ╣íú

-y ѬÑ╫Ñ╖ÑτÑ≤ñ╧ -l ѬÑ╫Ñ╖ÑτÑ≤ñ╚┴╚ñ▀╣τñ∩ñ╗ñ╩ññ╕┬ñΩíó▒╞╢┴ñ╧ñóñΩñ▐ñ╗ñ≤íúSystem V Release 4 MP ñ╟ñ╬ -x ѬÑ╫Ñ╖ÑτÑ≤ñ╚╞▒┼∙ñ╟ñ╣íú


SCO UnixWare Forum Beta Release (BL12) -- September 1997
© 1997 The Santa Cruz Operation, Inc. All rights reserved.