Is there any command, or any simpler way to get the full list of all descendant processes?

8 Answers

ActiveOldestVotes20

The following is somewhat simpler, and has the added advantage of ignoring numbers in the command names:

                                                                              pstree -p $pid | grep -o '([0-9]\+)' | grep -o '[0-9]\+'

Or with Perl:

                                                                              pstree -p $pid | perl -ne 'print "$1\n" while /\((\d+)\)/g'

We’re looking for numbers within parentheses so that we don’t, for example, give 2 as a child process when we run across gif2png(3012). But if the command name contains a parenthesized number, all bets are off. There’s only so far text processing can take you.

So I also think that process groups are the way to go. If you’d like to have a process run in its own process group, you can use the ‘pgrphack’ tool from the Debian package ‘daemontools’:

                                                                              pgrphack my_command args

Or you could again turn to Perl:

                                                                              perl -e 'setpgid or die; exec { $ARGV[0] } @ARGV;' my_command args

The only caveat here is that process groups do not nest, so if some process is creating its own process groups, its subprocesses will no longer be in the group that you created.ShareImprove this answerFollowanswered Jul 14 ’13 at 19:01Jander14.7k55 gold badges4343 silver badges6565 bronze badges

This song, ‘Shine, Shine’ was written back a few years ago and refined several times. I played all the instruments and programmed the ones I don’t know how to play (horns). I always was proud of the way this song came out. This will be the first cut on my new instrumental album.

Here’s a video that goes with this song.

I worked on the song, completely revising it with new guitars and bass. It was a blast looking at this old video of our dog Rudy through the years. He’s now 10 and still acts like a pup, albeit a little slower and one tooth less.

My son helped me set up his video server at home and connect it to use my phone as a camera.

In my back yard, a robin built a nest under my picnic table. I set up the phone to capture the videos that you can see below.

I included my version of Blackbird as the music accompaniment. It wasn’t long enough, so I added in a reversed section in the middle to space it out.

You can see close to the end that one of the robins was none too happy with the phone capturing his actions. He gives it the evil eye and then flies into it.

This is my version of the song Because from the Beatles Abbey Road album. It is accompanied by some pictures from the Abbey Road sessions. I play the instruments and do some vocal work on this. @kiwichrys helps out on vocals.

This is from the Private Lightning album released in the early 80s. I play bass on this. The picture is three band members on top of the volcano on the island of Montserrat where we recorded.

Another Private Lightning song – I’m on bass guitar. The picture is the drum setup in the studio that was used on this song and the rest of the album. Recorded at AIR studios in Montserrat (before it was destroyed by a hurricane).

Another track from the Private Lightning album. Thriller is cut three. I finally got tired of listening to all of the problems caused in the production of this album. Here is a much better version.

This is a song that developed from a keyboard pounding session at 3 in the morning when I was in my 20s and fairly inebriated. Fortunately I pressed record on the old cassette player. I found it years later and have been developing it further ever since.

I wanted to make it about a serial killer, how he developed into such. This was based on a book I read back then called By Reason of Insanity. The main character, Thomas Bishop, thought that Caryl Chessman was his real dad because his mom got raped up on lover’s lane.

Anyway, I never got around to writing the lyrics. I tried, but they just wouldn’t come. Maybe I will try again at some time.

But for now, here it is.

I posted this content onto the Cakewalk blog after I saw a question about it – thought I should make it available to anyone who might be interested.

