Infrastructure at your Service

Linux Archives - Page 4 of 4 - Blog dbi services

Joël Cattin

OTN Appreciation Day : OSWatcher Black Box Analyzer (OSWBBA)

By | Operation systems | No Comments

Following my last blog post about OSWatcher, I will present in this one OSWatcher Black Box Analyzer (OSWBBA), which is the tool that you can use to display graphically the data collected by OSWBB. This tool is a Java utility and exists since OSWatcher version 4.0.0. It permits to create graphs and complete HTML reports containing collected OS statistics.   OSWBBA require no installation. It is embedded in the OSWatcher home directory. To start the…

 
Read More
Joël Cattin

OTN Appreciation Day : OSWatcher Black Box (OSWBB)

By | Operation systems | No Comments

In this post, I will present a usefull and easy-to-use Oracle tool : OSWatcher. What is it ? OSWatcher Black Box (OSWBB), for its full name, is a free Oracle Tool which will help you to diagnose performance issues on the OS side. Of course, it will not solve the issue for you, but it gives a system health state at a given moment. OSWBB is multi-platforms supported (AIX, Solaris, HP-UX, Linux and Windows) and…

 
Read More
Daniel Westermann

Running PostgreSQL on ZFS on Linux

By | Database Administration & Monitoring | No Comments

ZFS for Solaris is around for several years now (since 2015). But there is also a project called OpenZFS which makes ZFS available on other operating systems. For Linux the announcement for ZFS being production ready was back in 2013. So why not run PostgreSQL on it? ZFS provides many cool features including compression, snapshots and build in volume management. Lets give it a try and do an initial setup. More details will follow in…

 
Read More
William Sescu

List usernames instead of uids with the ps command for long usernames

By | Database management, Operation systems | No Comments

Have your ever faced such a situation. You have usernames in your /etc/passwd file with more than 8 characters. This is no problem for Linux at all, usernames may be up to 32 characters long, only your ps output might look a little scrambled. It shows you the uid instead of the username like in the following example: $ id uid=20001(longuser01) gid=10002(oinstall) groups=10002(oinstall) $ sleep 1000000 & $ ps -ef | grep sleep | grep…

 
Read More
William Sescu

How to do a Filesystem Resize (ext3/ext4) on Redhat running on VMware

By | Database Administration & Monitoring, Operation systems | No Comments

A filesystem resize can be done in several ways, online, offline, with LVM2 or without LVM2.  However, this blog will describe how to do an online resize of ext3/ext4 filesystems where a virtual disk (vmdk) is online added to a VMware Redhat guest OS. So let’s start with the online filesystem resize of ext3/4 filesystems on the Redhat guest OS.  A new virutal disk (preferably an eagerd zero thick on VM running Oracle) was added…

 
Read More
Pierre Ochsenbein

LVM : How to extend a Volume Group

By | Database Administration & Monitoring | No Comments

In this article we’ll going to explore on how to extend a partition which resides in a Logical Volume. LVM (Logical Volume Manager) is a great tool for managing your storage devices on a Linux host. Lets start with some vocabulary. In the order of the lowest layer (hard disks) towards the highest layer (the file system): Your hard disks cabled in the waiter or in a SAN Physical Volume: these are the hard disks,…

 
Read More
Georges Grey

Mail mit Format und Priorität aus Linux

By | Operation systems | No Comments

Ausgangslage Ein Kunde hat mit kürzlich danach gefragt, wie ich den Output eines Scripts auf einer Linuxplattform per Mail sauber formatiert versenden kann. Als Beispiel nehmen wir folgendes: ____________________________________________________________________________________________________________________ File System free space on fed22v1.localdomain ____________________________________________________________________________________________________________________ | | | Mb-Total Mb-Free 0% 20% 40% 60% 80% 100% | | / : 17918 16263 #####—-+———+———+———+———+ 10% | | /boot : 476 326 #############——+———+———+———+ 27% | | /dev : 479 479 +——–+———+———+———+———+ 0% | | /dev/shm :…

 
Read More