I would like to find out where the system will display the server was shutdown due to power fluctuation.
I have check the command errpt and alog -o -t boot |more but not getting the requred information.
Code:
alog -o -t boot command is not showing the time
Time: 9 LEDS: 0x538
invoking top level program -- "/usr/sbin/lsdev -C -c driver -s sdlc -t scie -F name"
Time: 9 LEDS: 0x539
return code = 0
****************** no stdout ***********
****************** no stderr ***********
----------------
Time: 9 LEDS: 0x538
invoking top level program -- "/usr/lib/methods/cfgvtdev"
Time: 9 LEDS: 0x539
return code = 0
****************** no stdout ***********
****************** no stderr ***********
----------------
Time: 9 LEDS: 0x538
invoking top level program -- "/etc/methods/load_blockset_ext"
Time: 9 LEDS: 0x539
return code = 0
****************** no stdout ***********
****************** no stderr ***********
----------------
calling savebase
return code = 0
****************** no stdout ***********
****************** no stderr ***********
Configuration time: 9 seconds
Starting AIX Windows Desktop.....
Saving Base Customize Data to boot disk
Starting the sync daemon
Mounting the platform dump file system, /var/adm/ras/platform
Starting the error daemon
System initialization completed.
Starting Multi-user Initialization
Performing auto-varyon of Volume Groups
Activating all paging spaces
0517-075 swapon: Paging device /dev/hd6 is already active.
The current volume is: /dev/hd1
Primary superblock is valid.
The current volume is: /dev/hd10opt
Primary superblock is valid.
Performing all automatic mounts
Multi-user initialization completed
Hi... I want to know directori location and file name (log) after
crontab has been running.. (linux disto gentoo and sun solaris)
Because for long time maybe contain this log file becomes large.
Thanks for your help.
regards,
srilinux (4 Replies)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
1. Can somebody tell me the log file location of HPVM where all the events of guest OS are reported ?
2. And if possible a log file with important events in it ? (1 Reply)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
avahi error message goes to /var/log/messages , how can put avahi to log the error in a file /var/log/avahi-error instead of /var/log/messages (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
LEARN ABOUT OPENSOLARIS
installboot
installboot(1M)installboot(1M)NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)