اختبر مهاراتك في System Administration - إدارة الأنظمة |Junior Level | الجزء الأول

محمدخير

|| 𝓘𝓵𝓵𝓾𝓼𝓲𝓸𝓷 ||
.:: طاقم المشرفين ::.
1337 _<

Apr
992
1,790
  • التقييمات: 0
  • #1
image.gif

السلام عليكم ورحمة الله وبركاته

سوف ننقاش اليوم، مجموعة من الأسئلة والأجوبة عليها بخصوص إدارة الأنظمة SysAdmin.

1713225690841.jpeg

السؤال الأول :
?Give some examples of Linux distribution. What is your favorite distro and why

Red Hat Enterprise Linux - Fedora - CentOS - Debian - Ubuntu - Mint - SUSE Linux Enterprise Server (SLES) - SUSE Linux Enterprise Desktop (SLED) - Slackware - Arch - Kali - Backbox

My favorite Linux distribution

Arch Linux, which offers a nice minimalist base system on which one can build a custom operating system. The beauty of it too is that it has the Arch User Repository (AUR), which when combined with its official binary repositories allows it to probably have the largest repositories of any distribution. Its packaging process is also very simple, which means if one wants a package not in its official repositories or the AUR, it should be easy to make it for oneself.
Linux Mint, which is also built from Ubuntu LTS releases, but features editions featuring a few different desktop environments, including Cinnamon, MATE and Xfce. Mint is quite polished and its aesthetics are rather appealing, I especially like its new icon theme, although I do quite dislike its GTK+ theme (too bland to my taste). I’ve also found a bug in its latest release Mint 19, that is getting quite irritating as I asked for with it over a fortnight ago on their forums and I have received no replies so far and it is a bug that makes my life on it more difficult.
Kali Linux, is a Debian-based Linux distribution aimed at advanced Penetration Testing and Security Auditing. Kali contains several hundred tools which are geared towards various information security tasks, such as Penetration Testing, Security research, Computer Forensics and Reverse Engineering.

Useful resources

List of Linux distributions
نقاش باللغة العربية،أعطِ بعض الأمثلة على توزيعات Linux. ما هي التوزيعة المفضلة لديك ولماذا؟
ببساطة السؤال يطلب منك التوزيعة المفضلة لديك ويجب عليك توضيح السبب ومن الأمثلة على هذه التوزيعات :

Red Hat Enterprise Linux - Fedora - CentOS - Debian - Ubuntu - Mint - SUSE Linux Enterprise Server (SLES) - SUSE Linux Enterprise Desktop (SLED) - Slackware - Arch - Kali - Backbox
الآن نجي نوضح ليش الـ Arch هو المُفضل بالإجابة وطبعاً هذه إجابات شخصية يمكن كل انسان عنده إجابة مختلفة عن الآخر.
أرتش لينكس، الذي يقدم نظام قاعدة أساسية يمكن من خلالها بناء نظام تشغيل مخصص. جماله أيضًا يكمن في وجود مستودع المستخدمين الخاص بأرتش (AUR)، الذي عندما يتم دمجه مع مستودعاته الثنائية الرسمية، يتيح له أن يكون لديه ربما أكبر مستودعات بيانات بين جميع التوزيعات. عملية التعبئة والتغليف فيه أيضًا بسيطة جدًا، مما يعني أنه إذا أراد شخصٌ حزمة غير موجودة في المستودعات الرسمية أو AUR، يجب أن يكون من السهل صنعها بنفسه.


لينكس مينت، الذي يتم بناؤه أيضًا من إصدارات Ubuntu LTS، ولكنه يتميز بإصدارات تضم بيئات سطح مكتبية مختلفة، بما في ذلك Cinnamon و MATE و Xfce. مينت مصقول تمامًا وجماليته جذابة للغاية، أنا خاصةً أحب ثيم الأيقونات الجديد الخاص به، على الرغم من أنني لا أحب ثيم GTK+ الخاص به (باهت جدًا بالنسبة لذوقي). كما وجدت خللاً في أحدث إصدار لهم، مينت 19، وهو أمر مزعج للغاية، حيث طلبت المساعدة به قبل أسبوعين تقريبًا في منتدياتهم ولم أتلقى أي رد حتى الآن، وهذا الخلل يجعل حياتي على النظام أكثر صعوبة.


