By: flash_sh
Hi, when you mentioned some optimization… (System is running on 2 CPUs.) NOT BAD: time { for i in /proc/[0-9]*; do pid=`basename $i`; done } real 0m0.706s user 0m0.292s sys 0m0.464s ?? BETTER: time {...
View ArticleBy: flash_sh
If test (“[") is not shell built-in, then one test is faster than two tests... [ $pid -ge $START -a $pid -le $END ] Lukas
View ArticleBy: cdaaawg
First of all, thanks for the great tips on using /proc for getting process info, this post was very helpful in helping me understand the internals of Linux. I tested the command line you proposed for...
View ArticleBy: mysurface
@Carl, you can try the one suggested by Lukas too. simply: cd /proc cat [0-9]*/stat | cut -d” ” -f1,2,14,15 if range is not important for you. or cd /proc for i in [0-9]*; do if [ $i -ge $START -a $i...
View ArticleBy: cdaaawg
Just a heads up on how the website handles code. What appears to be double quotes in the last line of code: done | cut -d” ” -f1,2,14,15 is something else (“smart” quotes??), thus making cut and paste...
View ArticleBy: mysurface
@Carl, must be the html unicode, unless the code put into <pre><code></code></pre>
View ArticleBy: Lashaun Messey
Hey very nice blog!! Man .. Excellent .. Amazing .. I will bookmark your web site and take the feeds also…I am happy to find numerous useful information here in the post, we need work out more...
View ArticleBy: beats pill pas cher
l’ordre de los angeles même façon, Une license portant sur l’utilisation d’une strategy déterminée peut offrir des possibilités intéressantes aux entreprises qui travaillent à los angeles understanding...
View ArticleBy: clé windows 7
This standard become too popular in the computer world and is mostly followed in connection wuth all peripheral devices like mouse, keyboards, printers, digital video camera, external drives etc....
View ArticleBy: RaspberryPi Linux
Very interesting. I love embedded systems. I created my own LED lamp based on RaspberryPi and work excellently. Here is a video: http://rootconsole.net/my-led-cube/
View ArticleBy: the division darkzone power leveling
Great looking internet site. Presume you did a bunch of your ownyour very own html coding
View ArticleBy: madden nfl 17
You’re a very useful internet site; could not make it without ya! madden nfl 17 http://www.getzcope.com/forum/comments.php?DiscussionID=2597
View ArticleBy: princess ring pandora
相关的主题文章: It was amazing to be a part of it, and unlike anything I’ve ever experienced.Dining. Now is the time to get the financial commitment. Whether someone carries a backpack or the newest Louis...
View ArticleBy: divorceMed
Divorce can be a major life change for each couple, but if you and your spouse have kids with them, you may feel as though your divorce is extra intricate. Child-raising can't be an afterthought in the...
View Article
More Pages to Explore .....