Sponsored Content
Operating Systems AIX How to Check Whether Core File complete or truncated Post 302071540 by DogDay on Friday 21st of April 2006 11:54:41 AM
Old 04-21-2006
sysdumpdev -L

this will show you information on the previous dump.

-----
sysdumpdev [-P] [-p Device | -s Device]
sysdumpdev [-l | -q | -e | -z | -r Host:Path | -p Device | -s Device | -L]
sysdumpdev [-d | -D] Directory
sysdumpdev [-c | -C]
sysdumpdev [-k | -K]
sysdumpdev [-i | -I]

Change the primary and secondary dump device designations
in a running system.

-d Directory Specify the directory where the dump is copied to at
boot time. If the copy fails the system continues to boot.
-D Directory Specify the directory where the dump is copied to at
boot time. If the copy fails then a menu is displayed to
allow user to copy the dump.
-e Estimate the size of the dump (in bytes) for the
current running system.
-k Requires the key mode switch to be in the service
position before a dump can be forced with the reset
button or the dump key sequences.
-K The reset button or the dump key sequences will force
a dump with the key in the normal position, or on a
machine without a key mode switch.
-l List the current dump device designations.
-L Display statistical information about the previous dump.
-p Device Change the primary dump device to the specified
device temporarily.
-P Make the dump device specified by -p or -s flags permanent.
Can only be used with -p or -s flags.
-q Suppress any error messages that are written
to stdout.
-r Host:Path Free the space used by the remote dump file.
-s Device Change the secondary dump device to the specified
device temporarily.
-z Write out to stdout the string containing the size
of the dump in bytes and the name of the dump device
if a new dump is present.
-c Turns OFF compression for next dump.
-C Turns ON compression for next dump.
-i Indicates that sysdumpdev was called from an IBM function.
-I Resets the indications of -i option.

If no flag is specified, the permanent dump device designations are used.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

some process writin file - check if complete

Hi folks... some process is writing a file.... as soon as the process starts the file comes there, and its growin.. now i in another script want to ftp the file. i don't know if the file is complete or not. the process which writes the file is some other application and hence can't... (0 Replies)
Discussion started by: sade
0 Replies

2. HP-UX

How to Check Whether Core File complete or truncated

hi I have a core file from customer and i am looking for a way to know whether its complete or truncated? I have a procedure to check core file on solaris , is there any way to know whether core is truncated on HP-UX? from khan (1 Reply)
Discussion started by: khan_069
1 Replies

3. Shell Programming and Scripting

File gets truncated after using sed

May be this is a known issue. When I am using sed to change a string (globally) in multiple files, it is doing its job while truncating the file. So the xml files are losing some of the tags Any work around? Appreciate your help guys...... Here is the code..... #!/bin/sh for files in... (2 Replies)
Discussion started by: corleone
2 Replies

4. UNIX for Dummies Questions & Answers

BASH complete-filename & menu-complete together

Hi, Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab? Right now this is what I have in my .bashrc: bind "set show-all-if-ambiguous on" bind \\C-o:menu-complete This allows... (0 Replies)
Discussion started by: Mithu
0 Replies

5. UNIX for Dummies Questions & Answers

File gets truncated

Hi Guys, I have a master script file. That calls the other script files. The sub script files append some of the data to the log file. Once the master script completes one sub script execution and returns to execute other sub script that appends to the same log file. the log file gets... (2 Replies)
Discussion started by: Swapna173
2 Replies

6. UNIX for Dummies Questions & Answers

SFTP script - poll every min to check file complete before transfering

Hello, Before I do a GET remote file, I need to ensure the remote file is a complete file i.e. whatever process is saving the file to the remote folder should complete the transfer before I go GET it through my script. So I'm thinking I need to poll the remote file every minute or so to... (4 Replies)
Discussion started by: srineel
4 Replies

7. Shell Programming and Scripting

KSH - Text from input file truncated while converting it to excel

Dear Members, I am using the attached script to convert a input file delimited by '|' to excel. However, while processing the attribute change_reason, the whole content of the text under change_reason is not displayed completely in the cell in excel. It is truncated after only first few words.... (1 Reply)
Discussion started by: Yoodit
1 Replies

8. Shell Programming and Scripting

How to find complete file names in UNIX if i know only extention of file

Suppose I have a file which contains other file names with some extention . text file containt gdsds sd8ef g/f/temp_temp.sum yyeta t/unix.sum ghfp hrwer h/y/test.text.dat if then.... I want to get the complete file names, like for above file I should get output as temp_temp.sum... (4 Replies)
Discussion started by: panchal
4 Replies

9. Shell Programming and Scripting

Unix Scripting : Sort a Portion of a File and not the complete file

Need to sort a portion of a file in a Alphabetical Order. Example : The user adam is not sorted and the user should get sorted. I don't want the complete file to get sorted. Currently All_users.txt contains the following lines. ############## # ARS USERS ############## mike, Mike... (6 Replies)
Discussion started by: evrurs
6 Replies
QUOTARESTORE(8) 					    BSD System Manager's Manual 					   QUOTARESTORE(8)

NAME
quotarestore -- restore dumped quota information to a file system volume SYNOPSIS
quotarestore [-d] file-system [dump-file] DESCRIPTION
The quotarestore program restores dumped quota information to a file system. The file dump-file should be in the format produced with quotadump(8). The quotas, expiration times, and configured grace times listed in the dump file are loaded into the named file system. The file-system argument should be a file or directory on the (mounted) file system, not a device special file. If the -d option is given, quota entries on the file system that are not mentioned in the dump file will be deleted. Otherwise, they are left alone. If the dump-file is not specified, standard input is used. SEE ALSO
quota(1), libquota(3), fstab(5), edquota(8), quotadump(8) HISTORY
The quotarestore command appeared in NetBSD 6.0. BSD
February 11, 2012 BSD
All times are GMT -4. The time now is 04:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy