The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TL::MemorySentinel - Watch of update of memory (ja)

NAME (ja)

TL::MemorySentinel::JA - ��<�≪�ŭ戎��◐�倶����勛�h��

SYNOPSIS

  my $msenti = $TL->getMemorySentinel;
  $msenti->setPermissibleSize(db_cache => 10 * 1024);

  my $usage = $msenti->getMemorySize;

DESCRIPTION

FCGI ��≪�若����勰����˨����<�≪�ŝ�ŝ�若�壔����榊�������⓾����������í��������茯帥�鴻�⓾�� ��ŝ�若�壔��罎���冴�������翫����˨����㏍�祉�鴻�����莎桁����������������勉�≪�吾�ャ�若�˨� FCGI ��≪�若����ц�ɱ�������˩戎������������FCGI ��≪�若����с�ŝ�������˨�壚戎�����������ŝ�����

�����勉�≪�吾�ャ�若�˨�壔����������� "Main��∽��" in TL �����������������勌皿��潟�<�≪�ŝ�泣�ゃ�冴�� 篆�絖������������������〠❶���篁ラ����� "Main��∽��" in TL ��������������������������勖����鴻��絲障�����篁勖� ��<�≪�ŝ�泣�ゃ�冴�勐��������荐㊤����ゃ��莇������⓾�������違����<�≪�ŝ�ŝ�若�壔����榊�������������ゆ�㏍��������

METHODS

$TL->getMemorySentinel
  my $msenti = $TL->getMemorySentinel;

TL::MemorySentinel ��ŝ����吾�с�壔��������緇����

getMemorySize
  my $usage = $TL->getMemorySize;

�憜����勉�<�≪�ŭ戎��◒��������緇����������

setPermissibleSize
  $msenti->setPermissibleSize(db_cache => 10 * 1024);

荐怨俉��<�≪�ŭ戎��◒�����荐㊤����������� 膃㋙��綣���違�˨�壔����勤┃絎����絲障�������㏍�若��羝<�����膃㋙��綣���違�˨�壔�泣�ゃ�冴�� KiB ���篏���ф検������

��������í�˨����с�壩❶��勤┃絎������������⓾��������

  $msenti->setPermissibleSize(_HEAP => 10 * 1024);
getTotalPermissibleSize
  my $total = $msenti->getTotalPermissibleSize;

�����⓾�勉�㏍�若��絲障�����荐怨俉��<�≪�ŭ戎��◒����勐��荐���ゃ��菴�������

BUGS

�憜����勖����������勉�≪�吾�ャ�若�˨�壩❶��� OS ��������勉�帥�<�≪�ŭ戎��◒��������緇�������篋������堺�ャ����� ������篁ュ����� OS ��с�壔�<�≪�ŝ�ŝ�若�壔�勖����冴�虁����ŝ�������ŝ�����

  • Linux 2.x

SEE ALSO

TL
TL::FileSentinel

AUTHOR INFORMATION

    Copyright 2006 YMIRLINK Inc. All Rights Reserved.

    This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself

    �����勉����㋘�若����壔�若�壔�壔����ŝ�若�純�������⓾�с�≪�с����������ŝ����� Perl �����������í�ゃ�祉�潟�鴻�� �����у�����絽������喝����眼��茵���������������堺�ャ�障�����

    Address bug reports and comments to: tl@tripletail.jp

    HP : http://tripletail.jp/