كالي لينكس، هو توزيعة لينكس مبنية على دبيان وتستهدف اختبار الاختراق المتقدم وتدقيق الأمان. تحتوي كالي على مئات الأدوات الموجهة نحو مهام أمان المعلومات المختلفة، مثل اختبار الاختراق والبحث الأمني والتحقيق الجنائي الرقمي والهندسة العكسية




السؤال الثاني :

?What are the differences between Unix, Linux, BSD, and GNU
GNU isn't really an OS. It's more of a set of rules or philosophies that govern free software, that at the same time gave birth to a bunch of tools while trying to create an OS. So GNU tools are basically open versions of tools that already existed, but were reimplemented to conform to principals of open software. GNU/Linux is a mesh of those tools and the Linux kernel to form a complete OS, but there are other GNUs, e.g. GNU/Hurd.


Unix and BSD are "older" implementations of POSIX that are various levels of "closed source". Unix is usually totally closed source, but there are as many flavors of Unix as there are Linux (if not more). BSD is not usually considered "open", but it was considered to be very open when it was released. Its licensing also allowed for commercial use with far fewer restrictions than the more "open" licenses of the time allowed.


Linux is the newest of the four. Strictly speaking, it's "just a kernel"; however, in general, it's thought of as a full OS when combined with GNU Tools and several other core components.


The main governing differences between these are their ideals. Unix, Linux, and BSD have different ideals that they implement. They are all POSIX, and are all basically interchangeable. They do solve some of the same problems in different ways. So other then ideals and how they choose to implement POSIX standards, there is little difference.


For more info I suggest your read a brief article on the creation of GNU, OSS, Linux, BSD, and UNIX. They will be slanted towards their individual ideas, but those articles should give you a better idea of the differences.


Useful resources:

جنو لينكس ليست فعلًا نظام تشغيل. إنها بالأحرى مجموعة من القواعد أو الفلسفات التي تحكم البرمجيات الحرة، وفي الوقت نفسه أنجبت مجموعة من الأدوات أثناء محاولة إنشاء نظام تشغيل. لذا، فإن أدوات جنو هي ببساطة نسخ مفتوحة من الأدوات التي كانت موجودة بالفعل، ولكن تم إعادة تنفيذها لتتوافق مع مبادئ البرمجيات المفتوحة. جنو/لينكس هو تجميع لتلك الأدوات ونواة لينكس لتشكيل نظام تشغيل كامل، ولكن هناك أنظمة أخرى تعتمد على جنو، مثل جنو/هيرد.


يونكس وبي إس دي هما تنفيذات "أقدم" لمعايير POSIX وهما مستويات مختلفة من "الشفرة المغلقة". يونكس عادة ما تكون مغلقة تمامًا، ولكن هناك العديد من أصناف يونكس تشبه عدد توزيعات لينكس (إن لم يكن أكثر). بي إس دي لا تعتبر عادة "مفتوحة"، ولكن كانت تعتبر مفتوحة جدًا عندما تم إصدارها. ترخيصها أيضًا يسمح باستخدامها التجاري بقيود أقل بكثير مقارنة بالتراخيص "المفتوحة" في ذلك الوقت.


لينكس هو الأحدث بين الأربعة. بالمعنى الدقيق، إنه "مجرد نواة"، ومع ذلك، عمومًا يُعتبر نظام تشغيل كامل عندما يتم دمجه مع أدوات جنو وعدة مكونات أساسية أخرى.


الاختلافات الرئيسية بين هذه الأنظمة تكمن في مبادئها. يونكس ولينكس وبي إس دي لديهم مبادئ مختلفة ينفذونها. جميعها تتوافق مع معايير POSIX وتكاد تكون قابلة للتبديل. إنها تحل بعض المشاكل نفسها بطرق مختلفة. لذا، بخلاف المبادئ وكيفية تنفيذ معايير POSIX، هناك اختلاف طفيف بينها.


