Sponsored Content
Top Forums Programming how to know the application run on which core, and run how many times on this core Post 302329457 by yanglei_fage on Sunday 28th of June 2009 03:47:51 AM
Old 06-28-2009
Hope admin delete this post, I will post a new one for my question

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

2. Shell Programming and Scripting

[bash] Run a program many times

Hi I'm running a program many times with differents input. I mean that i run my_prog with some parameters and i wait till the end, then i start again another simulations with some others differents parameters. Is possible to make it automatic with a script bash. Maybe i need some... (2 Replies)
Discussion started by: Dedalus
2 Replies

3. Programming

Core dump in the application

Hi, I am facing an issue with the core dump, i am not exactly able to figure out why and where i am getting it and how should i resolve it Please find the dbx run on the core reading symbolic information ... Segmentation fault in realloc_y at 0x900000000046980 ($t1) 0x900000000046980... (5 Replies)
Discussion started by: mad_man12
5 Replies

4. Shell Programming and Scripting

Shell script to run x times

Hi, First i need to cd to this directory $SWDIR/util Second i need to run the following either 4 times or 20 times ./swadm add_process 1 BG Y how can i put this in a script which should ask for user input on how many times you want to run this Thanks, (5 Replies)
Discussion started by: lookinginfo
5 Replies

5. Shell Programming and Scripting

Counting script how many times it run?

i should use this script runs how many times before ? how can i do_? (3 Replies)
Discussion started by: utoptas
3 Replies

6. Shell Programming and Scripting

Run .command at specific times

Okay so I've got a command to start my java server up, but I want it to start at say 8:00AM and then stop at 11:00PM. In order to stop it I have to type stop and press enter in the terminal. I've been trying to get this to work and I'm having no luck. Here's my command: #!/bin/bash cd "`dirname... (2 Replies)
Discussion started by: JustChillin1414
2 Replies

7. Ubuntu

How to run kernel functions in a separate core?

Hello Friends, I am using Ubundu. I want to know how to run kernel functions in a separate core? I know about Taskset and it supports only for the application. Do anybody know any command (or) have any idea about how to do it? Please help me Thank you (3 Replies)
Discussion started by: reksss
3 Replies

8. AIX

AIX core,cpu and application list

Hi All , I am trying to pull out below things from AIX machine (any type) 1. number of physical processor 2. number of logical processsors 3. Total number of processors (physical plus logical) 4. total number of cores 5. list of installed applications with versions and vendor name ... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

9. Solaris

Application not working in multi core platform

Hi, I have a multiprocess C application (used POSIX library for threads and fork() & exec for creating process) of millions of LOC. 1. Which works fine in single processor machine. 2. Which works fine in multicore machine only if one core is enabled. Problem is, which results an undefined... (2 Replies)
Discussion started by: sreejesh
2 Replies

10. Shell Programming and Scripting

Run a job between times else run later

Hi guys, I have written a script that waits for a trigger file. Then checks the time of the trigger. if the trigger finished between 8pm and midnight then runs a job. else it waits till 1am then runs a different job. I am still very new to scripting so any suggestions to improve my... (4 Replies)
Discussion started by: twinion
4 Replies
coreadm(2)							System Calls Manual							coreadm(2)

NAME
coreadm - application core file administration SYNOPSIS
DESCRIPTION
system call is used to specify the location and pattern for core files produced by abnormally terminating processes. See core(4). This system call can be used to specify a system wide location for core file placement and/or a process specific pattern. The structure, is used to specify a system wide or a per-process core file pattern and also specify the current system wide core file set- tings. is defined in the header Member Type Member Name Description char c_pattern The core file pattern. uint64_t c_flags Core file settings. Parameters is expected to be set to It is critical for future backward compatibility that the macro itself be used and not its value. is the core file pattern. A core file name pattern is a normal file system path name with embedded variables, specified with a leading character, that are expanded from values in effect when a core file is generated by the operating system. An expanded pattern length greater than will be truncated to The possible values are: c_flags is used to control the system wide core file settings. The flag values can be combination of Enable/Disable creation of global core files. Enable/Disable creation of per-process core files. Enable/Disable creation of global core files for processes. Enable/Disable creation of per-process core file for processes. If a flag value is not set, then the option is disabled. For per-process core file setting, c_flags can either be 0 or The former disables core file creation (for that process) and the latter enables it. c_pid Should be a (valid) pid of a target process or 0. If c_pid is zero, then the settings are applied to global core file settings. If c_pid is 1, then the settings are applied to init(1M). c_in If non-NULL, then the values will be used as new core file settings. If this is NULL, then the c_out parameter is expected to be non-NULL and system call is used to interrogate the current settings. c_out If non-NULL, the current settings are returned in this parameter. RETURN VALUE
Upon successful completion, returns 0. Otherwise, a value of -1 is returned and is set to indicate the error. ERRORS
fails and does not change the core file settings if the effective user-ID of the calling process is not a user having appropriate privileges. The input or output parameter passed to is an invalid address. The core file pattern or flags is invalid. The specified PID is non-zero and does not exist. EXAMPLES
1. Enable global core file creation using the pattern (core.process-ID.machine-name) in the location 2. Enable per-process core file pattern for the process-ID passed in as argument. The core file will be placed in The pattern is (core.process-ID.time-stamp). 3. Enable a per-process pattern of core.CUP-ID for all processes in the system (init(1M) core file setting). NOTE: This has to be run during system startup or reboot the machine after setting this for the settings to take full effect. SEE ALSO
coreadm(1M), exec(2), fork(2), pstat(2), ttrace(2), core(4). STANDARDS CONFORMANCE
coreadm(2)
All times are GMT -4. The time now is 07:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy