02-19-2010
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
We have a third party tool in UNIX to kick off a 'file copy' job based on a file existance. If a specific file exists in an UNIX directory, another process should start copy the file into another system for further processing. The issue is, the copy job is starting as soon as the file exists in... (6 Replies)
Discussion started by: kslakshm
6 Replies
2. UNIX for Dummies Questions & Answers
my /etc/.osm file is growing rapidly and logging large amounts of activity. Can anyone tell me what this file is for and what types of information is logged in this file.
Thanks in advance for your help!! (1 Reply)
Discussion started by: golfs4us
1 Replies
3. UNIX for Dummies Questions & Answers
I need to find the file that is growing in the mount. Say yesterday the utilised space was 95% but today that is 96%. How do i find the file that is growing in size. Have checked the same with du/df options but was not able to find much.
Please suggest the best possible option. (3 Replies)
Discussion started by: raman1605
3 Replies
4. HP-UX
how to redirect the growing contents of log file to another file in unix (2 Replies)
Discussion started by: megh
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
A log file which is growing at high speed, don't know the name of it. How to find the respective file?
Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies
6. Solaris
Hi All
I want to extend this file system to 120Gb:
df -h /xyz
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb.
This file system is mounted on:
metastat d80... (1 Reply)
Discussion started by: fretagi
1 Replies
7. UNIX for Advanced & Expert Users
We have a log file which has 16 million row. We want to read all the lines appended from the last time we read using sed command
sed -n '<START_LINE>,<LAST_LINE>p' abc.csv
I can store this last line line so I can give replace that with START_LINE in my next read. The problem is wc -l which... (2 Replies)
Discussion started by: one2connect
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I want to check if one my log file is updating properly, how can I achieve it.
The approach I am trying is to get the file size at two different interval and than comparing it eg :
$ ls -ltr | tail -1 | awk '{print $5}'
20480 (7 Replies)
Discussion started by: mukulverma2408
7 Replies
9. Solaris
Hi,
I currently have a Solaris 10 server with the / root file system using SVM. Here is the information of the current setup.
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 3.0G 635M 2.3G 22% /
bash-3.2# metastat d0
d0: Mirror
... (3 Replies)
Discussion started by: MR.bean
3 Replies
10. AIX
Hi,
Pre data: a server running AIX 6.1 TL9 with 2GB memory and a small amount of CPU, running a very light workload.
I have a server which crashed on lack of memory. After the crash I found - using nmon analyser - that there was something eating up memory. Nmon referred to it as "system".
... (1 Reply)
Discussion started by: trifo75
1 Replies
mdlogd(1M) System Administration Commands mdlogd(1M)
NAME
mdlogd - Solaris Volume Manager daemon
SYNOPSIS
mdlogd
DESCRIPTION
mdlogd implements a simple daemon that watches the system console looking for messages written by the Solaris Volume Manger. When a Solaris
Volume Manager message is detected, mdlogd sends a generic SNMP trap.
To enable traps, you must configure mdlogd into the SNMP framework. See Solaris Volume Manager Administration Guide.
USAGE
mdlogd implements the following SNMP MIB:
SOLARIS-VOLUME-MGR-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises FROM RFC1155-SMI
DisplayString FROM SNMPv2-TC;
-- Sun Private MIB for Solaris Volume Manager
sun OBJECT IDENTIFIER ::= { enterprises 42 }
sunSVM OBJECT IDENTIFIER ::= { sun 104 }
-- this is actually just the string from /dev/log that
-- matches the md: regular expressions.
-- This is an interim SNMP trap generator to provide
-- information until a more complete version is available.
-- this definition is a formalization of the old
-- Solaris DiskSuite mdlogd trap mib.
svmOldTrapString OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This is the matched string that
was obtained from /dev/log."
::= { sunSVM 1 }
-- SVM Compatibility ( error trap )
svmNotice TrapTRAP-TYPE
ENTERPRISE sunSVM
VARIABLES { svmOldTrapString }
DESCRIPTION
"SVM error log trap for NOTICE.
This matches 'NOTICE: md:'"
::= 1
svmWarningTrap TRAP-TYPE
ENTERPRISE sunSVM
VARIABLES { svmOldTrapString }
DESCRIPTION
"SVM error log trap for WARNING..
This matches 'WARNING: md:'"
::= 2
svmPanicTrap TRAP-TYPE
ENTERPRISE sunSVM
VARIABLES { svmOldTrapString }
DESCRIPTION
"SVM error log traps for PANIC..
This matches 'PANIC: md:'"
::= 3
END
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlvma, SUNWlvmr |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
snmpdx(1M), attributes(5)
Solaris Volume Manager Administration Guide
SunOS 5.10 3 Jun 2004 mdlogd(1M)