للمزيد من المعلومات، أوصيك بقراءة مقال موجز عن إنشاء جنو والبرمجيات المفتوحة ولينكس وبي إس دي ويونكس. قد تكون هذه المقالات مائلة نحو أفكارها الفردية، ولكنها ستمنحك فكرة أفضل عجنو لينكس ليست فعلًا نظام تشغيل. إنها بالأحرى مجموعة من القواعد أو الفلسفات التي تحكم البرمجيات الحرة، وفي الوقت نفسه أنجبت مجموعة من الأدوات أثناء محاولة إنشاء نظام تشغيل. لذا، فإن أدوات جنو هي ببساطة نسخ مفتوحة من الأدوات التي كانت موجودة بالفعل، ولكن تم إعادة تنفيذها لتتوافق مع مبادئ البرمجيات المفتوحة. جنو/لينكس هو تجميع لتلك الأدوات ونواة لينكس لتشكيل نظام تشغيل كامل، ولكن هناك أنظمة أخرى تعتمد على جنو، مثل جنو/هيرد.

الاختلافات الرئيسية بين هذه الأنظمة تكمن في مبادئها. يونكس ولينكس وبي إس دي لديهم مبادئ مختلفة ينفذونها. جميعها تتوافق مع معايير POSIX وتكاد تكون قابلة للتبديل. إنها تحل بعض المشاكل نفسها بطرق مختلفة. لذا، بخلاف المبادئ وكيفية تنفيذ معايير POSIX، هنجنو لينكس ليست فعلًا نظام تشغيل. إنها بالأحرى مجموعة من القواعد أو الفلسفات التي تحكم البرمجيات الحرة، وفي الوقت نفسه أنجبت مجموعة من الأدوات أثناء محاولة إنشاء نظام تشغيل. لذا، فإن أدوات جنو هي ببساطة نسخ.




السؤال الثالث :

.What is a CLI? Tell me about your favorite CLI tools, tips, and hacks
CLI is an acronym for Command Line Interface or Command Language Interpreter. The command line is one of the most powerful ways to control your system/computer.

In Unix like systems, CLI is the interface by which a user can type commands for the system to execute. The CLI is very powerful, but is not very error-tolerant.

The CLI allows you to do manipulations with your system’s internals and with code in a much more fine-tuned way. It offers greater flexibility and control than a GUI regardless of what OS is used. Many programs that you might want to use in your software that are hosted on say Github also require running some commands on the CLI in order to get them running.

My favorite tools

screen - free terminal multiplexer, I can start a session and My terminals will be saved even when you connection is lost, so you can resume later or from home
ssh - the most valuable over-all command to learn, I can use it to do some amazing things:
mount a file system over the internet with sshfs
forward commands: runs against a rsync server with no rsync deamon by starting one itself via ssh
run in batch files: I can redirect the output from the remote command and use it within local batch file
vi/vim - is the most popular and powerful text editor, it's universal, it's work very fast, even on large files
bash-completion - contains a number of predefined completion rules for shell

Tips & Hacks

searches the command history with CTRL + R
popd/pushd and other shell builtins which allow you manipulate the directory stack
editing keyboard shortcuts like a CTRL + U, CTRL + E
combinations will be auto-expanded:
!* - all arguments of last command
!! - the whole of last command
!ssh - last command starting with ssh

Useful resources:

Command Line Interface Definition
What is your single most favorite command-line trick using Bash?
What are your favorite command line features or tricks​
هو اختصار لواجهة سطر الأوامر أو مترجم لغة الأوامر. سطر الأوامر هو واحد من أقوى الطرق للتحكم في النظام / الكمبيوتر الخاص بك.
في أنظمة Unix مثلها مثل أنظمة التشغيل الأخرى، تعتبر واجهة سطر الأوامر هي الواجهة التي يمكن للمستخدم أن يكتب فيها الأوامر لتنفيذها من قبل النظام. واجهة سطر الأوامر قوية جدًا، ولكنها ليست متسامحة جدًا مع الأخطاء.

