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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)