Hi All,
Since server is located at remote place so how to identify which user rebooted the server. Is there any way to identify the user.
Thanks in advance,
Reg,
Bache Gowda (1 Reply)
Hi,
I want to know how to find out which user has rebooted the server? I have used last command but it is not giving username though it is showing below output
reboot --------------- date
Regards,
Manoj (5 Replies)
Hi,
How to know which server(Application or webserver) the production link or url is pointing to? Is there any command to get the server IP address?
Thanks in advance. (3 Replies)
In Windows we can check the event viewer for entries 6005,6006,6009 to confirm the system down times, as in when it got down and when it came back up. Is there some similar log files in Solaris/RHEL that I can check the timings and who or what caused the system reboot. I am an absolute newbie. Need... (4 Replies)
hi,
I have been working on Solaris am very new to linux. My concern is as it goes....our server is getting rebooted automatically and I am not able to understand anything from the var log messages. Could anybody help me out in troubleshooting the issue.
2.6.18-128.el5 #1 x86_64 GNU/Linux is... (1 Reply)
Hi
One of our server is showing the uptime 0hr 5mints
there is no log in /var/log/messages
there is no log in command "last"
kernel version is 2.4.9 (RH2.1 AS)
What could be the reason for this. is this issue is related to uptime counter reached max
how to verify this.
Best Regards
KVK (4 Replies)
Hi,
Yesterday one of Red Hat Server 4.2 got rebooted.
I have checked /var/log/messages, but does not find out any serious issue related to peformance / hardware issue.
how to find out why server was rebooted? (1 Reply)
I have been mounting a directory to share with a windows pc. If i reboot the AIX box the mount goes away. How can i make the mount permanent? Here is the command I use to make the mount
exportfs -i -o root=<servername> /path (1 Reply)
Discussion started by: fierfek
1 Replies
LEARN ABOUT OPENSOLARIS
reboot
reboot(3C) Standard C Library Functions reboot(3C)NAME
reboot - reboot system or halt processor
SYNOPSIS
#include <sys/reboot.h>
int reboot(int howto, char *bootargs);
DESCRIPTION
The reboot() function reboots the system. The howto argument specifies the behavior of the system while rebooting and is a mask con-
structed by a bitwise-inclusive-OR of flags from the following list:
RB_AUTOBOOT The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See boot(1M) and
kernel(1M).
RB_HALT The processor is simply halted; no reboot takes place. This option should be used with caution.
RB_ASKNAME Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap.
RB_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device (see
dumpadm(1M)) before rebooting.
Any other howto argument causes the kernel file to boot.
The interpretation of the bootargs argument is platform-dependent.
RETURN VALUES
Upon successful completion, reboot() never returns. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The reboot() function will fail if:
EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process.
SEE ALSO Intro(1M), boot(1M), dumpadm(1M), halt(1M), init(1M), kernel(1M), reboot(1M), uadmin(2)SunOS 5.11 22 Mar 2004 reboot(3C)