تتيح لك واجهة سطر الأوامر إجراء تلاعبات في الأجزاء الداخلية لنظامك وفي الشفرة بطريقة أكثر دقة. إنها توفر مرونة وتحكمًا أكبر من واجهة المستخدم الرسومية بغض النظر عن نظام التشغيل المستخدم. العديد من البرامج التي قد ترغب في استخدامها في برامجك والتي يتم استضافتها على موقع Github، تتطلب أيضًا تشغيل بعض الأوامر على واجهة سطر الأوامر لتشغيلها.


أدواتي المفضلة:
screen .1 :مضاعف الطرفية المجاني، يمكنني بدء جلسة وسيتم حفظ الطرفيات الخاصة بي حتى عند فقدان الاتصال، بحيث يمكنك استئنافها لاحقًا أو من المنزل.
ssh .2 : الأمر الأكثر قيمة على الإطلاق للتعلم، يمكنني استخدامه للقيام بأشياء مذهلة:
  • تركيب نظام ملفات عبر الإنترنت باستخدام sshfs.
  • توجيه الأوامر: يعمل ضد خادم rsync بدون وجود خادم rsync عن طريق بدء واحد بنفسه عبر ssh.
  • تشغيله في ملفات الدفعة: يمكنني إعادة توجيه الناتج من الأمر البعيد واستخدامه في ملف الدفعة المحلي.
vi/vim .3 : هو أشهر وأقوى محرر نصوص، إنه عالمي، ويعمل بسرعة كبيرة، حتى على الملفات الكبيرة.
bash-completion .4 : يحتوي على عدد من قواعد الإكمال المُحددة مسبقًا للشل.

نصائح وحيل:
  1. البحث في سجل الأوامر باستخدام CTRL + R.
  2. popd/pushd وغيرها من الأوامر المدمجة في الشل التي تسمح لك بتلاعب في مكدس الدلائل.
  3. اختصارات لوحة المفاتيح للتحرير مثل CTRL + U، CTRL + E.
  4. سيتم توسيع الاختصارات تلقائيً CLI هو اختصار لواجهة سطر الأوامر أو مترجم لغة الأوامر. سطر الأوامر هو واحد من أقوى الطرق للتحكم في النظام / الكمبيوتر الخاص بك.
  5. في أنظمة Unix مثلها مثل أنظمة التشغيل الأخرى، تعتبر واجهة سطر الأوامر هي الواجهة التي يمكن للمستخدم أن يكتب فيها الأوامر لتنفيذها من قبل النظام. واجهة سطر الأوامر قوية جدًا، ولكنها ليست متسامحة جدًا مع الأخطاء.



السؤال الرابع :
?What is your favorite shell and why
BASH is my favorite. It’s really a preferential kind of thing, where I love the syntax and it just "clicks" for me. The input/output redirection syntax (>>, << 2>&1, 2>, 1>, etc) is similar to C++ which makes it easier for me to recognize.


I also like the ZSH shell, because is much more customizable than BASH. It has the Oh-My-Zsh framework, powerful context based tab completion, pattern matching/globbing on steroids, loadable modules and more.


Useful resources:

BASH هو المفضل لدي. إنه حقًا نوعًا من التفضيل، حيث أنني أحب بناء الجملة ويناسبني تمامًا. بالإضافة إلى ذلك، بناء الجملة لتوجيه الإدخال / الإخراج (>>, << 2>&1, 2>, 1>، إلخ) مشابه للغة C++ مما يجعله أسهل بالنسبة لي للتعرف عليه.
أيضًا، أحب القشرة ZSH، لأنها أكثر قابلية للتخصيص من BASH بكثير. لديها إطار Oh-My-Zsh، واكتمال تلقائي قوي قائم على السياق، وتطابق الأنماط / البحث الشامل المحسّن، ووحدات قابلة للتحميل وغير ذلك.




