tag:blogger.com,1999:blog-9099779.post5369558284067148012..comments2024-03-23T23:09:17.426+01:00Comments on StalkR's Blog: Process list with /proc -rStalkRhttp://www.blogger.com/profile/15113480981262771031noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-9099779.post-74976282459423893522010-08-29T07:26:44.338+02:002010-08-29T07:26:44.338+02:00Oh okie, for a moment I underestimated ps(1)'s...Oh okie, for a moment I underestimated ps(1)'s code :)<br /><br />Thanks for taking the time to reply :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9099779.post-58884114504319958162010-08-28T23:58:51.070+02:002010-08-28T23:58:51.070+02:00With /proc +r:
$ time ps
[...]
real 0m0.008s
W...With /proc +r:<br />$ time ps<br />[...]<br />real 0m0.008s<br /><br />With /proc -r:<br />$ time ps<br />real 0m0.088s<br /><br />Still acceptable :)StalkRhttps://www.blogger.com/profile/15113480981262771031noreply@blogger.comtag:blogger.com,1999:blog-9099779.post-92134449406234777272010-08-28T17:16:16.478+02:002010-08-28T17:16:16.478+02:00>And good to know, iterating over all pids does...>And good to know, iterating over all pids does not make things much slower.<br /><br />Why do you say that?Anonymousnoreply@blogger.com