01-19-2006
Here is some more cstm stuff. Tested on an old 10.20 of our own...
from the cstm prompt, run logtool...
runu logtool
You should be at a logtool prompt.
sl
This will switch to a new log, as a side effect, you learn the name of the old log. "log2.raw.cur will be renamed to log2.raw" or something like that. So enter log2.raw when asked after you run:
sr
this will give you a summary of the errors in the log file you select. Then it prompts you with a misleading prompt. All this command can do is redisplay the summary...get out of this command and format the log file:
fr
You will pick the directory, it will pick the name. (It will remember that name for the next command.) Another summary and another chance to reprint the summary...get out. Now display the formatted log with fl:
fl
finally you see the errors.
10 More Discussions You Might Find Interesting
1. IP Networking
I installed sco unix v 5.0.5 in the hp server lc 2000 HD size
27gb & ram 256 , used micro focus cobol for unix , aplication
system bank , the problem is the system hung 2 or 3 times a day
will you pls. give me the solution.
thanks
talib alsaadi
:( (2 Replies)
Discussion started by: talib alsaadi
2 Replies
2. HP-UX
Here's a difficult one for you.
I am on HPUX 11.0. I have a hung port, it is stuck in FIN_WAIT_2. Short of rebooting, how can I terminate the connection the system thinks still exists? I found a script online that uses adb but have not been able to get it to work. I am still open to using... (6 Replies)
Discussion started by: TioTony
6 Replies
3. UNIX for Advanced & Expert Users
Hi Guys,
Just wondering if anyone of you have been in a situation where you end up having around 100 close_wait connections and seems to me those connections are locking up resources/processes in the server so unless the server is rebooted those processes won't be released by the close_wait... (3 Replies)
Discussion started by: hariza
3 Replies
4. Shell Programming and Scripting
A coworker has a shell script that runs from a scheduler at the 3am. The shell script runs sqlplus passing in a sql statement, which generate a file. This is done 21 times for 21 different sql statements. Recently, one of the sqlplus processes got hung.
Is there a way to monitor how long the... (2 Replies)
Discussion started by: prismtx
2 Replies
5. Programming
Hi friends
I am Administrator for a system works with uinx OS but, many times I get messages from server console inform me about Subroutine is Hanging
so what can I do to reset this Subroutine?
Note: always when I got that I restart the server but I think that is not professional solution. (3 Replies)
Discussion started by: bintaleb
3 Replies
6. HP-UX
Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies
7. SuSE
Hi all
We've had an issue over the weekend when one of the SUSE Linux Enterprise Server 11 hung and had to be rebooted. The thing is that I got the ticket alert for a FS exceeding its usage at about 22:41:49 PM on 23 March. I checked the dmesg, the messages log and the boot.msg but all I found... (1 Reply)
Discussion started by: hedkandi
1 Replies
8. Linux
Hi everyone,
Our Red Hat server hung yesterday, and I managed to log into the console and see the following message:
RIP: 0010: mwait_idle_with_hints+0x66/
0x67
RSP: 0018:ffffffff80457f40 EFLAGS: 00000046
RAX: 0000000000000010 RBX: ffff810c20075910 RCX: 0000000000000001
RDX:... (6 Replies)
Discussion started by: badoshi
6 Replies
9. Shell Programming and Scripting
I wish to monitor if my Tomcat process if Running, Hung, or Shutdown.
I cannot use any third party monitoring tools so i decided to use one of these to test if the tomcat server is responding or not .
1. nslookup
2. telnet
3. ps
The reason I do not use wget / curl is because it will... (2 Replies)
Discussion started by: mohtashims
2 Replies
10. Infrastructure Monitoring
Hi,
We have Solaris-10 running on VMware (x86). It is being monitored by HP Openview. Sometimes when this server hungs, while ping still works, HPOpenview can't alert that server is down (which is actually unresponsive).
First symptom we see is, login failure. It will ask user name and after... (7 Replies)
Discussion started by: solaris_1977
7 Replies
VLOCK(1) General Commands Manual VLOCK(1)
NAME
vlock - Virtual Console lock program
SYNOPSIS
vlock
vlock [ -a,--all ] [ -c,--current ] [ -h,--help ] [ -v,--version ]
DESCRIPTION
vlock is a program to lock one or more sessions on the Linux console. This is especially useful for Linux machines which have multiple
users with access to the console. One user may lock his or her session(s) while still allowing other users to use the system on other vir-
tual consoles. If desired, the entire console may be locked and virtual console switching disabled.
By default, only the current VC (virtual console) is locked. With the -a,-all option all VCs are locked. The locked VCs cannot be
unlocked without the invoker's password or the root password. The root password will always be able to unlock any or all sessions. And,
for the paranoid, vlock makes it a trying experience for those attempting to guess the password, so unauthorized access to session(s) is
highly unlikely.
Please note that it is entirely possible to completely lock yourself out of the console with the -a,--all option if you cannot remember
your password! Unless you are able to kill vlock by logging in remotely via a serial terminal or network, a hard reset is the only method
of ``unlocking'' the display.
vlock works for console sessions primarily. However, there is support for trying to lock non-console sessions as well, but that support
has not been well tested.
OPTIONS
-a,--all
Lock all console sessions and disable VC switching.
-c,--current
Lock the current session (this is the default).
-h,--help
Print a brief help message.
-v,--version
Print the version number of vlock.
AUTHOR
Michael K. Johnson <johnsonm@redhat.com>
Linux User's Manual 16 May 1996 VLOCK(1)