Posted On: Feb 22, 2018
There are a number of ways to check for physical memory size on Linux. The popular ways are,
Free command: Type the free command to check the physical memory size.
free -b //gives the size in bytes free -k //gives the size in kilobytes free -m //gives the size in megabytes free -g //gives the size in gigabytes
Top command: The top command lists the physical memory information in a clear way.
Vmstat command: The vmstat (virtual memory stats) command with -s switch lists the memory in detail.
Never Miss an Articles from us.
The iNode in Linux is an entry table containing information about the regular file and directory. It can be viewed as a data structure that contains the metadata about the files. The following are the...
The fs put command is used to copy or upload a file from the local filesystem to the specific HDFS. Syntax fs put --from source_path_and_file --to dest_path_and_file ...
The steps in copying a local file to the HDFS.Create a new file in the local filesystem with any name such as test.txt in the folder /home/user/. Add some content to the file test.txt: echo "hell...