This demonstrates Cakewalk’s ability to determine a tempo map from an existing track. (It usually does an OK job but most of the time needs edits. It’s a somewhat tedious process but pays off in the long run. Once you get used to it, it goes pretty quickly. So without any further ado, here are the steps I use.

– Get a recording of a song you may like to cover.  mp3,wav,whatever can be imported into Cakewalk. Select a track and do a File->Import.

– Once the track is in Cakewalk, check out the start of the file, cut out anything at the beginning that is before the song actually starts.  In this image I am about to delete the quiet part and move the rest of the track over to the left to the zero position.

image.png.bdef959de0fe49e3aac2089eaea49433.png

Now if you select the track and hold down the shift key and the left mouse button while dragging up to the topmost bar (it will change color when you have done it), then release, Cakewalk will calculate the tempo map from the file.  It may take a while to complete.  Often it is not perfect.  You can go into the tempo map to edit it as much as you want.  This is the time consuming part, but it is worth it if you want to record and line up other tracks with it.

image.png.a2514d076166c853bf8333efd78297aa.png

Click on Views->Tempo to open up a graphic of the tempo map.  Then you can use the mouse to move the numbers pane to the right and expose the chart.

image.png.5731357f877d4f8514c70f887ba00900.png

You can use the + and – horizontal and vertical magnifying glasses to size the chart appropriately.  Beats per minute is to the left.

image.thumb.png.848cc5e28b08d1fb336bf08fa2322998.png

This is where the time consuming part comes in. I turn on the metronome and look at the audio waveform to find out where the major beats are.  Here the audio is slightly after the beat. 

image.png.c858b83a001d5cc3b342adf460eadedb.png

To correct something like this, you can actually hold the mouse button down and pull the tempo map line down before the cursor.

image.png.b84237adc145b7286f830e2372c964c5.png
image.png.344b4552d82be27d06cac92138809e01.png

Like I say, it takes some time to get it right, but if you do it a few times, you get used to it.  Once you adjust it, you can use all of the midi tools to line things up close to the grid for any other midi tracks you will add, and you can also adjust the audio on any tracks where needed.

This is my cover of a great Paul Simon song from his 1986 album Graceland. It was the fifth single released. I was completely surprised that I didn’t know (until now) that it was Linda Ronstadt singing the female harmony. On my version, @kiwichrys from Bandlab does the honors.

I am not sure if this is new in Melodyne or whether Cakewalk now imports more information.

From what I can remember I have never had access to the frequency bar graph except when using Melodyne Studio as a standalone.

This snapshot is of an instance of Melodyne applied to a clip.

You can see the bar graph at the bottom. You can select frequency ranges and boost or lower them. Here I select some high frequencies and anticipate boosting them a little. You can listen to the differences in real time and watch the frequency components bounce up and down.

Here’s a jazzy metal song, a collab between Plop @backontrack, Steve @steve2k2 and @the_m_project. Plop and @the_m_project shared in the song parts and in solos but he built the melody and @the_m_project mirrored it while I played bass and mastered the mix.

This is a trick I use often and I thought you might find useful.

The Sonitus Compressor that comes free with Cakewalk is the most clear  picture of what each of the compressor parameters do in my opinion.

Here you see a spike in a clip.  I put the compressor on this and set the attack time at zero so it gets activated right away.  I set the release to 1ms because I want it to stop acting really quickly.  I just want to blunt the peak.

The two gauges on the left (input) show you the signal level.  Here in this snapshot you can see I just passed the peak when I took this snap shot, but it was captured as two green lines where the peak was.  I set the little pull down button just below the peaks (here about -10 db).  I set the Ratio at 3:1 and the knee to hard, which you can see on the nice graph.  I set the limiter on as well.

Now, the peak will be reduced.  You may need to adjust the Attack time and the Release time depending on the peak you want to cut.

I’ve used the Sonitus Compressor for over 30 years and it never fails me.

For this version of the Gloria Estefan song, Madame Z adds her vocal. Check out her new album release, produced by Baselines Designs https://baselines.com/?p=5629 – All of the music and other vocals are done by Steve Schreiber, except the marimba, which I added. Bandlab is wonderful!

July 1, 2020 source: Album Reviews

Madame Z has released her long awaited album, Down the Rabbit Hole

Here are some of the recent reviews:

Madame Z – “Down The Rabbit Hole” is a stunning record! – Tuneloud

Madame Z Takes Us ‘Down The Rabbit Hole’  – Indie Band Guru

Perhaps one of 2020’s most eclectic, versatile and uninhibited creative artists…” -Stereo Stickman

As the title implies, Down The Rabbit Hole is no ordinary adventure.  And that’s a damn good thing!” -Sleeping Bag Studios

Resiliently spunky. Charmingly unpredictable. Sultry yet boundaried.” -The Ark of Music

She has a very kaleidoscopic approach, charming the audience with her unique combination of different genres, paving the way to a unique and personal sound.” -Bandcamp Diaries

This is a narrative rich album filled with soul and a kind of controlled rage that sears the surface of the story being told.” -Amanda Nargi, author

Listen on your favorite platform.