Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

utmpdump(1) [centos man page]

UTMPDUMP(1)						       System Administration						       UTMPDUMP(1)

NAME
utmpdump - dump UTMP and WTMP files in raw format SYNOPSIS
utmpdump [-frh] [ filename ] DESCRIPTION
utmpdump is a simple program to dump UTMP and WTMP files in raw format, so they can be examined. utmpdump eads from stdin unless a file- name is passed. OPTIONS
-f, --follow Output appended data as the file grows. -r, --reverse Undump, write back edited login information into utmp or wtmp files. -h, --help Print a help text and exit. -V, --version Output version information and exit. NOTES
utmpdump can be useful in cases of corrupted utmp or wtmp entries. It can dump out utmp/wtmp to an ASCII file, then that file can be edited to remove bogus entries and reintegrated, using utmpdump -r < ascii_file > wtmp but be warned as utmpdump was written for debugging purpose only. BUGS
You may not use the option -r as the format for the utmp/wtmp files strongly depends on the input format. This tool was not written for normal use but for debugging. AUTHOR
Michael Krapp SEE ALSO
last(1), w(1), who(1), utmp(5) AVAILABILITY
The utmpdump command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils /util-linux/>. util-linux July 2012 UTMPDUMP(1)

Check Out this Related Man Page

UTMPDUMP(1)                                                        User Commands                                                       UTMPDUMP(1)

NAME
utmpdump - dump UTMP and WTMP files in raw format SYNOPSIS
utmpdump [options] [filename] DESCRIPTION
utmpdump is a simple program to dump UTMP and WTMP files in raw format, so they can be examined. utmpdump reads from stdin unless a file- name is passed. OPTIONS
-f, --follow Output appended data as the file grows. -o, --output file Write command output to file instead of standard output. -r, --reverse Undump, write back edited login information into the utmp or wtmp files. -V, --version Display version information and exit. -h, --help Display help text and exit. NOTES
utmpdump can be useful in cases of corrupted utmp or wtmp entries. It can dump out utmp/wtmp to an ASCII file, which can then be edited to remove bogus entries, and reintegrated using: utmpdump -r < ascii_file > wtmp But be warned, utmpdump was written for debugging purposes only. File formats The only binary version of the utmp(5) is standardised. Textual dumps may become incompatible in future. The version 2.28 was the last one that printed text output using ctime(3) timestamp format. Newer dumps use millisecond precision ISO-8601 timestamp format in UTC-0 timezone. Conversion from former timestamp format can be made to binary, although attempt to do so can lead the timestamps to drift amount of timezone offset. BUGS
You may not use the -r option, as the format for the utmp/wtmp files strongly depends on the input format. This tool was not written for normal use, but for debugging only. AUTHOR
Michael Krapp SEE ALSO
last(1), w(1), who(1), utmp(5) AVAILABILITY
The utmpdump command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils /util-linux/>. util-linux July 2014 UTMPDUMP(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Logs

hi My name is Juan I dont can clear wtmp and similiar files how i do it? thanks (4 Replies)
Discussion started by: jtapia
4 Replies

2. UNIX for Dummies Questions & Answers

batching files

HI, Suppose I have thousand files in one directory and they can keep increasing ie /home/rooh Then I want to create a batch of 100 files and then compress that batch file and ftp them somewhere else. And morever the files in the batch will be moved to somewhere else. Can you please help... (21 Replies)
Discussion started by: rooh
21 Replies

3. UNIX for Dummies Questions & Answers

Looking for a general purpose System Monitor

Does anyone have any scripts or suggestions on a general purpose Unix/Linux monitoring tool? (5 Replies)
Discussion started by: darthur
5 Replies

4. UNIX for Dummies Questions & Answers

a simple qestion

what is the cmd for cleaning up temp files or how do i maintance my system with clean up and optimize it for speed i use mandrake 9.1 linux any help would be use full big thanx amicrawler2000 (3 Replies)
Discussion started by: amicrawler2000
3 Replies

5. Linux

someone's gotta know this!!!

I am still having trouble with "rcp" from linux to win2kserver. What services/ports do I need up and open to get this to work? what files(.rhosts, etc) and entries in these respective files do I need??? The man pages and forums I have seen offer absolutely NO help. This should not be that... (3 Replies)
Discussion started by: mcrouch_2003
3 Replies

6. UNIX for Dummies Questions & Answers

files between any two given dates

Can any one help me in getting all the files between any two given dates.. (8 Replies)
Discussion started by: thanuman
8 Replies

7. Shell Programming and Scripting

searching and editing file contents

Can you please help me to edit parts of a file and write into a new file. ===================================== Suppose I have a huge data dump in a file I need to search for a tag in that and cut few lines around that tag in the file. Is there a way to keep track of line numbers and operate on... (18 Replies)
Discussion started by: jayana
18 Replies

8. Linux

Linux/Unix performance monitoring

This is my first post (yes I'm a newbie).... :D I'm looking for a list of Linux and Unix commands for performance monitoring and a good sight or area on this site that would have man pages and or information on those commands..... Thanks if anyone can take the time to post..... :cool: (14 Replies)
Discussion started by: harrisjl
14 Replies

9. Red Hat

Unable to transfer files from xp to linux

hello to everyone, need your expertise with regards to linux. one of the systems engineer in our project created a ftp account in redhat linux. i'm using xftp for file transfer, the given ftp useraccount were able to login in the ftp browser, but the problem occurs when transfering files from xp... (10 Replies)
Discussion started by: gob23g
10 Replies

10. UNIX for Advanced & Expert Users

Number of files currently opened in linux

Hello, How do i check number of files currently opening in the linux server? Your help is highly appreciated. Thank you ---------- Post updated at 02:43 PM ---------- Previous update was at 02:19 PM ---------- never mind!! I got it. ---------- Post updated at 02:44 PM ---------- Previous... (3 Replies)
Discussion started by: govindts
3 Replies

11. Linux

Add file's date at beginning of every line in file

How would I do that? /Rutger (6 Replies)
Discussion started by: rutgerblom
6 Replies

12. Shell Programming and Scripting

Split a text file into multiple text files?

I have a text file with entries like 1186 5556 90844 7873 7722 12 7890.6 78.52 6679 3455 9867 1127 5642 ..N so many records like this. I want to split this file into multiple files like cluster1.txt, cluster2.txt, cluster3.txt, ..... clusterN.txt. (4 Replies)
Discussion started by: sammy777
4 Replies

13. Shell Programming and Scripting

Redirecting Users to New Server

I am new to shell scripting. I urgently need a script on a backup server that will ping the main server to check if the server is up. If the main server is down- the script should transfer the IP of the main server to the backup server. Once the main server is up again the backup server will... (7 Replies)
Discussion started by: sanmiogun
7 Replies

14. Shell Programming and Scripting

Script to truncate wtmp files

Hi, Does anyone have a script to truncate the wtmp file. I want to move older entries in the wtmp to a new file and move it out of var/adm and shrink the size. (4 Replies)
Discussion started by: ElizabethPJ
4 Replies

15. Shell Programming and Scripting

Combine the two files from two Linux servers into one file

Hi Guys, Can anyone please suggest the commands to combine two files data from two different linux servers . Reminisce (3 Replies)
Discussion started by: reminisce
3 Replies