Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dump-utmp(8) [centos man page]

DUMP-UTMP(8)						     GNU Accounting Utilities						      DUMP-UTMP(8)

NAME
dump-utmp - print an utmp file in human-readable format. SYNOPSIS
dump-acct [-r|--reverse] [-R|--raw] [-n|--num recs] [-h|--help] [ files] DESCRIPTION
dump-acct filename prints a list of all logins. This list is usually written in /var/log/wtmp. All fields are separated by vertical line. Fields are: user name, tty, type, id, pid, hostaddr, host, time. OPTIONS
-h, --help Prints the usage string and default locations of system files to standard output and exits. -n, --num recs Number of lines to print. -r, --reverse Start printing from last records. -R, --raw Print raw records, not human-readable. FILES
wtmp The system wide login record file. See wtmp(5) for further details. SEE ALSO
login(1), wtmp(5), init(8), sa(8). AUTHOR
The GNU accounting utilities were written by Noel Cragg <noel@gnu.ai.mit.edu>. This manual page was written by Ognyan Kulev <ogi@fmi.uni-sofia.bg> and updated by Daniel Baumann <daniel@debian.org> for the Debian project (but may be used by others). 6.5.1 2006-04-22 DUMP-UTMP(8)

Check Out this Related Man Page

DUMP-ACCT(8)						     GNU Accounting Utilities						      DUMP-ACCT(8)

NAME
dump-acct - print an acct file in human-readable format. SYNOPSIS
dump-acct [-r|--reverse] [-R|--raw] [--format] version] [--byteswap] [--ahz] hertz] [-n|--num recs] [-h|--help] [ files] DESCRIPTION
dump-acct filename prints a list of all executed processes. This list is written by the kernel which must be compiled with BSD process accounting enabled (Debian kernel image have it already enabled). It must be started with accton(5). Note that on Debian systems, this is ensured via the init script /etc/init.d/acct. All fields are separated by vertical line. Fields are: command, version, user time, system time, effective time, uid, gid, memory, io, pid, ppid, time. User, system and effective times are ticks per second. One tick is usually 1/50 of a second. The time field shows the start time of the process. The --raw switch, as well as the --format, --byteswap, and --ahz can be used as a handy format converter. OPTIONS
-h, --help Prints the usage string and default locations of system files to standard output and exits. -n, --num recs Number of lines to print. -r, --reverse Start printing from last records. -R, --raw Print raw records, not human-readable. --format version Use specified format version to display records. --byteswap Swap bytes endianness when reading records. --ahz Use specified units of time to display data from other kernel versions and architectures. FILES
acct The system wide process accounting file. See acct(5) for further details. SEE ALSO
acct(5), ac(8). AUTHOR
The GNU accounting utilities were written by Noel Cragg <noel@gnu.ai.mit.edu>. This manual page was written by Ognyan Kulev <ogi@fmi.uni-sofia.bg> and updated by Daniel Baumann <daniel@debian.org> and Mathieu Trudel <mathieu.tl@gmail.com> for the Debian project (but may be used by others). 6.4pre1 2006-04-22 DUMP-ACCT(8)
Man Page

11 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Soloaris 8/ufsdump error

I'm running a process to tape that periodically gives an error similar to the following DUMP: bread: dev_seek error: Error 0 DUMP: Warning - block 1126006886 is beyond the end of `/dev/rdsk/c2t5d0s6' Note: I get multiple messages like this where the block number changes. The device listed... (2 Replies)
Discussion started by: jgordon
2 Replies

2. UNIX for Dummies Questions & Answers

ufsdump/ufsrestore problem

I ran ufsdump as follows............... # ufsdump 9ucf /dev/rmt/0n /dev/dsk/c1t9d0s3 DUMP: Writing 63 Kilobyte records DUMP: Date of this level 9 dump: Tue 23 Oct 2007 02:19:40 PM PDT DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c1t9d0s3 (gambler:/apps) to... (2 Replies)
Discussion started by: shorty
2 Replies

