8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I use top -H -p 1256 to show process 1256, and then press "f" then press "j" to display it is running on which core, is there a better mothed, I want to be automated to get this (1 Reply)
Discussion started by: yanglei_fage
2. UNIX for Dummies Questions & Answers
i want to know a difference between process and thread,give a program to tell the difference (2 Replies)
Discussion started by: annapurna konga
3. Shell Programming and Scripting
I have a log file in which there are plenty of threads. i want to count the number of unique threads.Here thread is tid value.
My Logfile looks like this--
Wed May 20 05:22:53.993 2009 Morocco Standard Time INFO: pid 2172 tid 688: 17: 10106931:... (9 Replies)
Discussion started by: namishtiwari
How do I run a process from a C++ p_thread and obtain its PID? Right now I am doing in a p_thread:
and into the main function (after running the thread mentioned before):
sleep(5); //Just to be sure that the thread is executing the ampl command
system("ps... (1 Reply)
Discussion started by: riccollado
5. UNIX for Advanced & Expert Users
I would like to know how to hook up an xterm to another process.
Here is a high level view of what I am looking for
1. Main program starts
2. It creates an new xterm window
3. It then forks a second process & passes the xterm handle to it
4. The second process uses the second... (4 Replies)
Discussion started by: RipClaw
6. Shell Programming and Scripting
im trying to build small script in tcsh that will monitor some process
that are making some api calles to some server .
first of all im trying to find way to see how many threads each process is using , and else how can i print each
Thread id .
can it be done ? ( using sunOs ) (2 Replies)
Discussion started by: umen
I am running a multithreaded program which creates 10 threads and works away.
However, when I use top to monitor my program whilst it is running, it only shows 4 under the thread count!
Can anyone explain if this is in fact the number of threads running in my process... (0 Replies)
Discussion started by: supahoop
Can some one tell how to read the thread IDs of the current process in Sun Solaris.
Any help will be appreciated.
Murali (0 Replies)
Discussion started by: hmurali