03-17-2009
The input is given as /Agent even if directory is not existing..
but it should still check for size
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I'm using sun solaris. Using df -h I have the following:
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d2 12G 7.1G 4.6G 61% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% ... (5 Replies)
Discussion started by: HSN
5 Replies
2. UNIX for Advanced & Expert Users
I am not very good at UNIX and seek help here. I tried to install Oracle 10g on a 64 bit Sun sparc machine with solaris 10 as OS. After I installed solaris 10, the current file system on the machine looks like this:
/dev/dsk/c0t0d0s0 5104758 4854293 199418 97% /
/devices ... (2 Replies)
Discussion started by: duke0001
2 Replies
3. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
4. Programming
How to get free disk space size in C/C++ program( Solaris system)?
Is there any standard function or system function? Just like "df" or
"getdfree" in Linux. (4 Replies)
Discussion started by: yidu
4 Replies
5. Solaris
Hi All,
My Solaris 8 firewall server is getting full on the / filesystem. I don't know which one should I delete. I think there's no more to delete on the file like logs or temp file.
Does someone knows about deleting a safe file (or folder) on FS like /usr, /opt, /platform, /kernel, /sbin?... (7 Replies)
Discussion started by: itik
7 Replies
6. Solaris
I have 2 hard disks ,one hard disk(40gb) completely for windows Os,and the other(120gb) for solaris Os.
In the second hard disk.I have utilised around 10gb for the solaris installation and also partitioned with the available 10gb space for the solaris x86 OS.
Now i need to utilise the... (8 Replies)
Discussion started by: jayaprakash
8 Replies
7. Solaris
I got 4 hd each of 75GB. The os sun solaris 10 is installed on disk 0 and is almost full. see at df -k shows the following
$ df -k
Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf
/dev/dsk/c1t0d0s0 6856805 6388140 400097 95% /
/devices 0 ... (3 Replies)
Discussion started by: j2me
3 Replies
8. Solaris
hi,
I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine.
thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies
9. Solaris
While getting the total disk space in solaris machine using df -k command, i am getting the same disk info for every user available in that system.
Is there any way to remove it.
Filesystem 1024-blocks Used Available Capacity Mounted on
rpool/ROOT/solaris 573898752... (3 Replies)
Discussion started by: prasankn
3 Replies
LEARN ABOUT DEBIAN
log::agent::driver::default
Agent::Driver::Default(3pm) User Contributed Perl Documentation Agent::Driver::Default(3pm)
NAME
Log::Agent::Driver::Default - default logging driver for Log::Agent
SYNOPSIS
# Implicit use
use Log::Agent;
logconfig(-prefix => "prefix"); # optional
# Explicit use
use Log::Agent;
require Log::Agent::Driver::Default;
my $driver = Log::Agent::Driver::Default->make("prefix");
logconfig(-driver => $driver);
DESCRIPTION
The default logging driver remaps the logxxx() operations to their default Perl counterpart. For instance, logerr() will issue a warn() and
logwarn() will call warn() with a clear "WARNING: " emphasis (to distinguish between the two calls).
The only routine of interest here is the creation routine:
make($prefix)
Create a Log::Agent::Driver::Default driver whose prefix string will be $prefix. When no prefix is configured, the first letter of each
logged string will be uppercased.
CHANNELS
The "error", "output" and "debug" channels all go to STDERR.
BUGS
If logdie() is used within an eval(), the string you will get in $@ will be prefixed. It's not really a bug, simply that wrapping a code
into eval() and parsing $@ is poor's man exception handling which shows its limit here: since the programmer using logdie() cannot foresee
which driver will be used, the returned string cannot be determined precisely. Morality: use die() if you mean it, and document the string
as an exception.
AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
Log::Agent::Driver(3), Log::Agent(3).
perl v5.10.0 2009-07-23 Agent::Driver::Default(3pm)