In Ubuntu it is possible to start a process in a specified core using taskset command (taskset 0 myproc it will execute myproc in core 0).
It won't. You should actually run
to bind your process to core #0.
Quote:
I know it is possible a process(pid) can bind to a core using pbind. But my requirement is to start a process in a specified core.
How it is possible in Solaris?
You can still use pbind. Just wrap your command with a script that bind itself to the required core then execute the command. As a processor binding is inherited, that would fulfill the requirement. eg:
Beware that achenle's processor set suggestion (psrset) is about exclusive processor binding while both Linux taskset and Solaris pbind create non-exclusive binding, i.e. the processor can still be used by other processes. This might not be what you expect.
Hi All,
I need a help. I need to know:
1. the individual core id, physical id of a running process on multicore inside a program. The system file /proc/cpuinfo shows all the ids of all the processes. But I need to know runtime, what exact core id and physical id , the running process has.... (0 Replies)
Hello All
Is it possible to disable a specific process from core dumping ?
In my environment I have 2 bespoke application processes which needs to be stopped from core dumping but any other process should be allowed to core dump.
If I do : coreadm -d process it will stop all per processes... (3 Replies)
We have an application that terminates with segmentation violation errors in the logs. No source code is available since this is a third party software that is way past its maintenance life cycle. Under these circumstances is there a way to force a core dump of the process for further analysis??
... (3 Replies)
Hi all,
I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A... (10 Replies)
Hi all.
Sorry to express my questions wrongly in my early post,I repost my question again here.
My pc has dual core, I wirte an application with two process, parents process and child process.
My quetion is
how to realize :if the child process is on core 0,it will tell me I'm on core 0,if it... (1 Reply)
What I need to learn is how to use a script that launches background processes, and then kills those processes as needed.
The script successfully launches the script. But how do I check to see if the job exists before I kill it?
I know my problem is mostly failure to understand parameter... (4 Replies)
Hello
Im using redhat and try to debug my application , its crashes and in strace I also see it has problems , but I can't see any core dump
I configured all the limit ( im using .cshrc ) and it looks like this :
cputime unlimited
filesize unlimited
datasize unlimited... (8 Replies)
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)
Hello All,
I am new joiner of this forum.I am new to Linux shell scripting.
At present I have identified 1 application which stalls very frequently (PID is say xyz) and I am not having much information in its application log to identify the root cause of stalling. I need to take the core dump... (19 Replies)