3. UNIX for Dummies Questions & Answers

ufsdump issue

I ran this dump (as root) and got the following............. # ufsdump 0f /dev/rmt/0n / DUMP: Writing 32 Kilobyte records DUMP: Date of this level 0 dump: Tue 11 Dec 2007 06:07:35 AM PST DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c2t1d0s0 (gambler:/) to... (1 Reply)
Discussion started by: shorty
1 Replies

4. Shell Programming and Scripting

Adding spaces to record

Hi, I want to print spaces in a trailer record which is a single command. namely the unix command which i already have recs=`wc -l $TargetFileDir/myfile.txt|cut -c1-9`;export recs;echo 'PCPC.DXDINPT.FC0.INPUTFLE.PASS'`date +%Y%m%d``printf '%015d\n' $recs` >> $TargetFileDir/myfile1.txt I... (3 Replies)
Discussion started by: nvenkat010
3 Replies

5. Solaris

how do you login as sms-svc on a system controller

hi, i have got a SUN F15K DOMAIN TAKING HARDWARE CONFIGURATION DUMP. DUMP FILE: -D/VA message i wnat to logon as sms-svc on to the controller to check what's happening can you please guide me how do i login as sms-svc on the controller and check thank you (1 Reply)
Discussion started by: vinix
1 Replies

6. HP-UX

MirrorDisk UX: Should DUMP Be Mirrored?

Follwing up on what I was working on yesterday, I noticed that at this thread, someone was suggesting that you WOULDN'T want to mirror DUMP. When I boot with my current secondary disk (because I didn't mirror DUMP) I get an error indicating that DUMP isn't there. Why wouldn't I want to mirror... (1 Reply)
Discussion started by: deckard
1 Replies

7. HP-UX

Can not login to CDE -- only Fail Safe Session permitted

Hi, I am a hobbyist with a very old machine I have been trying to get up and running. I have an HP 9000/C240 with 1G of RAM and 3-8.5G HD. It is configured with 1G SWAP/DUMP. Currently only one drive is in use via LVM. I have not gotten around to creating more volumes just yet. It is running... (11 Replies)
Discussion started by: Dirk_
11 Replies

8. Solaris

Problem with ufsdump

Hi All Please help I am trying to dump /var to other disk with below command # ufsdump 0uf /backup /var and i am getting below error DUMP: NEEDS ATTENTION: Cannot open 'sun1/dump' . Do you want to retry the open? ( "Yes" or "No" ) and it's not moving ahead. What am i am... (6 Replies)
Discussion started by: kumarmani
6 Replies

9. Shell Programming and Scripting

Making wtmp files readable one at a time

New Unix user/scripter here. Been trying to solve a problem for two days now with no luck. Hoping someone here has an answer. Essentially I have a list of wtmp files which I have decompressed and copied to a temporary directory. Using the following command I can turn them into a file than can... (4 Replies)
Discussion started by: Stryfe16
4 Replies

10. Solaris

Problems in reading CORE DUMP file with dbx

I am new to UNIX. My Application is using c (.so files) and Java code. My application crashes and CORE DUMP file is generated ,which is huge. Now I want to view the CORE DUMP file to debug the application using dbx without starting process again. By only using the CORE DUMP file and dbx ,can i... (1 Reply)
Discussion started by: satde
1 Replies

11. Shell Programming and Scripting

Delete records in reverse order

Hi all, i have dynamic file 'xyz.txt', records always look likes below format ... 0000021 RET 31-MAR-1984 FAP 0000021 DTA 14-JAN-2003 CNV 0000021 DTA 25-MAR-2012 DTA 0000021 DTA 26-MAR-2012 DTA ################################################# 0000021 DTA ... (4 Replies)
Discussion started by: krupasindhu18
4 Replies

Featured Tech Videos