السؤال الخامس :
?How do you get help on the command line
  • man [commandname] can be used to see a description of a command (ex.: man less, man cat)​
  • -h or --help some programs will implement printing instructions when passed this parameter (ex.: python -h and python --help)​
يمكن استخدام "man [اسم الأمر]" لعرض وصف للأمر (مثال: man less، man cat).
-h أو --help يمكن استخدامها لبعض البرامج لطباعة التعليمات عند تمرير هذا البارامتر (مثال: python -h و python --help).




السؤال السادس:
.Your first 5 commands on a *nix server after login
  • w - a lot of great information in there with the server uptime​
  • top - you can see all running processes, then order them by CPU, memory utilization and more​
  • netstat - to know on what port and IP your server is listening on and what processes are using those​
  • df - reports the amount of available disk space being used by file systems​
  • history - tell you what was previously run by the user you are currently connected to​

Useful resources:​


  • w - هناك الكثير من المعلومات الرائعة فيها مع وقت تشغيل الخادم.
  • top - يمكنك رؤية جميع العمليات الجارية، ثم ترتيبها حسب استخدام وحدة المعالجة المركزية والذاكرة وأكثر من ذلك.
  • netstat - لمعرفة البورت وعنوان IP الذي يستمع إليه الخادم الخاص بك والعمليات التي تستخدمها.
  • df - يقوم بتقرير كمية المساحة المتاحة على القرص المستخدمة من قبل أنظمة الملفات.
  • history - يخبرك بما تم تشغيله سابقًا بواسطة المستخدم الذي تم الاتصال به حاليًا.



السؤال السابع :

?What do the fields in ls -al output mean
In the order of output:

-rwxrw-r-- 1 root root 2048 Jan 13 07:11 db.dump

file permissions,
number of links,
owner name,
owner group,
file size,
time of last modification,
file/directory name

File permissions is displayed as following:

first character is - or l or d, d indicates a directory, a - represents a file, l is a symlink (or soft link) - special type of file
three sets of characters, three times, indicating permissions for owner, group and other:
r = readable
w = writable
x = executable

In your example -rwxrw-r--, this means the line displayed is:

a regular file (displayed as -)
readable, writable and executable by owner (rwx)
readable, writable, but not executable by group (rw-)
readable but not writable or executable by other (r--)

Useful resources:

What do the fields in ls -al output mean? (original)​
في ترتيب الإخراج:
-rwxrw-r-- 1 root root 2048 Jan 13 07:11 db.dump


أذونات الملف:
الحرف الأول هو ( - ) أو ( l) أو (d )، حيث يشير d إلى دليل، و - يمثل ملفًا، و l هو رابط رمزي (أو رابط ناعم) - نوع خاص من الملف.
ثلاثة مجموعات من الأحرف، ثلاث مرات، تشير إلى الأذونات للمالك والمجموعة والآخرين:
r = قابل للقراءة
w = قابل للكتابة
x = قابل للتنفيذ

في المثال الخاص بك -rwxrw-r--، يعني ذلك أن السطر المعروض هو:
ملف عادي (يتم عرضه كـ -)
قابل للقراءة والكتابة والتنفيذ بواسطة المالك (rwx)
قابل للقراءة والكتابة، ولكن غير قابل للتنفيذ بواسطة المجموعة (rw-)




السؤال الثامن :
?How do you get a list of logged-in users
For a summary of logged-in users, including each login of a username, the terminal users are attached to, the date/time they logged in, and possibly the computer from which they are making the connection, enter:
# It uses /var/run/utmp and /var/log/wtmp files to get the details.
who

For extensive information, including username, terminal, IP number of the source computer, the time the login began, any idle time, process CPU cycles, job CPU cycles, and the currently running command, enter:

# It uses /var/run/utmp, and their processes /proc.
w

Also important for displays a list of last logged in users, enter:

# It uses /var/log/wtmp.
last

Useful resources:

