Handbook Glossary
factorcode.org
ps ( -- assoc )


Vocabulary
tools.ps

Inputs
None

Outputs
assocan object


Definition
USING: system ;

IN: tools.ps

HOOK: ps os ( -- assoc )


Methods
USING: arrays assocs io.directories kernel math.parser sequences
system tools.ps tools.ps.linux ;

M: linux ps
"/proc" [
"." directory-files [ string>number ] filter
[ dup safe-ps-cmdline 2array ] map sift-values
] with-directory ;