Sponsored Content
Top Forums Shell Programming and Scripting How to find the corresponding command for a existing PID? Post 302947275 by k_manimuthu on Wednesday 17th of June 2015 03:24:46 AM
Old 06-17-2015
I have a core file and i am trying to analyze with GDB.

I got the below output and want to know about which command used for the PID's

(gdb) core /opt/lampp/var/mysql/core.mysqld.9765
BFD: Warning: /opt/lampp/var/mysql/core.mysqld.9765 is truncated: expected core file size >= 5137190912, found: 104931328.
[New Thread 8600]
[New Thread 21224]
[New Thread 20966]
[New Thread 20961]
[New Thread 20870]
[New Thread 20802]
[New Thread 22497]
[New Thread 29685]
[New Thread 9787]
[New Thread 9786]
[New Thread 9785]
[New Thread 9784]
[New Thread 9783]
[New Thread 9782]
[New Thread 9781]
[New Thread 9780]
[New Thread 9779]
[New Thread 9778]
[New Thread 9776]
[New Thread 9775]
[New Thread 9774]
[New Thread 9773]
[New Thread 9772]
[New Thread 9771]
[New Thread 9770]
[New Thread 9769]
[New Thread 9768]
[New Thread 9767]
[New Thread 9765]
Core was generated by `./mysqld'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000031fac07638 in ?? ()
(gdb)
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find a hanging pid

I am trying to write a simple shell script to find a hanging pid and kill it.Any idea how to find a hanging pid?? (6 Replies)
Discussion started by: Ravi Kanth
6 Replies

2. UNIX for Advanced & Expert Users

Find PID's

I have a script which spawns multiple compilations. Sometimes due to some errors i have to terminate that script. Now comes the main part, how do I do that? I can see the individual compilations via ps -ef | grep compiler and also kill them via kill -9 pid But the scirpt continues: ... (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

3. HP-UX

To find pid from port number

Hi, I am working on HP-UX Release 11i. I want to find the process id (PID) of the process running on a particular port. lsof command fuser does not work on this system. Please suggest some alternative. Thanks (6 Replies)
Discussion started by: gmat
6 Replies

4. Shell Programming and Scripting

how to find only PID value

When I run ps -aef | grep aaa.exe it gives out put user 5091 5518 0 10:13:25 pts/1 0:00 grep aaa.exe user 4647 2479 0 09:26:31 ? 0:25 /kk/zzz/user/xxx/bin/aaa.exe user1 1111 2222 0 08:26:31 ? 0:25 /kk/zzz/user1/xxx/bin/aaa.exe I need Only PID value ie... (5 Replies)
Discussion started by: madhusmita
5 Replies

5. Shell Programming and Scripting

KSH 88 - Can I find the PID for an IP connection?

Hi, If I use this command netstat | grep "1268" it shows me all IP addresses connected via port 1268, which is half of what I want. I would like to be able to then map these against a PID on the system, and also thereby get the userid. I have done a couple of days google bashing but... (3 Replies)
Discussion started by: gcraill
3 Replies

6. Shell Programming and Scripting

Find PID for a process

I want to kill a process run by a user of another group. How do I do that..? (3 Replies)
Discussion started by: Haimanti
3 Replies

7. UNIX for Dummies Questions & Answers

Find PID for a port

Hi, I need to find the PID for a given port on the below system. HP-UX mymachine B.11.31 U ia64 3223107173 unlimited-user license How can I ? (4 Replies)
Discussion started by: mohtashims
4 Replies

8. HP-UX

Find port for Pid

Hi, Is this the most appropriate way of finding the listen port number given the pid is "16659" ? lsof -Pan -i tcp -i udp | grep 16659 | grep -i "listen"If so, how can I extract "7001" and assign it to a variable say myport=7001 from the below output which happens to be actual port number? ... (1 Reply)
Discussion started by: mohtashims
1 Replies

9. UNIX for Advanced & Expert Users

Find PID using a Port?

Hi, I do not have root user credentials nor do I have the functional id of the process that uses port 80. How can I find the pid of the process using the port number 80 ? Operating System: Linux (6 Replies)
Discussion started by: mohtashims
6 Replies
WORKER(3)								 1								 WORKER(3)

The Worker class

INTRODUCTION
Worker Threads have a persistent context, as such should be used over Threads in most cases. When a Worker is started, the run method will be executed, but the Thread will not leave until one of the following conditions are met: othe Worker goes out of scope (no more references remain) othe programmer calls shutdown othe script dies This means the programmer can reuse the context throughout execution; placing objects on the stack of the Worker will cause the Worker to execute the stacked objects run method. Warning The programmer must retain references to stacked objects until they are executed or unstacked; the Pool class provides a higher level abstraction of the Worker functionality and manages references for the programmer. CLASS SYNOPSIS
Worker Workerextends ThreadTraversableCountableArrayAccess Methods o public integer Worker::getStacked (void ) o public boolean Worker::isShutdown (void ) o public boolean Worker::isWorking (void ) o public boolean Worker::shutdown (void ) o public integer Worker::stack (Threaded &$work) o public integer Worker::unstack ([Threaded &$work]) Inherited methods o public void Thread::detach (void ) o public integer Thread::getCreatorId (void ) o publicstatic Thread Thread::getCurrentThread (void ) o publicstatic integer Thread::getCurrentThreadId (void ) o public integer Thread::getThreadId (void ) o publicstatic mixed Thread::globally (void ) o public boolean Thread::isJoined (void ) o public boolean Thread::isStarted (void ) o public boolean Thread::join (void ) o public void Thread::kill (void ) o public boolean Thread::start ([integer $options]) PHP Documentation Group WORKER(3)
All times are GMT -4. The time now is 04:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy