ok heres a question, :confused: well obviously
i have here my old old motorola system V/88
in my /usr/adm folder i have a file called kernelcore which is 16mb (the computer has 16mb ram too), we believe this is the contents of our ram when the system crashed back in feb last year!
Is it save... (2 Replies)
I wish to clean a text file of the following characters
1/2, 1/4, o (degrees)
I cant display these characters. I have tried ALT+189 etc (my terminal emulator is set to ASCII). How do I display the above ? I am using HP UX 10. (5 Replies)
please help me, what can i do with the bountiful amount of core files our systems seem to have on occassional basis?? how do I analyze it and determine why the core file was dumped by the application that dumped it. the operating systems we use are solaris, DG-UX and linux red hat systems. (5 Replies)
Say I have a log file called is there a way to clean out certain files in this log by or when I go to VI this file it tells me and
I am guessing this means the file has become to large to append with VI so I was wondering if there was command with some argument to clean this out?
Thanks ... (6 Replies)
Solaris v5.6
What log files should be checked out as part of your sys admin daily routine?
I've printed out my syslog.conf file, and looked in /var/log and found authlog, syslog, and POPlog. I know of /var/adm/messages.
What others should I be looking for?
I know of the "find" command. I... (8 Replies)
Hi,
I am facing problems while trying to clean a log file(Means making its file Size zero).
I am not the owner of this file. From the command line, I can clean it by becoming a Sudo. (">logfilename").
I want to automate it using perl. But inside a script, sudo somehow doesnt seem to work. ... (1 Reply)
Hi,
I am trying to use "find / -name core -print | xargs rm -f " ,but it would delete all core files including some core files we do not want to delete.
I search privious posts,someone said "To check what a core file came from - use the file command"
I used man page to search file command,but... (9 Replies)
I am trying to cleanup a directory with around 4000 files, and using the below command to delete all .gz files older than 60 days, I am having the same issue of arguments being too long. is there a way i can use the same command to do what I intend to do.
find /opt/et/logs/Archive/*.log.*.gz... (4 Replies)
Good morning, i need your help please
By searching some of the largest files i found some core files that take up much space
This is the command:
find ./ -type f -name core -exec file {} \;
Output:
./xptol/tel/tasacion/CIERR/exe/core: ELF 64-bit MSB core file SPARCV9 Version 1, from... (2 Replies)
Discussion started by: alexcol
2 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)