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: Linux
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 […]
Linux Networking commands
– ifconfig : This utility is used to check the IP address assigned to each of the ethernet/interface : # ifconfig eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 inet6 fe80::42:a2ff:fecb:2ba0 prefixlen 64 scopeid 0x20<link> ether 02:42:a2:cb:2b:a0 txqueuelen 0 (Ethernet) RX […]