08-27-2007
you can look at error report. Command is ;
errpt -a
but only the root I thing reboot the system. So may be you'll find the "the root user reboot the system" message in log.But you can rescrict the root login just only for some terminals and change the root password.
9 More Discussions You Might Find Interesting
1. AIX
Hi,
I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that?
Thanks,
Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies
2. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
3. Solaris
Hi All,
I Am facing a problem that Solaris blade server is getting restarted again again in the mean while.
For some continuous time period its works fine but in mean while automatically get restarted. Checked with vendor they told there is no any H/W problem.
Please help me out in to this. (2 Replies)
Discussion started by: sunray
2 Replies
4. UNIX for Dummies Questions & Answers
One of our Host server got restarted unexpectedly and all we got is this.
Not able to guess the root cause behind this .Please help.
Before restart
Oct 17 19:56:06 SERVER1 kernel: suspend: event channel 75
Oct 17 19:56:10 SERVER1 smartd: smartd version 5.38 Copyright (C) 2002-8 Bruce... (3 Replies)
Discussion started by: pinga123
3 Replies
5. UNIX for Advanced & Expert Users
Greetings.
Suppose I have a UNIX OS with automatic-restart (by default) of interrupted system calls,
or I use sigaction() with SA_RESTART flag.
If I am in the middle of a read(fd1, buf1, MAXSIZE) or a write(fd2, buf2, MAXSIZE),
and I am interrupted by a signal, then the system will... (1 Reply)
Discussion started by: aigoia
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
we are in HP-UX MYSERVER B.11.31 U ia64.
Is there any way to see when server restarted for the last time ?
Thank you. (3 Replies)
Discussion started by: big123456
3 Replies
7. Red Hat
hi guys!
I like to know which user has rebooted or shutdown a redhat box ?
the thing is wanted to know the exact user name who has done this action, ofcourse an admin privileged user only can do this. from a list of admin privileged user to find the exact one.
i used to go with last... (4 Replies)
Discussion started by: redhatlbug
4 Replies
8. AIX
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies
9. Shell Programming and Scripting
Hi,
I need to list out the processes which are started/restarted today in my Solaris box. If not possible need to convert the process uptime in minutes or seconds and compare it with a configurable value to list out those process ids for further processing in my scripting.
Can any one guide... (7 Replies)
Discussion started by: ananan
7 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)