كيف أن أسّس يفحص ذاكرة إستعمال في [لينوإكس] نادلة
ذاكرة واحدة من الحرجة موردة عناصر أكثر على نادلة أن يضمن أنّ الناعمة وعملية سريعة. لذلك, التوفر من كافية و [مموري سز] وافرة طبيعيّة حيويّة خصوصا ل أيّ نادلة, خصوصا عال تحميل نسيج مضيفة أنّ يكون أيضا يركض قاعدة معطيات نادلة مثل إلهام أو [مسقل], أيّ يكون مشهورة لذاكرة شديدة. يأتي [لينوإكس], بما في ذلك [سنتوس] أيّ يكون شعبيّة على [كبنل] و [بلسك] نسيج [هوست سرفر], مع عدّة أوامر وأدوات أن يفحص ذاكرة إستعمال على نادلة.
حرّة
يعرض أمر حرّة مبلغة من إجماليّة, مجّانا ويستعمل ذاكرة طبيعيّة (مطرقة) في النظامة, [أس ولّ س] [شوينغ] معلومة على يشارك ذاكرة, مصدات, يخبّأ ذاكرة و [سوب سبس] يستعمل ب [لينوإكس] نواة.
إعراب من حرّة
حرّرت - [خيارات]
مثال إستعمال من حرّة
حرّرت - [م]
الأمر إرادة عرض معلومة حول ذاكرة طبيعيّة في [مب].
حرّرت - [م] - [س] 5
سينشّط الأمر إقتراع مستمرّة يؤخّر في 5 ثانية على حدة, وبعد ذلك يعرض ذاكرة وضع في ميغابايتات على انتهائيّة. أيّ [فلوأتينغ بوينت] يؤخّر رقم ل يستطيع كنت عيّنت.
حرّرت - [ت] - [م]
سيعرض نفس مع "حرّة - [م]", غير أنّ - [ت] مفتاح خطّ يحتوي المجموعات من طبيعيّة ذاكرة و [سوب سبس].
[فمستت]
[فمستت] يفيد تقارير [فيرتثل مموري] إحصائيّة, أيّ يتلقّى معلومة حول عمليات, تبادل, حرّة, مصد و [كش مموري], يرقّم فراغ, أسطوانة [إيو] نشاط, مصايد, [إينترّوبتس], سياق مفاتيح و [كبو] نشاط. مع [فمستت] أمر, يستطيع مديرات يتلقّى تقارير لحميّة على ذاكرة إستعمال.
إعراب ال [فمستت]
يؤخّر [فمستت] - [خيارات] [حساب]
مثال إستعمال ال [فمستت]
[فمستت]
سيعرض الأمر تقرير يؤسّس على معدلات بما أنّ متأخّرة [ربووت].
[فمستت] 5
سيشارك الأمر معدّلة [سستم رسورس] إستعمال مستوى ل [سمبلينغ بريود] من 5 ثانية في فاصلة من 5 ثانية, ما لم النتيجة أولى أنّ يكون معدلات بما أنّ ال [ربووت] متأخّرة.
أعلى
يعرض أمر علويّة منظرة حركيّة [رل-تيم] من المهام جارية يدار بنواة ونظامة معلومة في [لينوإكس] نظامة. الذاكرة إستعمال يتضمّن [ستت] بأمر علويّة [رل-تيم] حيّة إجماليّة, يستعمل ويحرّر ذاكرة طبيعيّة ويقايض ذاكرة مع هم مصدات ويخبّأ ذاكرة حجم على التّوالي.
إعراب ومثال إستعمال الأعلى
أعلى
يستعمل أعلى بسيطة, ببساطة نوع أعلى في أمر قشرة قذيفة, وباستمرار تحديث [ستت] سيبدي صفحة كنت.
[بس] [أوإكس]
[بس] يفيد أمر لقطة على معلومة من العمليات حاليّة نشطة. ميزة من [بس] أمر أنّ نظامة سيكون [أدمينس] يمكن أن يرى حيث الذاكرة يكون استعملت. [بس] سيبدي النسبة مئويّة من ذاكرة موردة أنّ يكون استعملت ب كلّ عملية أو مهمة يركض في النظامة. مع هذا أمر, ذاكرة علويّة نهم عمليات يستطيع كنت عيّنت.
Syntax and example of ps aux
aux is actually already the options for ps command to see every process on the system. So the typical command to type the following in the command shell:
ps aux
To see only the memory resources occupied by each category of processes, such as Apache httpd, MySQL mysqld or Java, use the following command:
ps aux | awk '{print $4"\t"$11}' | sort | uniq -c | awk '{print $2" "$1" "$3}' | sort -nr
The all mentioned ways of check memory usage should works on most Unix and Linux variant of operating systems. However, if you’re running a VPS (Virtual Private Server) or VDS (Virtual Dedicated Server) or Hybrid Server, especially those powered by Virtuozzo or OpenVZ, the above commands will retrieve data from the host machine, i.e. the entire server the virtual environment is running on. In these virtualization system, the memory usage info has to be calculated from control panel or /proc/user_beancounters file.
IMPORTANT: The page is machine translated and provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Related Articles
- How to Check if Telnet Is Running on a Server
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux
- Novell SUSE Linux Enterprise Server 10 Reviews
- Check Your Disk! Provides Statistical Information of Hard Disk Usage
- Optimize SQL Server 2000, 2005 or 2008 in Large RAM System by Locking Pages in Memory and AWE
- How to Find and Check Number of Connections to a Server
- How to Get Linux Server Sends Email Alert on Root Login
- Marvell Announced Linux Based Tiny Power Plug SoC Computer
- Firefox Add-on: TooManyTabs Organizes Firefox Tabs and Frees Up Memory Usage
- Find Out Linux Orphan Processes

































February 23rd, 2009 21:50
annoying javascript!
pgup moves you to bottom of page. can’t navigate
September 24th, 2007 15:20
When you are running top there are three fields related to memory usage. In order to assay your server memory requirements you have to understand their meaning.
The first thing you have to know is that all the columns (VIRT RES SHR) report memory usage in KB (kilobytes).
VIRT column (virtual memory size of the process) means how much memory a particular application has requested, also it counts swapped to the disk memory pages. But this field does NOT mean that this process actually uses that amount of memory, to use it for real this memory has to be initiated for example using memset. Generally speaking you can disregard this column.
RES column (resident set size, the non-swapped physical memory that a task has used (in kiloBytes)) is the most important one - it actually shows how much physical RAM is allocated for a process.
SHR column says how much memory a particular application is sharing with other applications. E.g., most applications in Linux depend on libc, and as every application links with it and uses its functions then this library memory space is mapped to all process simultaneously to conserve memory.
Consult with this pages for better understanding:
1. http://tldp.org/LDP/tlk/mm/memory.html
2. http://www.ibm.com/developerworks/linux/library/l-mem26/