You are here: Re: make benchmark with script php « PHP Language « IT news, forums, messages
Re: make benchmark with script php

Posted by ins0m on 09/27/07 09:54

You could simply do a parse of 'ps -aux' as C said . That won't give
you "only the hardware features"
You will get all information you need to give a detailed view.
If you are trying to get only the mem, do a "ps -aux | awk '{ print
$4}'" and for the cpu $3 (I think).
Boom, there you have your %MEM. Should be easy to write a small script
that does this few commands.
No need for a special software if you just want to have o view on the
mem / cpy usage of your processes.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация