Friday, August 4, 2017

How long the process is running ?

How long the process is running ?

ps -o etime= -p  <pid of process>

# ps -o etime= -p 15245

Where 15245 is PID of the process we want to check.
it's running for past 26 seconds.

Wednesday, August 2, 2017

thunderbird tip - avoid double spacing

While using Thunderbird mail client, it uses "Double space" instead of single space ( not sure how I ended up like this).

The issue is selecting paragraph as default..if you select "Body text" it will be single space.

To make this default, carry out below:

  1. Go to the main Thunderbird window and select the following from the menu bar -Tools > Options > Composition > General tab,
  2. Uncheck the box that says "when using paragraph format, pressing the enter key creates a new paragraph'.