Greetings!
I have a little script that looks like below, that emails me info on my zfs
pool every day:
--- start script ---
message=`/usr/sbin/zfs list -r tank`
echo Subject: filez ZFS Information\n\n$message | mail fi...@nebol.se
--- end script ---
My problem is that when I view the mail in
Hi Johan,
storing the command output in the variable removes the newlines (or
better to say, it replaces them with spaces).
To get formatted message, you may do something like:
(
echo Subject: filez ZFS Information\n\n;
/usr/sbin/zfs list -r tank
) | mail address
Regards,
Milan Cermak
On Mon, May 3, 2010 at 1:23 AM, A Hettinger ahettin...@prominic.net wrote:
(clippage)
We have just heard these days that a staging server is down and that's why
b138 isn't available. We also heard that it can't be made available on an
external server because of legal reasons. How can an open
Needs quotes around $message
message=`/usr/sbin/zfs list -r tank`
echo Subject: filez ZFS Information\n\n$message | mail filez at nebol dot se
should work.
--
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
On 5/3/2010 5:13 AM, Johan Eliasson wrote:
message=`/usr/sbin/zfs list -r tank`
echo Subject: filez ZFS Information\n\n$message | mail fi...@nebol.se
Impossible to read.. how can I add newlines to the email? I imagine/hope it's a
simple thing for you script-people... :)
/usr/sbin/zfs
Hi.
I'm trying to rebuild a failed disk on my laptop.
But FDISK won't let me change the partition ID !!
# fdisk /dev/rdsk/c4t0d0p0
Total disk size is 60801 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
ольга крыжановская wrote:
Is Garrett D'Amore still at Oracle? His mail post box is over flowing
and I get a DISCARD from the mail server.
He was here on Thursday when I saw him in the Menlo Park office - generally
when someone leaves you'll get User unknown not Mailbox full errors.
--
Try the non-interactive mode of fdisk:
fdisk -W /tmp/partitions.txt /dev/rdsk/c4t0d0p0 # Dump the disk layout
Edit /tmp/partitions.txt, changing the 4th partition from the linux
native (131) value to the Solaris2 value (191).
fdisk -F /tmp/partitions.txt /dev/rdsk/c4t0d0p0 # Apply the new
Hi
I installed snv 134 on a Dell PowerEdge T110. It all went fine but after one
day it crashed. fmadm faulty says
--- -- -
TIMEEVENT-ID MSG-ID SEVERITY
---
On 05/02/10 17:26, Alan Hargreaves wrote:
There were some issues with the email servers over the weekend.
That's a major understatement.
If you sent an oracle employee mail recently (since, oh, friday) and
have no evidence the employee received it, you might want to re-send it now.
Try this:
message=`/usr/sbin/zfs list -r tank`
echo Subject: filez ZFS Information\n\n${message}| mail filez at nebol dot se
That is curly braces around $message in the echo statement.
---ron
--
This message posted from opensolaris.org
___
Try:
= cut =
message=$( /usr/sbin/zfs list -r tank )
{
# header
printf Subject: filez ZFS Information\n\n
# message body
cat ${message}
} | mail fi...@nebol.se
= cut =
Olga
On Mon, May 3, 2010 at 8:40 PM, Ron Halstead rdhalst...@gmail.com wrote:
Try this:
Dennis,
Would you mind sharing how you were able to bfu to snv_138? Isn't acr part of
the closed bits, which is no longer available?
Thanks
--
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
Andre Lue wrote:
Would you mind sharing how you were able to bfu to snv_138? Isn't acr part of
the closed bits, which is no longer available?
The closed bits are still available - acr was deleted as part of the move
to IPS packaging, as noted in the flag day at:
I'll wait for the hate messages after I post this.
I personally don't get the Solaris/OpenSolaris distributions. Sure, I
understand when Sun said that OpenSolaris was open source (although most of it
is released under binary license agreements), and that OpenSolaris is
supposed to be the
On Mon, May 3, 2010 at 10:36 PM, bsd mascotgr...@yahoo.com wrote:
I'll wait for the hate messages after I post this.
I personally don't get the Solaris/OpenSolaris distributions. Sure, I
understand when Sun said that OpenSolaris was open source (although most of
it is released under binary
2010/5/3 Ignacio Marambio Catán darkjo...@gmail.com
On Mon, May 3, 2010 at 10:36 PM, bsd mascotgr...@yahoo.com wrote:
I'll wait for the hate messages after I post this.
I personally don't get the Solaris/OpenSolaris distributions. Sure, I
understand when Sun said that OpenSolaris was
new problem for the developers I think.
1. OS 2010.03 developer, has an install problem. Goes into a continuous loop.
there is a temp work around , edit the kernel line, from graphics to text
in the
grub.
2. to make a permanent change must edit the /rpool/boot/grub/menu.lst
(I think
On Mon, 03 May 2010 18:36:29 PDT, bsd mascotgr...@yahoo.com wrote:
I'll wait for the hate messages after I post this.
I personally don't get the Solaris/OpenSolaris distributions. Sure, I
understand when Sun said that OpenSolaris was open source (although most
of
it is released under binary
19 matches
Mail list logo