I have to suggest that we turn HTML back off. The problem is that angle brackets are used in code and this is causing stuff to get dropped from posts.
I know that we can use the constructs that PxT mentions in this thread. But look how hard it is to educate folks about code tags and the search... (4 Replies)
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC.
The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign"
*** Error code 1 )
Anyway I was wondering if... (2 Replies)
Hi folks... I really need some help soon with this issue I am having when I run my script using 'nohup'. Below is a function 'checkReturn' that my script uses to check whether other functions or tasks errored out with a non-zero exit code.
function checkReturn {
if ; then
... (2 Replies)
Hello
On one of our systems (AIX 5) I am seeing (vmstat) paging intermittently
I want to know which process is causing the paging?
I understand that first I would need to find out which process is consuming most memory
1) Is that right?
2) How to find it out?
3) By googling I found... (8 Replies)
I do have a friend who have this script already but lost it. Can you please help to give me a script that can capture the closed_wait on the stack and identify which process using it. I am thinking of using netstat and rmsock. (2 Replies)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
LEARN ABOUT HPUX
coreadm
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)