01-19-2008
Hi gera_sachin125,
Before running any commands always check your man pages for backround & detailed information;
example :
<snip start>
bash-2.05$ man more
Reformatting page. Please Wait... done
User Commands more(1)
NAME
more, page - browse or page through a text file
<snip end>
HELP WITH YOUR INVESTIGATIONS
This may help you along, your log file for system messages are located in /var/adm;
as root user or with root permission, do;
root@Hostname# more /var/adm/messages
(This will provide you with system information of reboots and other activites which have taken place on the host system)
root@hostname# tail -50 /var/adm/sulogs
(This will provide you with the last 50 lines of the entries in /var/adm/sulog, all users who have logged in as root, or logged in as a standard user & has become root)
I hope this is of help
Jnike
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi all,
Just started holidays (ya!) and Murphy's Law has kicked in already (doh!).
I'm looking after (when at work) two SCO 5.0.5 Systems running on Netfinity 5500 Servers (Model # 8662-3RY). Every once and a while the production server just reboot's itself. There is no mention of a cause... (8 Replies)
Discussion started by: Cameron
8 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Can someone advise me how to find the last system rebooted date(s)? Thanx N Regards,
Hush (2 Replies)
Discussion started by: hush
2 Replies
3. UNIX for Dummies Questions & Answers
Hi folks,
I tried to load a copy of redhat from CD to an HP6640C. The system reads the first disk and offers me a choice to use the graphic load or the text load. I selct either one and the system seems to start reading the disk then it reboots.
It does not give me any errors and except that... (0 Replies)
Discussion started by: Alkazjazz
0 Replies
4. AIX
Hi Guys,
I would like to know is there a way to find out who or which id performed the system reboot?Uptime only shows the last date the system was reboot but no userid or ip add.Need to investigate something due to some reboot issues.
Thanks
Giri (1 Reply)
Discussion started by: giriplug
1 Replies
5. Solaris
dear all,
I have 2 T2000 with solaris 10 and oracle 10g installed on it. these two servers are rebooted by itself.
could anyone help me investigate the cause.
the message log is attached
thanx, (3 Replies)
Discussion started by: fsmadi
3 Replies
6. Solaris
I'm not an advanced user by any strech, that being said here is my problem:
I ran "reboot" on a sun blade 2500
When loading up it runs through the usual routine, checking disks, filesystems and then it locks up
after the following message:
*****
starting rpc services: rpcbind... (6 Replies)
Discussion started by: eyukins
6 Replies
7. Linux
Hi,
Once again I came to get rescued in a situation where one of my workstations has this ierd thing that "xinetd" won't start at reboot or shutdown. I have done the follwoing but no change in results.
chkconfig --list xinetd
xinetd 0:off 1:off 2:on 3:on 4:on 5:on ... (2 Replies)
Discussion started by: harjitsingh
2 Replies
8. Solaris
Hi all,
i want to know the procedure reboot the server through console if the system is completely down.Please help me if anybody knows this. I would really thanfull to all.
regards
Krishna Murthy (1 Reply)
Discussion started by: murthy76
1 Replies
9. Solaris
we are using sun solaris sunfire v445, yesterday improperly shutdown the server
and now while restart the system show a screen which is blank and the hard disc drive indicator light is also not glowing. (10 Replies)
Discussion started by: mrdb
10 Replies
10. Shell Programming and Scripting
Hi,
I have the following script that looks for a certain file and then executes the start.sh file. How can i make this process to kick when the box reboots. Please advice
if ; then
/u01/Essbase/Oracle//Middleware/user_projects/epmsystem7/bin/start.sh;
rm... (8 Replies)
Discussion started by: thinkingeye
8 Replies
reboot(8) System Manager's Manual reboot(8)
NAME
reboot - Restarts the machine
SYNOPSIS
/usr/sbin/reboot [-dlnq]
DESCRIPTION
When the system is running and multiple users are logged in, use the shutdown -r command to perform a reboot operation. If no users are
logged in, use the reboot command.
The reboot command normally stops all running processes, syncs the disks, logs the reboot, and writes a shutdown entry in the login
accounting file, /var/adm/wtmp.
The reboot command uses the sync call to synchronize the disks, and to perform other shutdown activities such as resynchronizing the hard-
ware time-of-day clock. After these activities, the system reboots. By default, the system starts and the file systems are automatically
checked. If the start-up activities are successful, the system comes up in the default run-level.
You must have root privileges to use this command. Using the -n flag can result in file system damage.
FLAGS
Generates a crash dump of the system before halting it. Can be used with any of the other flags. Does not log the reboot using syslog
Does not sync the disks or log the reboot using syslog Performs a quick reboot without first shutting down running processes; does not log
the reboot using syslog
EXAMPLES
To enable the default reboot action, enter: reboot This command causes the system to stop all running processes, sync the disks, log the
shutdown, and perform other routine shutdown and reboot activities. To shut down the system without logging the reboot, enter: reboot -l
This command shuts down the system and performs all shutdown and reboot activities, except logging the shutdown. To reboot the system
abruptly, enter: reboot -q This command reboots the system abruptly without shutting down running processes.
FILES
Specifies the command path Specifies the login accounting file Specifies the path of the syslog daemon
RELATED INFORMATION
Commands: fsck(8), halt(8), init(8), savecore(8) shutdown(8), syslogd(8)
Functions: reboot(2), sync(2), syslog(3) delim off
reboot(8)