للحصول على ملخص للمستخدمين المسجلين الذين تم تسجيل دخولهم، بما في ذلك كل تسجيل دخول لاسم المستخدم، وجهاز الطرفية الذي يتصلون به، وتاريخ / وقت تسجيل الدخول، وربما الكمبيوتر الذي يتم منه إجراء الاتصال، قم بإدخال:
يستخدم ملفات /var/run/utmp و /var/log/wtmp للحصول على التفاصيل.

للحصول على معلومات شاملة، بما في ذلك اسم المستخدم والطرفية وعنوان IP لجهاز الكمبيوتر المصدر، ووقت بدء تسجيل الدخول، وأي وقت فراغ، ودورات وحدة المعالجة المركزية للعملية، ودورات وحدة المعالجة المركزية للوظيفة، والأمر الحالي الذي يعمل، قم بإدخال:
يستخدم ملف /var/run/utmp وعملياتهم /proc.

أيضًا، مهم لعرض قائمة بالمستخدمين الذين سجلوا الدخول مؤخرًا، قم بإدخال:
يستخدم ملف /var/log/wtmp.



السؤال التاسع:
?What is the advantage of executing the running processes in the background? How can you do that
The most significant advantage of executing the running process in the background is that you can do any other task simultaneously while other processes are running in the background. So, more processes can be completed in the background while you are working on different processes. It can be achieved by adding a special character & at the end of the command.


Generally applications that take too long to execute and doesn't require user interaction are sent to background so that we can continue our work in terminal.


For example if you want to download something in background, you can:


wget https://url-to-download.com/download.tar.gz &



When you run the above command you get the following output:


[1] 2203



Here 1 is the serial number of job and 2203 is PID of the job.


You can see the jobs running in background using the following command:


jobs



When you execute job in background it give you a PID of job, you can kill the job running in background using the following command:


kill PID



Replace the PID with the PID of the job. If you have only one job running you can bring it to foreground using:


fg



If you have multiple jobs running in background you can bring any job in foreground using:


fg %#



Replace the # with serial number of the job.


Useful resources:

أكبر ميزة لتنفيذ العملية الجارية في الخلفية هي أنه يمكنك القيام بأي مهمة أخرى في الوقت نفسه بينما تعمل عمليات أخرى في الخلفية. بالتالي، يمكن إكمال المزيد من العمليات في الخلفية أثناء العمل على عمليات مختلفة. يمكن تحقيق ذلك عن طريق إضافة الحرف الخاص & في نهاية الأمر.

عمومًا، يتم إرسال التطبيقات التي تستغرق وقتًا طويلاً للتنفيذ ولا تتطلب تفاعل المستخدم إلى الخلفية حتى نتمكن من متابعة عملنا في الطرفية.
على سبيل المثال، إذا كنت ترغب في تنزيل شيء في الخلفية، يمكنك استخدام الأمر التالي:
wget https://url-to-download.com/download.tar.gz &

عند تشغيل الأمر أعلاه، ستحصل على الناتج التالي: [1] 2203

هنا 1 هو الرقم التسلسلي للوظيفة و 2203 هو معرف العملية (PID) للوظيفة.

يمكنك رؤية الوظائف التي تعمل في الخلفية باستخدام الأمر التالي:

jobs

عند تنفيذ العملية في الخلفية، ستحصل على معرف العملية (PID) للوظيفة، يمكنك إيقاف تشغيل الوظيفة التي تعمل في الخلفية باستخدام الأمر التالي:
kill PID

استبدل PID بمعرف العملية (PID) للوظيفة. إذا كانت هناك وظيفة واحدة فقط تعمل، يمكنك إعادتها إلى الواجهة الأمامية باستخدام:
fg

إذا كانت هناك عدة وظائف تعمل في الخلفية، يمكنك إحضار أي وظيفة إلى الواجهة الأمامية باستخدام:
fg %رقم_الوظيفة
استبدل # بالرقم التسلسلي للوظيفة.



السؤال العاشر :
Before you can manage processes, you must be able to identify them. Which tools will you use?
As a Linux system administrator, there are several tools that can be used to identify and manage processes. Some commonly used tools are:

