Linux Code
Linux Code
There are many versions of top command which might be used in the later
stage.
NOTE: To exit/quit out of top command, press ‘q’.
2. vmstat
It gives the details about the virtual memory. Usually, a system starts using
virtual memory when it runs out of physical memory. As the size of physical
memory is limited, virtual memory is always required. The screenshot attached
below gives the details of the results obtained after the execution of vmstat
command.
4. Using renice
Syntax: renice new_priority_value PID
Experiment-5
Syntax: su user-name
su Namm
Then, it’d ask you to enter the password for the newly
created user.
su: su stands for switch user in this case
To exit out of this user. Type exit.