ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как получить значения загрузки CPU
@ 2005-12-07  6:46 oyl
  2005-12-07 14:11 ` [Comm] " Michael Shigorin
  0 siblings, 1 reply; 2+ messages in thread
From: oyl @ 2005-12-07  6:46 UTC (permalink / raw)
  To: community

Hi, community,
как получить значения _в процентах_ загрузки процессора, наподобие 
третий строчки в top.
/proc/stat показывает некие значения в секундах (?). Как их правильно 
перевести в %%?


__
OYL



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Comm] Re: Как получить значения загрузки CPU
  2005-12-07  6:46 [Comm] Как получить значения загрузки CPU oyl
@ 2005-12-07 14:11 ` Michael Shigorin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Shigorin @ 2005-12-07 14:11 UTC (permalink / raw)
  To: community

On Wed, Dec 07, 2005 at 09:46:43AM +0300, oyl wrote:
> как получить значения _в процентах_ загрузки процессора,
> наподобие третий строчки в top.

/proc/loadavg

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-07 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07  6:46 [Comm] Как получить значения загрузки CPU oyl
2005-12-07 14:11 ` [Comm] " Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git