1. ps: The "ps" command is a versatile tool that provides information about running processes on a Linux system. By executing "ps aux" or "ps -ef" command, you can obtain a list of currently running processes along with their process IDs (PIDs), CPU and memory usage, and other details.

2. top: The "top" command displays real-time information about system processes, resource usage, and CPU statistics. It provides an interactive interface where you can monitor the processes, sort them based on various criteria, and even send signals to control them.

3. htop: Similar to "top," "htop" is an interactive process viewer that provides a more user-friendly and feature-rich interface. It allows you to scroll through processes, kill them, and monitor system resources in a visually appealing way.

4. pstree: The "pstree" command displays running processes in a tree-like hierarchical structure, making it easier to visualize the relationships between parent and child processes.

5. pgrep: The "pgrep" command allows you to search for processes based on specific criteria such as process names, PIDs, or other attributes. It is particularly useful when you want to find processes that match a certain pattern.

These are just a few examples of tools commonly used to identify and manage processes on Linux systems. The choice of tool depends on the specific requirements and preferences of the system administrator.​
كمسؤول نظام لينكس، هناك العديد من الأدوات التي يمكن استخدامها لتحديد وإدارة العمليات. بعض الأدوات المستخدمة بشكل شائع هي:
  1. ps: الأمر "ps" هو أداة متعددة الاستخدامات توفر معلومات حول العمليات الجارية على نظام لينكس. من خلال تنفيذ الأمر "ps aux" أو "ps -ef"، يمكنك الحصول على قائمة بالعمليات الجارية حاليًا مع معرفات العملية (PIDs)، استخدام وحدة المعالجة المركزية والذاكرة، وتفاصيل أخرى.
  2. top: يعرض الأمر "top" معلومات في الوقت الحقيقي حول عمليات النظام، استخدام الموارد، وإحصاءات وحدة المعالجة المركزية. يوفر واجهة تفاعلية حيث يمكنك مراقبة العمليات، وترتيبها بناءً على معايير مختلفة، وحتى إرسال إشارات للتحكم فيها.
  3. htop: مشابه لـ "top"، "htop" هو عارض عمليات تفاعلي يوفر واجهة أكثر سهولة استخدامًا وتحتوي على مزايا أكثر. يتيح لك التمرير عبر العمليات، وإنهائها، ومراقبة موارد النظام بطريقة جذابة بصريًا.
  4. pstree: يعرض الأمر "pstree" العمليات الجارية في هيكل تسلسلي شبيه بشجرة، مما يسهل تصور العلاقات بين العمليات الأصلية والفرعية.
  5. pgrep: يسمح الأمر "pgrep" لك بالبحث عن العمليات بناءً على معايير محددة مثل أسماء العمليات، أو معرفات العملية، أو سمات أخرى. يكون مفيدًا بشكل خاص عندما ترغب في العثور على العمليات التي تتطابق مع نمط معين.
هذه أمثلة فقط على الأدوات المستخدمة بشكل شائع لتحديد وإدارة العمليات على أنظمة لينكس. اختيار الأداة يعتمد على المتطلبات وتفضيلات محددة لمسؤول النظام.


تمت الترجمة بواسطة ال ai , إذا وجدتم أخطاء بالترجمة يُرجى مراسلتي لتعديلها.
إن شاء الله بصير أنزل عن إدارة الأنظمة والأسئلة المتعلقة فيها كل فترة على شكل أجزاء.

المصدر

دمتم بخير.
 
التعديل الأخير بواسطة المشرف:
تسلم..
ترى بعد ما قرأت منشورك اجت ببالي فكرة
ليش ما انزل لينكس ك نظام اساسي واشطب الويندوز:D
واذا بدي استخدم التولز بنزل vmBox
ف اي نصيحة منك ممكن تفيد؟
فكرة بتجنن والله
اهم شي احتفظ بملفاتك المهمة ببارتشن لحاله
 
عودة
أعلى