LINUX-10 basic Commands view memory usage-free,history,who,last

Source: Internet
Author: User
Tags system log

The free command shows how much memory is being used in the current system in the following format: Free[-m/-g]

Displays the current memory usage in units of M

[Email protected]/]# free-m

Total amount of memory consumed the amount of memory that the process shares in the memory volume of the disk cache Cache

Who commands to view the number of users currently logged into the system

Last command to view all system log-in record formats: last[parameters]

History command to view all executed commands in the system

The history is saved to the ". Bash_history" file in the user's home directory; Files beginning with (.) in Linux represent hidden files, usually system files; ~ Indicates home directory

Empty All command history that the user has performed on this computer:

[Email protected]/]# history-c

LINUX-10 basic Commands view memory usage-free,history,who,last

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.