Author Archives: Divyashree - The GNULINUX Guy

About Divyashree - The GNULINUX Guy

I am a Linux and Opensource enthusiast. I started working on Linux early in 2007 while I was doing my Masters in Computer Science and passed out in 2010. Currently working as a DevOps Developer in in Public/Private cloud domain. my @github : https://github.com/kumarprd my @nagiosexchange : https://exchange.nagios.org/directory/Owner/divyaimca/1 my @linkedin : https://www.linkedin.com/in/priyadarshee-kumar-☁-a9415615

parse expect_output in a variable : TCL Data Structure

Sometimes we have to automate our steps through expect, run some commands in remote machine and capture the output of a command in a variable and use that variable in some other task. So here is an example, how we … Continue reading

Posted in ARTICLES, DevOps, Programming, SCRIPTING, TIPS & T RICS | Tagged , , , | Leave a comment

python : trace line number with exception

In python we raise exception to catch if anything goes wrong, but sometime with try block we have multiple lines of code and we are not able to track which line exactly throwing the exception. There is way to catch … Continue reading

Posted in ARTICLES, Programming, SCRIPTING, TIPS & T RICS | Tagged , | Leave a comment

Docker Issue : devmapper: Thin Pool is less than minimum required, use dm.min_free_space option to change behavior

Sometime while we build docker images or do any docker operation we might encounter thinpool space issue. like this: devmapper: Thin Pool has 132480 free data blocks which is less than minimum required 163840 free data blocks. Create more free … Continue reading

Posted in ARTICLES, Container, DevOps | Tagged , , , | Leave a comment

ORA-12519: TNS:no appropriate service handler found

The number of database processes that can run in Oracle DB is set to 150 as default which can be viewed from v$resource_limit. select * from v$resource_limit where resource_name = ‘processes’; RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_ALLOCATION LIMIT_VALUE ————- ——————- ————— —————— … Continue reading

Posted in ARTICLES, HOWTO, SQL, TIPS & T RICS | Tagged , , | Leave a comment

pexpect alternative in python for remote connection

We generally use python pexpect module to connect system remotely with ssh and execute our tasks. But sometimes pexpect module is not found to be installed in remote systems which create problems. And this problem can be solved with the … Continue reading

Posted in ARTICLES, OperatingSystem, Operations, Programming, SCRIPTING | Tagged , , | Leave a comment

Accessing Host from Docker Container

Sometime we need to access the services that are running in the host machine to be accessible from the docker container.  e.g. In on of my project, we needed to connect to the oracle db (port 1521) from inside the … Continue reading

Posted in ARTICLES, Concepts, Container, FOSS, HOWTO, OperatingSystem, TIPS & T RICS | Tagged , , , , | Leave a comment

SNMP Poller tool to monitor any thing on network

Few years ago, I had created one SNMP Poller tool using perl and snmp utilites that can poll OID informations from any network devices, which is kind of passive monitoring mechanism. Thought to make it Opensource under GNU GPL. The … Continue reading

Posted in ARTICLES, FOSS, Monitoring, Programming, SCRIPTING | Tagged , , , , , | Leave a comment