![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running shell commands from C/C++ | alirezan | High Level Programming | 2 | 08-20-2008 02:57 AM |
| Running a queued set of commands? | jjinno | Shell Programming and Scripting | 1 | 04-25-2008 12:27 AM |
| Running UNIX Commands from C | zainab | High Level Programming | 2 | 04-14-2008 08:35 PM |
| How to disable running commands from vi | Umesh_Sharoff | Shell Programming and Scripting | 1 | 07-14-2006 09:05 AM |
| running commands from script | owijust | Shell Programming and Scripting | 2 | 01-09-2006 03:12 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to identify running threads using commands
Dear All,
I am developing one project using QT Designer 3.3.5. In my project contain 27-pthreads and 5-RT Task. how to i know how many threads are currently running in my application using linux command. I was try ps -ef , but it doesn't show the threads. kindly help me with is regards. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
lsof command shows you current opened files and threads.
Code:
lsof |
|
#3
|
|||
|
|||
|
If you on GNU/Linux "ps-eLf" will shown information about threads
|
|
#4
|
|||
|
|||
|
it is good for you know the source as well by netstat -na
ps -ef works with pipe or | just to show u application that currently running eg: ps -ef | grep "processname" or you can do this: ps -u "yourid" eg: ps -u root |
|||
| Google The UNIX and Linux Forums |