How to get HBA WWPN on Linux is a common task for a storage engineer. We need the WWPN to configure zone on the switch side.We will look at this question today. In our SAN environment, we have two HBAs installed on the Linux system. We can get the HBA WWN/WWPN using the following way …
Linux
On Linux disk SCSI ID uniquely identifies each SCSI device on the SCSI bus. A unique SCSI ID is generated when a scsi disk is added to Linux system. SCSI ID can be used for representing a disk in the configuration file because the disk name like sda sdb sdc may change after a server …
How to open a port on Linux is a common question when testing a firewall-related problem. In this article, we will use nc command and Python code to open a TCP port manually on Linux and check if this port is working or not. Methods to open a port in Linux The following Linux commands …
Tcpdump is a very powerful Linux command to capture packets. We collect the following tcpdump command examples to help you quickly filter the packets you need. How to filter ipv6 ntp ping packets with tcpdump? Filter packets larger than the MTU # tcpdump -i eth0 greater 1500 Filter ping packets # tcpdump -s0 -i eth0 …
How to list MAC address on Linux is a commonly asked question during a Linux job interview. Here are some methods to get the MAC address. These commands are safe to run without changing anything. The following commands can get you the MAC address of your network interface in Linux. ifconfig -a ifconfig eth0 ip …
Linux Performance is an important task for Linux admins. Irqbalance is a command-line tool that distributes hardware interrupts across processors to improve system performance. We will cover irqbalance service today to see why we can get better network and storage performance by enabling it. What is irqbalance? Irqbalance is a daemon to help balance the …
Linux is a multi-user system. It is always important to know who has logged into your Linux box. This isn’t just to help track the activities of malicious users, but mostly to figure out who made the mistake that crashed the system. We collect 6 Linux commands for this task. The following Linux commands can …
Checking remote port status is a common task for Linux admin. Now we collect 6 different ways for this task. We don’t need to install any package if we use the following two python commands. We need to install the package if we choose nc, nmap,telnet. Methods to check if a remote port is open …
Pip is the package installer for Python. We can use pip to install packages that are not distributed as part of the standard library from the Python Package Index and other indexes. How to install Pip on Linux? How to install & remove a python package with Pip Install a python package with a specific …
DHCP is a network protocol used on IP networks where a DHCP server automatically assigns an IP address and other information to each host on the network. We can use tcpdump command to filter DHCP packets. How DHCP Works? DHCP operations fall into four phases: server discovery, IP lease offer, IP lease request, and IP …