Custom Search

Sunday, May 15, 2016

How to take core dump of a running process

1)
Method-1

$ gdb --pid=26426
(gdb) gcore
Saved corefile core.26426
(gdb) detach

2)
Method-2

$gcore pid_of_running_process
$gcore pid_of_running_process -o core_dump_file

3)
Method-3

* You can send signals which has action=core to the running process to take core dump.

$kill [signal] [pid]
Example:
$kill -SIGQUIT process_id




Monday, May 9, 2016

Vagrant Installation on Ubuntu

1)
Install vagrant >= 1.5

2)
$vagrant init ubuntu/trusty64

3)
Check config file
$vim Vagrantfile

4)
$vagrant box list

5)
$vagrant up --provider virtualbox

6)
Check config file change
$vim Vagrantfile





Monday, May 2, 2016

python install tl.testing

$pip show tl.testing

$wget https://pypi.python.org/packages/98/ec/12706c6c6dd9a2635857ac9a27550b38b96c1662ca5f4eae21ea3fe96804/tl.testing-0.5.tar.gz

$pip show manuel

$wget https://pypi.python.org/packages/61/f1/010200691df26b5eb55180c75ef904b6ea19f66057b81838b02f8400fe33/manuel-1.8.0.tar.gz