Skip to content

Posts

Kill process by search string

In Linux, you can kill all processes by name (or by username etc) using something like this:

kill -9 $(ps aux | grep 'some_process_name' | awk '{print $2}')

3D rendering in the Google Cloud

Guest blogging for Google!

As a small design and visualization studio, we focus on creating beautiful 3D imagery – be it high-resolution product images or TV commercials. To successfully do this, we need to ensure we have access to enough rendering power, and at times, we find ourselves in a situation where our in-house render farm’s capacity isn’t cutting it. That’s where Google Compute Engine comes in.

Read more over at the Google Cloud Platform blog.

Copying Maya to network share

If you would like to run a thin client installation of Maya, which means you run it off a network share rather from a local installation, you need to make sure to copy symlinks on Linux.

Find file or folder in Linux

Ever needed to do a simple search for an application, a file or a folder in Linux and when whereis doesn’t return anything useful?

sudo find / -name "some_folder"

Run gsutil from crontab

Setting up gsutil to sync files over to Google Cloud Storage (on CentOS 6) requires some environment variables to be set, which seems oddly undocumented at the moment. Turning to Stackoverflow was the solution, and here’s a summary from that.

What's hogging that folder?

Well, at least in Linux you might find out using this command:

lsof <folder name>