Tag: bash library

Video: View running processes and their children

Video: View running processes and their children

I’ve created a tool/library function using bash for monitoring parallel processes managed by shell scripts in a linux environment. In the video I cover how to download the library to your environment, and demonstrate using it to build trees of processes (and their child processes) which aide in monitoring what is happening on a server at a point in time.

View running processes and their children

View running processes and their children

When using bash, ps is a very powerful tool for viewing running processes. I have built a script/library for manipulating its output to create trees for either running shell scripts, or user sessions. This allows me to see who is doing/executing what on a linux host at a point in time. Continuing with some of…

Read More Read More

Iterating Dates On The bash Command Line

Iterating Dates On The bash Command Line

Sometimes I want to run a shell script or command for a series of dates, so I have created a bash library function which takes a start date and an end date, and iterates over the dates passing each date to another command/script. This is moving away from SQL/Database specific content. Much of what I…

Read More Read More