06-02-2008
wtmp file
Thanks dukessd and bakunin for your answers.
Thatīs resolve the problem.
Im new in the company and I taking care aix box and there many things to fix and change.
Thanks again
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
When I type last oracle I get dates from Nov 28, 2000 all the way back to the beginning of time it seems. The 11-28-2000 entry states that Oracle is still logged in, but if you type a who, it shows only 1 entry - the currently logged in user (Me as oracle), but I logged in only minutes ago - and... (4 Replies)
Discussion started by: cuppjr
4 Replies
4. 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
5. Programming
Anyone have any idea on how to display the fields for each record stored in the wtmp file using C? Am I correct in thinking that the info stored in wtmp is in binary and that utmpx will be of some help? Being a beginner, I can come up with bits and pieces of what I might need in order to do the... (1 Reply)
Discussion started by: eclapton1
1 Replies
6. 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
7. AIX
Hello, we recently upgraded from AIX 5.2.9 to 5.3.6 and in the process the wtmp file was cleared out. Before the upgrade the system had not been rebooted in a very long time, so i'm curious if the clearing of the file is related to the upgrade or the reboot? If it was related to the reboot is... (2 Replies)
Discussion started by: zuessh
2 Replies
8. AIX
In our operating procedures, if a workstation has a space problem in the /var filesystem, one of the most frequent case we were told is the size of the /var/adm/wtmp file.
Someone once told me it is dangerous to do this. Is it ?
I cannot say for certain that whomever wrote that procedure is... (2 Replies)
Discussion started by: Browser_ice
2 Replies
9. AIX
sorry for being a noob, i am trying to find which user accessed the server at what time and there ip address at first i used who command but the output didn't contain the ip address then i used the last command which provided me with the ip of the users but when i searched i searched and found that... (1 Reply)
Discussion started by: hercules_1010
1 Replies
LEARN ABOUT REDHAT
tkwait
tkwait(n) Tk Built-In Commands tkwait(n)
__________________________________________________________________________________________________________________________________________________
NAME
tkwait - Wait for variable to change or window to be destroyed
SYNOPSIS
tkwait variable name
tkwait visibility name
tkwait window name
_________________________________________________________________
DESCRIPTION
The tkwait command waits for one of several things to happen, then it returns without taking any other actions. The return value is always
an empty string. If the first argument is variable (or any abbreviation of it) then the second argument is the name of a global variable
and the command waits for that variable to be modified. If the first argument is visibility (or any abbreviation of it) then the second
argument is the name of a window and the tkwait command waits for a change in its visibility state (as indicated by the arrival of a Visi-
bilityNotify event). This form is typically used to wait for a newly-created window to appear on the screen before taking some action. If
the first argument is window (or any abbreviation of it) then the second argument is the name of a window and the tkwait command waits for
that window to be destroyed. This form is typically used to wait for a user to finish interacting with a dialog box before using the
result of that interaction.
While the tkwait command is waiting it processes events in the normal fashion, so the application will continue to respond to user interac-
tions. If an event handler invokes tkwait again, the nested call to tkwait must complete before the outer call can complete.
KEYWORDS
variable, visibility, wait, window
Tk tkwait(n)