11-03-2007
i don't know how messages.0, messages.1 , .2, .3 has created. System is up at least for last one and half months. So, those dates should not be match with reboots. If you see messages.0,1,2,3 size has not changed. Only "messages" size has changed. I m not sure Is only for file 'messages'- the size of /var is increasing?? Or else something hidden.
Could u pls tell me about something 'log rolling'??
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all:
I am new to this board and UNIX programming so please forgive if I don't explain something correctly.
I am trying to write a script to keep track of our links, we link one program written for Client A to Client B's directory.
What we want to do is to keep track of our linked programs... (1 Reply)
Discussion started by: Smurtzy
1 Replies
2. Shell Programming and Scripting
Hi ,
I am relatively new to unix...
Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell..
This is very urgent.
Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies
3. Solaris
i need to increase the size of my /var filesystem but i have no idea how to do it.
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 144799 74952 55377 58% /
/dev/dsk/c0t3d0s6 342183 201079 106894 66% /usr
/proc ... (0 Replies)
Discussion started by: roguekitton
0 Replies
4. Shell Programming and Scripting
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies
5. Solaris
Recently i have attended a telephonic interview. As i dont have work experience in solaris i was not able to deliver correct answer for this question.
Your answer will help for the people like me who is looking to become Solaris System administrator. (4 Replies)
Discussion started by: Sesha
4 Replies
6. Shell Programming and Scripting
I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help!
yy=`date +%Y`
mm=`date +%m`
dd=`date +%d`
echo "Today is : $yy $mm $dd"
#!/usr/bin/ksh
date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies
7. Shell Programming and Scripting
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day.
i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies
9. Shell Programming and Scripting
hello,
I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc.
I need to do it for several years and leap years as well.
What is the best way to do it ?
Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies
LEARN ABOUT OPENSOLARIS
oplhpd
oplhpd(1M) System Administration Commands oplhpd(1M)
NAME
oplhpd - Hot plug daemon for SPARC Enterprise Server line
SYNOPSIS
/usr/platform/SUNW,SPARC-Enterprise/lib/sparcv9/lib/oplhpd
DESCRIPTION
The hot plug daemon for SPARC Enterprise Servers is a daemon process that runs on the SUNW,SPARC-Enterprise family of servers. The daemon
is started by the service management facility (see smf(5)) and communicates with the service processor when hot plug PCI cassettes change
their dynamic reconfiguration state.
The service FMRI for oplhpd is:
svc:/platform/sun4u/oplhpd:default
A domain supports only one running oplhpd process at a time.
ERRORS
OPLHPD uses syslog(3C) to report status and error messages. All of the messages are logged with the LOG_DAEMON facility.
Error messages are logged with the LOG_ERR and LOG_NOTICE priorities, and informational messages are logged with the LOG_DEBUG priority.
The default entries in the /etc/syslog.conf file log all of the OPLHPD error messages to the /var/adm/messages log.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdcsu, SUNWdcsr |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), inetadm(1M), svcadm(1M), syslog(3C), syslog.conf(4), attributes(5), smf(5)
SunOS 5.11 23 May 2006 oplhpd(1M)