02-22-2001
You can probably go edit the files listed above and just restart utmpd. I have never tried this though. Whats specific OS are you running?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would loke to read the WTMP file. This is a binary file in the /var/logs directory. Is there any utility which will convert this binary file to ASCII format? (1 Reply)
Discussion started by: pgold1
1 Replies
2. UNIX for Dummies Questions & Answers
Here's a usefull perl script to trim the wtmp file,
in case it got too big, which happens sometimes, or got curropted (which also happens often).
You could learn from here how to parse the wtmp file...
but of course for just reading its content always simply use "last" like Neo said....
... (0 Replies)
Discussion started by: me2unix
0 Replies
3. UNIX for Dummies Questions & Answers
Hi, is it ok if i delete wtmp on HPUX 11 under /var/adm
It is filling up that filesystem
Cheers (2 Replies)
Discussion started by: dsharples
2 Replies
4. UNIX for Dummies Questions & Answers
I have AIX5.1
I have been trying to learn how to truncate the /var/adm/wtmp file.
I have seen several things on google actually but don't quite understand. I also searched your forums but couldn't find it.
one says this ">/var/adm/wtmp
Is that all I do?
I have a seperate question also. I was... (1 Reply)
Discussion started by: rocker40
1 Replies
5. AIX
Hello everyone
I have a problem with the file wtmp that is on /var/adm
This file was not on this directory (adm).
I try creating a new file with the correct rights (644) and owner (adm:adm)
but It doesnt work.
If I type the last command i get this
last
ora10g ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
6. Shell Programming and Scripting
Hi there,
Is there a way i can reset the date on my unix terminal to yesterday's date?
date
Tue Jul 1 14:18:21 GMT 2008
Please let me know.
JAK (7 Replies)
Discussion started by: jakSun8
7 Replies
7. AIX
Hello,
Is there a difference between the following commands besides consider the file permissions?
/usr/sbin/acct/nulladm /var/adm/wtmp
>/var/adm/wtmp
cat /dev/null >/var/adm/wtmp
Today I tried the second command and it worked... (2 Replies)
Discussion started by: x_adm
2 Replies
8. Red Hat
Hi,
Can anybody explain wtmp output fields?
A dir was created at 7:11pm and I wanted to find out who was logged in at that time but as you can see there is no ip address listed when I run utmpdump against the wtmp file.....
R,
D. (1 Reply)
Discussion started by: Duffs22
1 Replies
9. AIX
Anyone got experience where wtmp logs get truncated everyday? Though sulog, failedlogin and lastlog seems to be fine.
The server uptime is 18 days running on AIX 5.3. Sorry this seems to be a generic questions but never really encountered before. (6 Replies)
Discussion started by: depam
6 Replies
LEARN ABOUT SUNOS
restart
asadmin-hadbm-restart(1ASS) User Commands asadmin-hadbm-restart(1ASS)
NAME
asadmin-hadbm-restart, hadbm-restart, restart - restarts the database
SYNOPSIS
restart [--no-rolling] [database_name]
Use the restart command to restart the database. Once the database is restarted, the database should return to the previous state. If the
database name is specified, the database should exist. If a database is not identified, the default database is restarted. The default
database is hadb.
In interactive mode, the restart command prompts for a confirmation before restarting the database.
OPTIONS
-g --no-rolling restarts all nodes in HADB at once with possible loss of service.
OPERANDS
database_name name of the database. The default database is hadb.
Example 1: Using restart with a database identified
hadbm> restart --rolling mydatabase
This command will restart the named database.
Type "yes" or "y" to confirm this operation,
anything else to cancel:y
Database successfully restarted
EXIT STATUS
105 database is not running
106 database could not be restarted
107 database could not return to a previous state
asadmin-hadbm-status(1ASS), asadmin-hadbm-nodestatus(1ASS), asadmin-hadbm-list(1ASS), asadmin-hadbm-addnodes(1ASS), asadmin-hadbm-
clear(1ASS), asadmin-hadbm-refragment(1ASS), asadmin-hadbm-delete(1ASS), asadmin-hadbm-start(1ASS), asadmin-hadbm-stop(1ASS)
Sun ONE Application Server 7 Enterprise Edition Early Access 7 March 2003 asadmin-hadbm-restart(1ASS)