There are various tools available which can be used to check and troubleshoot memory usage on a Linux/Ubuntu/Photon OS machines. I have tried listed few of them here. Please note all of the command line tools have the same source: the proc/meminfo virtual file. – top :- The top command is useful to check live/real time memory […]
Category: Unix
Post related to only unix
Install a Debian (Ubuntu) package
To install a downloaded Debian (Ubuntu) package (.deb) :- # sudo dpkg -i packagename.deb # sudo dpkg -i /home/jay/Downloads/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb Selecting previously unselected package net-tools. (Reading database … 197399 files and directories currently installed.) Preparing to unpack …/net-tools_1.60+git20181103.0eebece-1ubuntu5_amd64.deb … Unpacking net-tools (1.60+git20181103.0eebece-1ubuntu5) … Setting up net-tools (1.60+git20181103.0eebece-1ubuntu5) … Processing triggers for man-db (2.10.2-1) … # To […]
All you need to know about User Management in Linux
A group is a set of users to whom a name is assigned. For example, group of ‘students’, ’employees’, ‘actors’, ‘developers’. A user can be part of one or multiple groups. In unix, all users are part of at least one group, called the user’s primary group. – /etc/passwd file :- In unix you will […]
Read More “All you need to know about User Management in Linux”
Networking Performance Troubleshooting in Linux
– ping : This command is used to test network connectivity. It sends a 32 bytes ICMP (Internet Control Message Protocol) packet to the destination host. If the destination host is unreachable due to any issue, you will notice packet loss. ping is also used to check the network latency as it shows the RTT(Round Trip […]
File system hierarchy in Linux
In Unix/Linux everything is organized in the form of files, whether it’s devices, directories, files, etc. A file is a smallest unit in which the information is stored. Directories and their usage – / The file system root. /root The home directory of the root user. The root user’s home directory is located outside […]