Finding the amount of used memory by each process in Solaris

What is VSZ memory? VSZ is short for Virtual Memory Size. It’s the total amount of memory a process may hypothetically access. ### fill out required <UserName> in following command to find the amount of used memory by each process. ### Output is in Kilobyte. for i in ps -aef | grep -i <UserName> | … Read more

Public Yum Server for Oracle Linux 6,7

There is no yum repository in Oracle Linux after installation, so it’s necessary to set it in order to update the system with yum command. Oracle provides public yum server and we can use it for free to set. ⇒ Public Yum Server : http://public-yum.oracle.com/ ### Download repository file [root@testos ~]# cd /etc/yum.repos.d/ ### Oracle … Read more

Configure Static IP Address on Solaris11

//Check current ip configuration status # dladm show-phys # ipadm show-if # ipadm show-addr //Check the interfaces name # dladm show-phys — output Example —LINK MEDIA STATE SPEED DUPLEX DEVICEnet0 Ethernet up 1000 full e1000g0 –> Attentiom to this linenet1 Ethernet unknown 0 unknown pcn0 =============================================================================================== # ipadm create-ip net0 //Check status # ipadm show-if … Read more

Generate Random Password in Linux and Solaris CLI (pwgen)

According to pwgen man page, “the pwgen program generates passwords which are designed to be easily memorized by humans, while being as secure as possible.” It returns multiple password options that meet the criteria you provide so that you can select the one that you prefer. ### Install pwgen On RHEL/CentOS Linux, you can install … Read more

Installing Oracle Recommended OS Patchset(10_Recommended) for Solaris 10

The Recommended OS Patchset Solaris 10 provides the minimum set of patches needed to address security and Sun Alert issues, and selected issues identified by Oracle Proactive Services and the Oracle Technical Support Center, for the Solaris 10 Operating System for sparc. The patches contained in this patchset are considered the most important and highly … Read more

How to Move IP Configuration From One Network Device to Another Device in Solaris

Use the following procedure if you need to preserve the IP configuration that is associated with one network device and then move that configuration to another network device. You might perform this procedure as a prelude to removing a network card from the system or when changing a network cable connection. For example purposes only, … Read more

How to Copy Directory Structure Without Files in Unix and Linux

In some scenarios, you might want to mimic a certain directory structure that already exists maybe for your personal projects or for a files storage system just because that directory structure makes perfect sense and might require a lot of time to completely recreate it from scratch. Following is the cool way of copying a … Read more

Reactivate RAID Volumes from Sun Oracle ILOM (T&X Server Series)

NOTICE: Only perform this task if your system had RAID volumes prior to replacing the motherboard. Problem & Error : boot command is failed and Can’t open boot device. {0} ok boot ERROR: boot-read fail Boot device: disk:d File and args: Can’t open boot device -> set /HOST/bootmode script=”setenv auto-boot? false” 3. Power on the … Read more

How to link Oracle DB(RMAN) with NetBackup on Unix/Linux

Problem:NetBackup introduces support for Oracle DB on the Unix/Linux platform, but the oracle_link script that is provided with the install fails to create the needed symbolic links between the Oracle installation directory and the NetBackup installation directory. Error Message:If the oracle_link script is executed, it will display a message similar to the following and backups … Read more

DellEMC PowerPath powermt Command Examples – Display, Check, Remove, Config, Restore

For installing and configuring DellEMC PowerPath in Linux OS, please refer to How To Install and Configure DellEMC PowerPath on Linux. If your server has two HBA cards connected to DellEMC SAN storage device, you can implement load-balancing, and fail-over on the HBA cards using the DellEMC PowerPath software. DellEMC Powermt management utility helps you … Read more